This file contains hidden or 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
1. Run `nvidia-smi`. It should return a display and if it errors, make sure that your shell start up file, e.g. `~/.bashrc` already includes the standard `PATH`. | |
2. Append the following snippet to the end of your shell start up file, e.g. `~/.bashrc`. | |
``` | |
# --- CUDA system install (no conda) --- | |
export CUDA_HOME=/usr/local/cuda | |
# nvcc in PATH | |
if [ -d "$CUDA_HOME/bin" ]; then | |
case ":$PATH:" in *":$CUDA_HOME/bin:"*) : ;; *) export PATH="$CUDA_HOME/bin:$PATH";; esac |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.