Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
|
@@ -66,8 +66,6 @@ RUN ln -sf /usr/bin/python3.10 /usr/bin/python3 && \
|
|
| 66 |
python3 -m pip install --upgrade pip
|
| 67 |
|
| 68 |
|
| 69 |
-
RUN curl -L https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 -o bazel && \
|
| 70 |
-
chmod +x bazel
|
| 71 |
|
| 72 |
# ---------------- PyTorch cu128 (pinned) ----------------
|
| 73 |
RUN pip install --index-url https://download.pytorch.org/whl/cu128 \
|
|
@@ -97,9 +95,6 @@ RUN pip install --upgrade bitsandbytes
|
|
| 97 |
RUN pip install --upgrade pip setuptools wheel
|
| 98 |
|
| 99 |
RUN pip install nvidia-pyindex
|
| 100 |
-
RUN bazel build -c opt --config=cuda --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0 tensorflow/tools/pip_package:build_pip_package
|
| 101 |
-
RUN bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/pip --gpu --project_name tensorflow
|
| 102 |
-
RUN pip install --no-cache-dir --upgrade /tmp/pip/tensorflow-*.whl
|
| 103 |
|
| 104 |
|
| 105 |
|
|
|
|
| 66 |
python3 -m pip install --upgrade pip
|
| 67 |
|
| 68 |
|
|
|
|
|
|
|
| 69 |
|
| 70 |
# ---------------- PyTorch cu128 (pinned) ----------------
|
| 71 |
RUN pip install --index-url https://download.pytorch.org/whl/cu128 \
|
|
|
|
| 95 |
RUN pip install --upgrade pip setuptools wheel
|
| 96 |
|
| 97 |
RUN pip install nvidia-pyindex
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
|
| 100 |
|