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
993553b2
Unverified
Commit
993553b2
authored
May 13, 2022
by
Yih-Dar
Committed by
GitHub
May 13, 2022
Browse files
fix --gpus option for docker (#17235)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
38043d84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+3
-3
No files found.
.github/workflows/self-scheduled.yml
View file @
993553b2
...
...
@@ -126,7 +126,7 @@ jobs:
runs-on
:
${{ matrix.machines }}
container
:
image
:
huggingface/transformers-all-latest-gpu
options
:
--gpus
0
--shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
options
:
--gpus
all
--shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
needs
:
setup
steps
:
-
name
:
Echo folder ${{ matrix.folders }}
...
...
@@ -208,7 +208,7 @@ jobs:
runs-on
:
${{ matrix.machines }}
container
:
image
:
huggingface/transformers-pytorch-gpu
options
:
--gpus
0
--shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
options
:
--gpus
all
--shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
needs
:
setup
steps
:
# Set machine type, i.e. `single-gpu` or `multi-gpu`. Here we just remove `-docker`.
...
...
@@ -252,7 +252,7 @@ jobs:
runs-on
:
${{ matrix.machines }}
container
:
image
:
huggingface/transformers-tensorflow-gpu
options
:
--gpus
0
--shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
options
:
--gpus
all
--shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
needs
:
setup
steps
:
# Set machine type, i.e. `single-gpu` or `multi-gpu`. Here we just remove `-docker`.
...
...
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