Skip to content
Snippets Groups Projects
Commit b072a497 authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Improve Windows GPU Support

Adding the libs to the Path variable enables GPU support in case VS Code
is started from the start menu. Otherwise it has to be started from the
Miniforge Prompt.
parent 3e808b5e
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,10 @@ Falls Sie eine NVIDIA GPU haben und den Support dafür aktivieren wollen, instal
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
#*\color{gray}(ml) C:\textbackslash Users\textbackslash john>*mamba install cudatoolkit cudnn
\end{lstlisting}
und fügen auch den Pfad zu den entsprechenden Libraries (z.\,B.\ \textit{cudnn64\_8.dll}) in ihrer Benutzerumgebungsvariable \lstinline|Path| hinzu, besipielhaft:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
C:\Users\john\mambaforge\envs\ml\Library\bin
\end{lstlisting}
......
......@@ -118,10 +118,14 @@ You will get a list of packages and can confirm with \keyenter. Installation tak
#*\color{gray}(base) C:\textbackslash Users\textbackslash john>*mamba activate weai
#*\color{gray}(weai) C:\textbackslash Users\textbackslash john>*pip install tensorflow==2.10.1
\end{lstlisting}
If you have a NVIDIA GPU and want to activate support for it, install the following packages:
If you have an NVIDIA GPU and want to activate support for it, install the following packages:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
#*\color{gray}(weai) C:\textbackslash Users\textbackslash john>*mamba install cudatoolkit cudnn
\end{lstlisting}
and optionally (not required for Spyder) also add the path to the corresponding libraries (e.\,g.\ \textit{cudnn64\_8.dll}) in your user environment variable \lstinline|Path|, for example:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
C:\Users\john\mambaforge\envs\ml\Library\bin
\end{lstlisting}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment