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
e3e70f95
Unverified
Commit
e3e70f95
authored
Apr 26, 2021
by
Amine Abdaoui
Committed by
GitHub
Apr 26, 2021
Browse files
docs(examples): fix link to TPU launcher script (#11427)
parent
d7633a4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/README.md
examples/pytorch/README.md
+1
-1
No files found.
examples/pytorch/README.md
View file @
e3e70f95
...
@@ -119,7 +119,7 @@ When using PyTorch, we support TPUs thanks to `pytorch/xla`. For more context an
...
@@ -119,7 +119,7 @@ When using PyTorch, we support TPUs thanks to `pytorch/xla`. For more context an
very detailed
[
pytorch/xla README
](
https://github.com/pytorch/xla/blob/master/README.md
)
.
very detailed
[
pytorch/xla README
](
https://github.com/pytorch/xla/blob/master/README.md
)
.
In this repo, we provide a very simple launcher script named
In this repo, we provide a very simple launcher script named
[
xla_spawn.py
](
https://github.com/huggingface/transformers/tree/master/examples/xla_spawn.py
)
that lets you run our
[
xla_spawn.py
](
https://github.com/huggingface/transformers/tree/master/examples/
pytorch/
xla_spawn.py
)
that lets you run our
example scripts on multiple TPU cores without any boilerplate. Just pass a
`--num_cores`
flag to this script, then your
example scripts on multiple TPU cores without any boilerplate. Just pass a
`--num_cores`
flag to this script, then your
regular training script with its arguments (this is similar to the
`torch.distributed.launch`
helper for
regular training script with its arguments (this is similar to the
`torch.distributed.launch`
helper for
`torch.distributed`
):
`torch.distributed`
):
...
...
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