Both sides previous revision Previous revision Next revision | Previous revision |
dcc:itsol:whisper:setup [2025/06/03 07:58] – added info about webportal giulio | dcc:itsol:whisper:setup [2025/06/03 11:22] (current) – Minor changes alba |
---|
* [[https://wiki.hpc.rug.nl/habrok/connecting_to_the_system/windows|Connect to HPC with the Mobaxterm client]] | * [[https://wiki.hpc.rug.nl/habrok/connecting_to_the_system/windows|Connect to HPC with the Mobaxterm client]] |
| |
**IMPORTANT:** If you cannot install software on the machine you work on, [[https://wiki.hpc.rug.nl/habrok/connecting_to_the_system/web_portal|connect to Habrok using the web portal]], then find the ''Terminal'' in the ''Files'' menu. The next steps are the same for both Mobaxterm and the Habrok web portal. | **IMPORTANT:** If you cannot install software on the machine you work on, [[https://wiki.hpc.rug.nl/habrok/connecting_to_the_system/web_portal|connect to the Hábrók HPC Cluster Web Portal]], then find the ''Terminal'' in the ''Files'' menu. The next steps are the same for both Mobaxterm and the Habrok web portal. |
| |
{{ :dcc:itsol:whisper:insta_portal.png?direct&900 | }} | {{ :dcc:itsol:whisper:insta_portal.png?direct&900 | }} |
**Steps to follow to install whisper**: | **Steps to follow to install whisper**: |
| |
* First, you need to load a module that whisper will need to run. To do, copy-paste the line highlighted in grey below into the terminal, as shown in the figure. | * First, you need to load a module that Whisper will need to run. To do, copy-paste the line highlighted in grey below into the terminal, as shown in the figure. |
* <code> module load PyTorch/2.1.2-foss-2023a-CUDA-12.1.1</code> {{ :dcc:itsol:whisper:insta_4.png?direct&800 | }} | * <code> module load PyTorch/2.1.2-foss-2023a-CUDA-12.1.1</code> {{ :dcc:itsol:whisper:insta_4.png?direct&800 | }} |
* Then you need to create the virtual environment where you will install whisper. Copy-paste the line below into the terminal. | * Then you need to create the virtual environment where you will install whisper. Copy-paste the line below into the terminal. |
* Now, activate the newly created environment, by copy-pasting the line below. | * Now, activate the newly created environment, by copy-pasting the line below. |
* <code> source $HOME/.envs/whisper/bin/activate </code> {{ :dcc:itsol:whisper:insta_6.png?direct&800 | }} | * <code> source $HOME/.envs/whisper/bin/activate </code> {{ :dcc:itsol:whisper:insta_6.png?direct&800 | }} |
* Before you install whisper, you need to make sure to have the latest version of some programs. Copy the two lines below separately into the terminal, as shown in the figures: | * Before you install Whisper, you need to make sure to have the latest version of some programs. Copy the two lines below separately into the terminal, as shown in the figures: |
* <code> pip install --upgrade pip </code> {{ :dcc:itsol:whisper:insta_7.png?direct&800 | }} | * <code> pip install --upgrade pip </code> {{ :dcc:itsol:whisper:insta_7.png?direct&800 | }} |
* <code> pip install --upgrade wheel </code> {{ :dcc:itsol:whisper:insta_8.png?direct&800 | }} | * <code> pip install --upgrade wheel </code> {{ :dcc:itsol:whisper:insta_8.png?direct&800 | }} |
* Finally, you can install whisper by running the command below: | * Finally, you can install Whisper by running the command below: |
* <code> pip install git+https://github.com/openai/whisper.git </code> {{ :dcc:itsol:whisper:insta_9.png?direct&800 | }} | * <code> pip install git+https://github.com/openai/whisper.git </code> {{ :dcc:itsol:whisper:insta_9.png?direct&800 | }} |
* If everything went well, this is the screen you expect to see. {{ :dcc:itsol:whisper:insta_10.png?direct&800 | }} | * If everything went well, this is the screen you expect to see. {{ :dcc:itsol:whisper:insta_10.png?direct&800 | }} |
* As a final step, type <code> deactivate </code> into the terminal, then press "enter". After this initial installation, you won't be needing to manually activate the whisper environment anymore. {{ :dcc:itsol:whisper:insta_11.png?direct&800 | }} | * As a final step, type <code> deactivate </code> into the terminal, then press "enter". After this initial installation, you won't need to manually activate the whisper environment anymore. {{ :dcc:itsol:whisper:insta_11.png?direct&800 | }} |
* If you wish to fully close the environment and also close the HPC session directly, type <code> exit </code> instead of <code> deactivate </code>. | * If you wish to fully close the environment and also close the HPC session directly, type <code> exit </code> instead of <code> deactivate </code>. |
| |