Skip to content

Commit

Permalink
Update cuda.md
Browse files Browse the repository at this point in the history
  • Loading branch information
juntao authored May 19, 2024
1 parent dc1f3cb commit a4dbbb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/node-guide/tasks/cuda.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0
```

After that, use the following command line to set up the environment path.
After that, use the following command line to set up the environment path. You should probably add this line to your `~/.bashrc` or `~/.zshrc` files so that new terminals and future logins will still be able to find these CUDA library files.

```
export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
```


## More resources

Here are more scripts that could help you in case you are stuck.
Expand Down

0 comments on commit a4dbbb8

Please sign in to comment.