Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
cluster:gpuwork [2025/03/27 09:20] – bjorn | cluster:gpuwork [2025/03/27 09:27] (current) – bjorn | ||
---|---|---|---|
Line 12: | Line 12: | ||
- [[https:// | - [[https:// | ||
\\ | \\ | ||
- | == An example setup == | + | == An example setup for Torch == |
+ | * python3 -m venv myproject | ||
+ | * source myproject/ | ||
+ | * pip install torch wheel | ||
\\ | \\ | ||
+ | Please make sure your script can communicate with the GPU, do a test-script before running your project\\ | ||
====Useful commands==== | ====Useful commands==== | ||
^cmd^Descr^ | ^cmd^Descr^ | ||
Line 22: | Line 26: | ||
|srun|Run job interactively| | |srun|Run job interactively| | ||
|scancel < | |scancel < | ||
+ | |nvidia-smi|info about GPU| | ||
\\ | \\ | ||
The template script file looks like this\\ | The template script file looks like this\\ |