Files
master-thesis/thesis/appendix/ware_environment.tex
T
2025-09-02 22:10:06 +01:00

44 lines
1.7 KiB
TeX

\section{Software and Hardware Environment}
\label{app:env}
\subsection{Hardware}
\begin{itemize}
\item GPU: NVIDIA GeForce RTX~5060~Ti (16\,GB)
\item Host driver: NVIDIA 575.57.08
\end{itemize}
\subsection{Containerized Stack}
All experiments ran inside an NVIDIA NGC PyTorch container for CUDA/cuDNN compatibility:
\begin{itemize}
\item Container: \texttt{nvcr.io/nvidia/pytorch:25.06-py3}
\item OS (in-container): Ubuntu~24.04.2 LTS
\item Python: 3.12.3
\item PyTorch: 2.8.0a0 (NGC nv25.06), CUDA Runtime 12.9, cuDNN 9.1.2
\item TorchVision: 0.22.0a0
\item timm: 1.0.19
\item NumPy: \textbf{1.26.4 (pinned)}
\item SciPy: 1.15.3,\; Pandas: 2.2.3,\; scikit-learn: 1.6.1,\; Matplotlib: 3.10.3,\; tqdm: 4.67.1
\item OpenCV (headless): \texttt{<= 4.11.0.86} (pinned to match NumPy~1.x)
\item Optional: Albumentations (if enabled)
\end{itemize}
\paragraph{Note on NumPy.}
The container's PyTorch is compiled against the NumPy~1.x C-API. Installing NumPy~2.x at user level will cause an ABI error during \texttt{import torch}. We therefore pin NumPy to 1.26.4.
\subsection{Launch and Setup Commands}
\begin{verbatim}
# Start the container with GPU access and mount the project
docker run --gpus all --ipc=host --rm -it \
-u $(id -u):$(id -g) \
-v "$PWD":/workspace -w /workspace \
nvcr.io/nvidia/pytorch:25.06-py3
# Inside the container: environment prep
export PATH="$HOME/.local/bin:$PATH"
python -m pip install --user "numpy==1.26.4" \
timm albumentations opencv-python-headless tqdm
\end{verbatim}
\subsection{Citations}
We cite the main software toolchains as follows: PyTorch, CUDA and cuDNN (NVIDIA), TorchVision, timm, scikit-learn, and Albumentations. The exact versions are listed above for reproducibility.