Skip to content

Instantly share code, notes, and snippets.

View Ithanil's full-sized avatar

Jan Kessler Ithanil

View GitHub Profile
@Ithanil
Ithanil / Dockerfile_gpt-oss
Created August 7, 2025 11:33
VLLM Docker build for GPT-OSS on Ampere
ARG CUDA_VERSION=12.8.1
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu20.04 AS vllm_gpt-oss
ARG CUDA_VERSION
ARG PYTHON_VERSION=3.12
### --- Stuff from default Dockerfile ---- ###
# The PyPA get-pip.py script is a self contained script+zip file, that provides
# both the installer script and the pip base85-encoded zip archive. This allows
# bootstrapping pip in environment where a dsitribution package does not exist.
@Ithanil
Ithanil / bash-template.sh
Last active July 11, 2024 08:43 — forked from m-radzikowski/script-template.sh
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/bin/bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
local code=${1-0} # specify exit code when used as alternative to die()
cat <<EOF