add cuda configuration
This commit is contained in:
parent
f99301616b
commit
66a2fe5b57
1 changed files with 3 additions and 14 deletions
17
src/.zshrc
17
src/.zshrc
|
|
@ -56,18 +56,7 @@ sound() {
|
|||
done
|
||||
}
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/osman/.pyenv/versions/miniconda3-4.7.12/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/home/osman/.pyenv/versions/miniconda3-4.7.12/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/osman/.pyenv/versions/miniconda3-4.7.12/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/osman/.pyenv/versions/miniconda3-4.7.12/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
export CUDA_HOME=/usr/local/cuda-12.1/
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.1/lib64
|
||||
export PATH=$PATH:$CUDA_HOME/bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue