"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "a865b62e07c88f4139379fea99bace5ac3f400d2"
Unverified Commit 07d79520 authored by Ilyas Moutawwakil's avatar Ilyas Moutawwakil Committed by GitHub
Browse files

Disable AMD memory benchmarks (#29871)

* remove py3nvml to skip amd memory benchmarks

* uninstall pynvml from docker images
parent ef609958
...@@ -34,3 +34,6 @@ RUN python3 -m pip uninstall -y tensorflow flax ...@@ -34,3 +34,6 @@ RUN python3 -m pip uninstall -y tensorflow flax
# When installing in editable mode, `transformers` is not recognized as a package. # When installing in editable mode, `transformers` is not recognized as a package.
# this line must be added in order for python to be aware of transformers. # this line must be added in order for python to be aware of transformers.
RUN cd transformers && python3 setup.py develop RUN cd transformers && python3 setup.py develop
# Remove nvml as it is not compatible with ROCm
RUN python3 -m pip uninstall py3nvml pynvml -y
...@@ -43,3 +43,6 @@ RUN python3 -m pip install --no-cache-dir ./transformers[accelerate,testing,sent ...@@ -43,3 +43,6 @@ RUN python3 -m pip install --no-cache-dir ./transformers[accelerate,testing,sent
RUN cd transformers && python3 setup.py develop RUN cd transformers && python3 setup.py develop
RUN python3 -c "from deepspeed.launcher.runner import main" RUN python3 -c "from deepspeed.launcher.runner import main"
# Remove nvml as it is not compatible with ROCm
RUN python3 -m pip uninstall py3nvml pynvml -y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment