Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
656d41ab
Unverified
Commit
656d41ab
authored
Apr 13, 2023
by
Yih-Dar
Committed by
GitHub
Apr 13, 2023
Browse files
Remove `DS_BUILD_AIO=1` (#22741)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
32b08742
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
.github/workflows/self-nightly-scheduled.yml
.github/workflows/self-nightly-scheduled.yml
+1
-1
.github/workflows/self-past.yml
.github/workflows/self-past.yml
+1
-1
.github/workflows/self-push.yml
.github/workflows/self-push.yml
+2
-2
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+1
-1
docker/transformers-past-gpu/Dockerfile
docker/transformers-past-gpu/Dockerfile
+1
-1
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
+1
-1
docker/transformers-pytorch-deepspeed-nightly-gpu/Dockerfile
docker/transformers-pytorch-deepspeed-nightly-gpu/Dockerfile
+1
-1
No files found.
.github/workflows/self-nightly-scheduled.yml
View file @
656d41ab
...
...
@@ -227,7 +227,7 @@ jobs:
python3 -m pip uninstall -y deepspeed
rm -rf DeepSpeed
git clone https://github.com/microsoft/DeepSpeed && cd DeepSpeed && rm -rf build
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
-
name
:
NVIDIA-SMI
run
:
|
...
...
.github/workflows/self-past.yml
View file @
656d41ab
...
...
@@ -253,7 +253,7 @@ jobs:
python3 -m pip uninstall -y deepspeed
rm -rf DeepSpeed
git clone https://github.com/microsoft/DeepSpeed && cd DeepSpeed && rm -rf build
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
-
name
:
NVIDIA-SMI
run
:
|
...
...
.github/workflows/self-push.yml
View file @
656d41ab
...
...
@@ -381,7 +381,7 @@ jobs:
working-directory
:
/workspace
run
:
|
python3 -m pip uninstall -y deepspeed
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install deepspeed --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install deepspeed --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
-
name
:
NVIDIA-SMI
run
:
|
...
...
@@ -467,7 +467,7 @@ jobs:
working-directory
:
/workspace
run
:
|
python3 -m pip uninstall -y deepspeed
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install deepspeed --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install deepspeed --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
-
name
:
NVIDIA-SMI
run
:
|
...
...
.github/workflows/self-scheduled.yml
View file @
656d41ab
...
...
@@ -369,7 +369,7 @@ jobs:
working-directory
:
/workspace
run
:
|
python3 -m pip uninstall -y deepspeed
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install deepspeed --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install deepspeed --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
-
name
:
NVIDIA-SMI
run
:
|
...
...
docker/transformers-past-gpu/Dockerfile
View file @
656d41ab
...
...
@@ -47,7 +47,7 @@ RUN python3 -m pip uninstall -y deepspeed
# This has to be run inside the GPU VMs running the tests. (So far, it fails here due to GPU checks during compilation.)
# Issue: https://github.com/microsoft/DeepSpeed/issues/2010
# RUN git clone https://github.com/microsoft/DeepSpeed && cd DeepSpeed && rm -rf build && \
# DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check 2>&1
# DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check 2>&1
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
...
...
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
View file @
656d41ab
...
...
@@ -36,7 +36,7 @@ RUN python3 -m pip uninstall -y deepspeed
# This has to be run (again) inside the GPU VMs running the tests.
# The installation works here, but some tests fail, if we don't pre-build deepspeed again in the VMs running the tests.
# TODO: Find out why test fail.
RUN
DS_BUILD_CPU_ADAM
=
1
DS_BUILD_FUSED_ADAM
=
1
DS_BUILD_AIO
=
1
DS_BUILD_UTILS
=
1 python3
-m
pip
install
deepspeed
--global-option
=
"build_ext"
--global-option
=
"-j8"
--no-cache
-v
--disable-pip-version-check
2>&1
RUN
DS_BUILD_CPU_ADAM
=
1
DS_BUILD_FUSED_ADAM
=
1
DS_BUILD_UTILS
=
1 python3
-m
pip
install
deepspeed
--global-option
=
"build_ext"
--global-option
=
"-j8"
--no-cache
-v
--disable-pip-version-check
2>&1
# 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.
...
...
docker/transformers-pytorch-deepspeed-nightly-gpu/Dockerfile
View file @
656d41ab
...
...
@@ -29,7 +29,7 @@ RUN python3 -m pip uninstall -y deepspeed
# This has to be run inside the GPU VMs running the tests. (So far, it fails here due to GPU checks during compilation.)
# Issue: https://github.com/microsoft/DeepSpeed/issues/2010
# RUN git clone https://github.com/microsoft/DeepSpeed && cd DeepSpeed && rm -rf build && \
# DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1
DS_BUILD_AIO=1
DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check 2>&1
# DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check 2>&1
## For `torchdynamo` tests
## (see https://github.com/huggingface/transformers/pull/17765)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment