Skip to content

Commit

Permalink
final commit on this branch for now. Will be updated later
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionshiv committed Oct 15, 2024
1 parent 4a5e3bd commit a7b57b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .inputrc
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,6 @@ set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
set enable-bracketed-paste
8 changes: 4 additions & 4 deletions build-local-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ echo "tag=$tag"
echo "image=$image"
#switched to buildx build
# Build docker image for this container.
docker buildx build --no-cache -t ghcr.io/pharmbio/$image:$tag \
--build-arg BASE_IMAGE=tensorflow/tensorflow:${tensorflow_version}-jupyter \
-f ./docker/env.cpu.Dockerfile . || exit 1
# docker buildx build --no-cache -t ghcr.io/pharmbio/$image:$tag \
# --build-arg BASE_IMAGE=tensorflow/tensorflow:${tensorflow_version}-jupyter \
# -f ./docker/env.cpu.Dockerfile . || exit 1
docker buildx build --no-cache -t ghcr.io/pharmbio/$image:${tag}-gpu \
--build-arg BASE_IMAGE=tensorflow/tensorflow:${tensorflow_version}-gpu-jupyter \
-f docker/env.cuda.Dockerfile . || exit 1

#docker push "ghcr.io/pharmbio/$image:$tag-devel"
docker push "ghcr.io/pharmbio/$image:$tag-gpu"
4 changes: 2 additions & 2 deletions docker/env.cuda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip && \
# RUN echo "Step 2: Continuing after breakpoint"

RUN <<EOF
python3 -m pip install --no-cache-dir --index-url https://download.pytorch.org/whl/cu121 torch==2.4.1 \
python3 -m pip install --no-cache-dir --index-url https://download.pytorch.org/whl/cu121 torch \
torchvision \
torchaudio;
torchaudio \
EOF


Expand Down

0 comments on commit a7b57b7

Please sign in to comment.