Changes between Version 12 and Version 13 of en/UsingGPU
- Timestamp:
- Feb 2, 2025, 9:37:18 PM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/UsingGPU
v12 v13 14 14 1. `ssh ...` to one of the servers (e.g. `ssh apollo`). If you are not currently inside the faculty network, you must [#ConnectingtoFIMUNIVPN connect to the FI MUNI VPN] first. 15 15 1. `cd /nlp/projekty/...` to your project directory 16 1. setup !HuggingFace cache as detailed [#ChangethecachelocationofHuggingFaceData setsbelow]16 1. setup !HuggingFace cache as detailed [#ChangethecachelocationofHuggingFaceData below] 17 17 1. find available GPUs: run `gpustat` or `nvidia-smi` 18 18 2. `export CUDA_DEVICE_ORDER=PCI_BUS_ID` … … 35 35 * Type in the secondary password again 36 36 37 == Change the cache location of !HuggingFace Data sets==37 == Change the cache location of !HuggingFace Data == 38 38 39 39 Keep your home directory small, there are quotas active. 40 40 41 41 42 * You need to change the download location of datasets. The default location is in your home and it can easily get full42 * You need to change the download location of !HuggingFace models, datasets, .... The default location is in your home and it can easily get full 43 43 * prepare a cache directory in your project 44 44 {{{ 45 45 mkdir /nlp/projekty/.../hf_cache 46 46 }}} 47 * To change the HF Datasetslocation run:47 * To change the HF cache location run: 48 48 {{{ 49 export HF_ DATASETS_CACHE="/nlp/projekty/.../hf_cache"49 export HF_HOME="/nlp/projekty/.../hf_cache" 50 50 }}} 51 51 * To make this change permanent so you don't need to type it every time you enter the server, add it to your `.bashrc` file in your home directory