Skip to content

Commit

Permalink
version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yfukai committed Jan 18, 2024
1 parent a39260f commit 521aba2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
testdata/*-dfp.tiff
testdata/*-ffp.tiff
.python-version
*.sw*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
# Installing necessary packages

# Installing basicpy and other pip packages
RUN pip --no-cache-dir install basicpy==1.0.1
RUN pip --no-cache-dir install git+https://github.com/peng-lab/BaSiCpy@dev

# Copy script and test run
COPY ./main.py /opt/
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
VERSION=0.3.0

docker buildx create --use
docker buildx build \
--push \
--build-arg BASE_IMAGE="yfukai/conda-jax:latest" \
Expand Down
2 changes: 1 addition & 1 deletion jax_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG MINIFORGE_NAME="Miniforge3"
ARG MINIFORGE_VERSION="22.9.0-3"
ARG BASE_IMAGE="ubuntu:20.04"
ARG JAX_VERSION_EXTRA="cpu"
ARG JAX_VERSION="0.3.22"
ARG JAX_VERSION="0.4.23"

FROM ${BASE_IMAGE}
#https://stackoverflow.com/questions/44438637/arg-substitution-in-run-command-not-working-for-dockerfile
Expand Down
4 changes: 2 additions & 2 deletions jax_image/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
JAX_VERSION=0.4.23

docker buildx create --use
docker buildx build \
--push \
--platform linux/amd64,linux/arm64/v8 \
Expand All @@ -11,9 +12,8 @@ docker buildx build \
docker buildx build \
--push \
--platform linux/amd64 \
--build-arg BASE_IMAGE="nvidia/cuda:11.5.2-cudnn8-devel-ubuntu20.04" \
--build-arg JAX_VERSION="$JAX_VERSION" \
--build-arg JAX_VERSION_EXTRA="cuda11_cudnn82" \
--build-arg JAX_VERSION_EXTRA="cuda12_pip" \
-t yfukai/conda-jax:$JAX_VERSION-cuda \
-t yfukai/conda-jax:latest-cuda \
"."

0 comments on commit 521aba2

Please sign in to comment.