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
1da9f1dc
Commit
1da9f1dc
authored
11 months ago
by
Jan Ebert
Browse files
Options
Downloads
Patches
Plain Diff
Describe interactive use
parent
6055c2d3
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
+21
-0
21 additions, 0 deletions
README.md
with
21 additions
and
0 deletions
README.md
+
21
−
0
View file @
1da9f1dc
...
@@ -178,6 +178,27 @@ pass your desired arguments to the Python script to `sbatch`, like so:
...
@@ -178,6 +178,27 @@ pass your desired arguments to the Python script to `sbatch`, like so:
sbatch run.sbatch
--train-num-workers
=
8
--valid-num-workers
=
3
sbatch run.sbatch
--train-num-workers
=
8
--valid-num-workers
=
3
```
```
### Interactive use
After the environment has been created by executing
`bash set_up.sh`
once on a login node, it can also be used interactively by activating
it. This activation has to be done in each new terminal session; it
does not persist between login sessions:
```
shell
source
activate.sh
# Now do whatever you want, for example use `python` interactively.
```
Keep in mind that you should not be doing heavy work on login nodes.
Additionally, some libraries that require certain hardware such as
GPUs may not work on a login node. However, you can also create an
interactive session on a compute node using
`srun --pty`
You can deactivate the Python environment using
`deactivate`
, however,
the previous module environment from the module system will not be
restored.
### Warnings upon PyTorch Distributed initialization
### Warnings upon PyTorch Distributed initialization
You can safely ignore warnings like the following:
You can safely ignore warnings like the following:
...
...
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