minor edits on notes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# CUDA 12.4 Install
|
# CUDA 12.4 Install
|
||||||
|
|
||||||
> https://unknowndba.blogspot.com/2024/04/cuda-getting-started-on-wsl.html (@\_freddenis\_, 2024)
|
> <https://unknowndba.blogspot.com/2024/04/cuda-getting-started-on-wsl.html> (@\_freddenis\_, 2024)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# get md5sums
|
# get md5sums
|
||||||
@@ -49,10 +49,9 @@ make
|
|||||||
./devicequery
|
./devicequery
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### if the cuda-toolkit install fails with unmet dependencies
|
### if the cuda-toolkit install fails with unmet dependencies
|
||||||
|
|
||||||
>https://askubuntu.com/a/1493087 (jspinella, 2023, CC BY-SA 4.0)
|
><https://askubuntu.com/a/1493087> (jspinella, 2023, CC BY-SA 4.0)
|
||||||
|
|
||||||
1. Open the *new* file for storing the sources list
|
1. Open the *new* file for storing the sources list
|
||||||
|
|
||||||
@@ -71,4 +70,3 @@ make
|
|||||||
```
|
```
|
||||||
|
|
||||||
3. Save the file and run `sudo apt update` - now the install command for CUDA should work.
|
3. Save the file and run `sudo apt update` - now the install command for CUDA should work.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# useful links
|
# useful links
|
||||||
|
|
||||||
- (Optuna)[https://optuna.org] Hyperparameter optimization framework
|
- [Optuna](https://optuna.org) Hyperparameter optimization framework
|
||||||
`pip install optuna`
|
`pip install optuna`
|
||||||
|
|||||||
@@ -1,18 +1,14 @@
|
|||||||
# pyenv install
|
# pyenv installation
|
||||||
|
|
||||||
## install
|
## pyenv
|
||||||
|
|
||||||
nice to have:
|
1. Install pyenv
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt install python-is-python3
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://pyenv.run | bash
|
curl https://pyenv.run | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
## setup zsh
|
2. setup zsh
|
||||||
|
|
||||||
add the following to `.zshrc`:
|
add the following to `.zshrc`:
|
||||||
|
|
||||||
@@ -22,9 +18,9 @@ export PYENV_ROOT="$HOME/.pyenv"
|
|||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
```
|
```
|
||||||
|
|
||||||
## pyenv install
|
## python installation
|
||||||
|
|
||||||
prerequisites:
|
1. prerequisites
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt update
|
sudo apt update
|
||||||
@@ -34,7 +30,7 @@ libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev \
|
|||||||
libffi-dev liblzma-dev python3-pip
|
libffi-dev liblzma-dev python3-pip
|
||||||
```
|
```
|
||||||
|
|
||||||
install:
|
2. install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# using python 3.12.7 as an example
|
# using python 3.12.7 as an example
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ source ./.venv/bin/activate
|
|||||||
```
|
```
|
||||||
|
|
||||||
## install pytorch
|
## install pytorch
|
||||||
> https://pytorch.org/get-started/locally/
|
|
||||||
|
> <https://pytorch.org/get-started/locally/>
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install torch torchvision torchaudio
|
pip install torch torchvision torchaudio
|
||||||
|
|||||||
Reference in New Issue
Block a user