Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dcc:itsol:whisper:scripts [2025/02/03 08:47] – updated dependencies giulio | dcc:itsol:whisper:scripts [2025/05/09 14:04] (current) – changed "" to <code></code> giulio | ||
---|---|---|---|
Line 5: | Line 5: | ||
In order to run the script, you will first have to create it. Open your text editor of choice and copy the highlighted code below into the new file. Save the file with the name: | In order to run the script, you will first have to create it. Open your text editor of choice and copy the highlighted code below into the new file. Save the file with the name: | ||
+ | |||
+ | **Note:** The PyTorch module needed to install Whisper has changed due to an update on the dependencies of Whisper. The module displayed in the screenshots is the previous version. Please make sure to **use the version of the module you find in the text**. | ||
Line 11: | Line 13: | ||
---- | ---- | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | #SBATCH --time=08: | ||
+ | #SBATCH --gpus-per-node=1 | ||
+ | #SBATCH --mem=16000 | ||
- | ''# | + | module load PyTorch/ |
- | + | source $HOME/ | |
- | ''# | + | whisper $HOME/ |
- | + | </ | |
- | ''# | + | |
- | + | ||
- | ''# | + | |
- | + | ||
- | \\ | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
---- | ---- | ||
Line 103: | Line 98: | ||
++++ Click to display the script | | ++++ Click to display the script | | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | #SBATCH --time=08: | ||
+ | #SBATCH --gpus-per-node=1 | ||
+ | #SBATCH --mem=16000 | ||
- | ''# | + | module load PyTorch/ |
- | + | source $HOME/ | |
- | ''# | + | whisper $HOME/ |
- | + | </ | |
- | ''# | + | |
- | + | ||
- | ''# | + | |
- | + | ||
- | \\ | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
++++ | ++++ | ||
\\ | \\ | ||
Line 131: | Line 119: | ||
++++ Click to display the script | | ++++ Click to display the script | | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | #SBATCH --time=08: | ||
+ | #SBATCH --gpus-per-node=1 | ||
+ | #SBATCH --mem=16000 | ||
- | ''# | + | module load PyTorch/ |
- | + | source $HOME/ | |
- | ''# | + | whisper $HOME/ |
- | + | </ | |
- | ''# | + | |
- | + | ||
- | ''# | + | |
- | + | ||
- | \\ | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
++++ | ++++ | ||