From 66a2fe5b57ef8b862b566e9f016faa2f6dcd6acb Mon Sep 17 00:00:00 2001 From: osbm Date: Sat, 10 Jun 2023 00:23:44 +0300 Subject: [PATCH] add cuda configuration --- src/.zshrc | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/.zshrc b/src/.zshrc index 6676c1c..ff376ab 100644 --- a/src/.zshrc +++ b/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