HPC & Infrastructure Engineering Notes
Engineering references for the layer beneath the science: distributed execution across cluster nodes, self-hosted model inference on institutional GPUs, and the environment configuration that makes any of it reproducible.
Most machine-learning material assumes a laptop or a managed cloud runtime. These notes cover what changes when the compute is a shared scheduler-managed cluster, where you do not have root, storage is shared with hundreds of other users, and the compute nodes may have no route to the internet at all.
Distributed Execution
-
Scaling Python workloads with Joblib and Dask from a laptop to a single HPC node to a true multi-node cluster: shared vs. distributed memory, task decomposition, and the network/serialization bottlenecks that separate the two.
On-Premise Model Serving
-
Hosting Ollama on HPC (H200 GPUs) and tunneling it into VS Code Copilot Chat via BYOK — keeping prompts and institutional data off third-party cloud infrastructure entirely, for research collaborations bound by data governance agreements.
-
Why vLLM is a compiled CUDA inference engine, not a Python package — matching driver, toolkit, PyTorch, and wheel versions exactly, diagnosing manylinux/glibc and JIT-compilation failures, and a working
uv-managedpyproject.tomlfor CUDA 12.9 / H200.
Environment & Configuration
-
Separating environment configuration from interactive shell behavior (
.bash_profilevs..bashrc), keeping caches and secrets out of the home directory, and a reproducible pattern for HPC accounts, workstations, WSL, and cloud VMs.