Skip to content

Commit

Permalink
Revert "updated code with enabling codeflare-sdk"
Browse files Browse the repository at this point in the history
This reverts commit 1f57851.
  • Loading branch information
bhagyashrigai committed Jul 17, 2024
1 parent c7224a1 commit cf607b2
Show file tree
Hide file tree
Showing 4 changed files with 346 additions and 647 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ cuda-jupyter-datascience-ubi9-python-3.9: cuda-jupyter-minimal-ubi9-python-3.9
cuda-jupyter-tensorflow-ubi9-python-3.9: cuda-jupyter-datascience-ubi9-python-3.9
$(call image,$@,jupyter/tensorflow/ubi9-python-3.9,$<)

# Build and push jupyter-pytorch-ubi9-python-3.9 image to the registry
.PHONY: cuda-jupyter-pytorch-ubi9-python-3.9
cuda-jupyter-pytorch-ubi9-python-3.9: cuda-jupyter-datascience-ubi9-python-3.9
$(call image,$@,jupyter/pytorch/ubi9-python-3.9,$<)

# Build and push jupyter-pytorch-ubi9-python-3.9 image to the registry
.PHONY: jupyter-pytorch-ubi9-python-3.9
jupyter-pytorch-ubi9-python-3.9: jupyter-datascience-ubi9-python-3.9
Expand Down
6 changes: 0 additions & 6 deletions jupyter/pytorch/ubi9-python-3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ LABEL name="odh-notebook-jupyter-pytorch-ubi9-python-3.9" \
# Install Python packages and Jupyterlab extensions from Pipfile.lock
COPY Pipfile.lock ./

# Switch to root user
USER root

RUN echo "Installing softwares and packages" && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
source "$HOME/.cargo/env" && \
Expand All @@ -31,6 +28,3 @@ RUN echo "Installing softwares and packages" && \
# Fix permissions to support pip in Openshift environments
RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \
fix-permissions /opt/app-root -P

# Switch back to non-root user
USER 1001
5 changes: 0 additions & 5 deletions jupyter/pytorch/ubi9-python-3.9/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ name = "localpi"
tensorboard = "~=2.16.2"
torch = {version = "2.2.1a0", index = "localpi"}
torchvision = {version = "0.17.*", index = "localpi"}
ray = {version = "2.7.0.*", index="localpi"}
py-spy = {version = "0.3.14.*", index="localpi"}
pyarrow = {version = "15.0.1.dev0+g5ce6ff434.d20240426", index="localpi"}

# Datascience and useful extensions
boto3 = "~=1.34.50"
kafka-python = "~=2.0.2"
Expand All @@ -35,7 +31,6 @@ scikit-learn = "~=1.4.0"
scipy = "~=1.12.0"
skl2onnx = "~=1.16.0"
onnxconverter-common = "~=1.13.0" # Required for skl2onnx, as upgraded version is not compatible with protobuf
codeflare-sdk = "~=0.16.0"

# DB connectors
pymongo = "~=4.6.2"
Expand Down
Loading

0 comments on commit cf607b2

Please sign in to comment.