This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cs501r_f2016:lab14 [2017/11/21 21:56] wingated |
cs501r_f2016:lab14 [2021/06/30 23:42] (current) |
||
|---|---|---|---|
| Line 33: | Line 33: | ||
| Some starter code is available for download via Dropbox: | Some starter code is available for download via Dropbox: | ||
| - | [[https://www.dropbox.com/s/ab8zrqfuq9dkqry/nmt_scaffold.py?dl=0|nmt_scaffold.py]] | + | [[https://www.dropbox.com/s/g967xqzkmydatxd/nmt_scaffold_v2.py?dl=0|nmt_scaffold_v2.py]] |
| ---- | ---- | ||
| Line 173: | Line 173: | ||
| </code> | </code> | ||
| + | ---- | ||
| + | ====Pytorch on the supercomputer:==== | ||
| + | |||
| + | The folks at the supercomputer center have installed `pytorch` and `torchvision`. | ||
| + | To use pytorch, you'll need to use the following modules in your SLURM file: | ||
| + | |||
| + | <code bash> | ||
| + | # these are dependencies: | ||
| + | module load cuda/8.0 cudnn/6.0_8.0 | ||
| + | module load python/27 | ||
| + | |||
| + | module load python-pytorch python-torchvision | ||
| + | |||
| + | </code> | ||
| + | |||
| + | If you need more python libraries you can install them to your home directory with: | ||
| + | |||
| + | <code bash> | ||
| + | pip install --user libraryname | ||
| + | </code> | ||