Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyTorch at JSC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simulation and Data Lab Applied Machine Learning
PyTorch at JSC
Commits
c0bff5b5
Commit
c0bff5b5
authored
6 months ago
by
Jan Ebert
Browse files
Options
Downloads
Patches
Plain Diff
Link to `torchrun_jsc` repo
parent
3ca91f8a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+10
-8
10 additions, 8 deletions
README.md
with
10 additions
and
8 deletions
README.md
+
10
−
8
View file @
c0bff5b5
...
...
@@ -154,14 +154,16 @@ handling ([see here for more
information
](
https://github.com/pytorch/pytorch/issues/73656
)
).
Thankfully, there are options to fix these issues:
1.
Use wrappers, such as
`torchrun_jsc`
. <!-- For PyTorch ≥2, this
wrapper is minimally intrusive and does not change underlying
PyTorch code. Instead, it adds some extra argument configurations
to solve the aforementioned issues. For PyTorch
<
2,
it
instead
--
>
It modifies the underlying code on-the-fly to fix the issues.
`torchrun_jsc`
/
`python -m torchrun_jsc`
is a drop-in replacement
for
`torchrun`
/
`python -m torch.distributed.run`
and can be
installed via
`pip`
:
`python -m pip install torchrun_jsc`
.
1.
Use wrappers, such as
[
`torchrun_jsc`
](
https://github.com/HelmholtzAI-FZJ/torchrun_jsc
)
.
<!-- For PyTorch ≥2, this wrapper is minimally intrusive and does
not change underlying PyTorch code. Instead, it adds some extra
argument configurations to solve the aforementioned issues. For
PyTorch
<
2,
it
instead
--
>
It modifies the underlying code
on-the-fly to fix the issues.
`torchrun_jsc`
/
`python -m
torchrun_jsc`
is a drop-in replacement for
`torchrun`
/
`python -m
torch.distributed.run`
and can be installed via
`pip`
:
`python -m
pip install torchrun_jsc`
.
2.
Use PyTorch as provided by the module system. We include patches to
ensure that the errors in
`torchrun`
are fixed and that it reliably
works on our system.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment