Skip to content

Commit

Permalink
update (Wed Jan 8 04:22:25 PM CST 2025)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-Terrasse committed Jan 8, 2025
1 parent 79f081c commit c9a8437
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/2025.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

### 1.8

#### 切换CUDA版本

首选使用`update-alternatives`,如果不能使用,则可以通过指定环境变量的方式:

```shell
cuda_path="/usr/local/cuda-11.7" # or other

export CUDA_HOME="${cuda_path}"
export CUDA_ROOT="${cuda_path}"
export LD_LIBRARY_PATH="${cuda_path}/lib64:${cuda_path}/lib:${LD_LIBRARY_PATH}"
export PATH="${cuda_path}/bin:${PATH}"
```

#### uv安装PyTorch最佳实践

1. 在系统中安装所需CUDA版本
Expand Down

0 comments on commit c9a8437

Please sign in to comment.