-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6410050
commit 674c644
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Install | ||
# Unsloth.ai | ||
On GPSC7 | ||
|
||
* Set proxies(http and https) and correct `tmp` directories in `.profile` | ||
* `nrc_profile.sh -c` : To update the profile | ||
* Created user directory and set symlinks for `.cache` and `.conda` | ||
* `conda create --name unsloth_env python=3.10` | ||
* `source activate unsloth_env` : I didn't load moniconda module because that was introducing python 3.9 in the system path and I was not able to remove it. | ||
* `conda install pytorch-cuda=12.1 pytorch cudatoolkit xformers -c pytorch -c nvidia -c xformers` | ||
* `pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"` | ||
* `pip install --no-deps trl peft accelerate bitsandbytes` | ||
* I still got torch not found error, even though Step 7 was successful, so I just reinstalled it and then it worked. | ||
* Launch jupyter in a job with `partition=gpu_a100`, `account=nrc_ict__gpu_a100` and `qos=low` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters