Skip to content

Commit efe8cde

Browse files
drewstoneclaude
andcommitted
chore: remove GPU containers (not buildable on free CI runners)
Removes CUDA/GPU-based containers due to disk space limitations on GitHub Actions free runners: Deleted: - intermediate/cuda.Dockerfile - infra/pytorch-gpu.Dockerfile - infra/tensorflow-gpu.Dockerfile - infra/huggingface-gpu.Dockerfile - infra/vllm-gpu.Dockerfile CPU variants remain available for all AI/ML workloads. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 78beac8 commit efe8cde

File tree

7 files changed

+0
-211
lines changed

7 files changed

+0
-211
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -132,47 +132,6 @@ jobs:
132132
env:
133133
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134134

135-
# CUDA intermediate (standalone, uses nvidia base) - amd64 only, NVIDIA CUDA doesn't support ARM64
136-
build-cuda-intermediate:
137-
if: github.event_name == 'push' || inputs.layer == 'all' || inputs.layer == 'intermediate'
138-
runs-on: ubuntu-latest
139-
permissions:
140-
contents: read
141-
packages: write
142-
steps:
143-
- name: Checkout
144-
uses: actions/checkout@v4
145-
146-
- name: Set up Docker Buildx
147-
uses: docker/setup-buildx-action@v3
148-
149-
- name: Login to GitHub Container Registry
150-
uses: docker/login-action@v3
151-
with:
152-
registry: ${{ env.REGISTRY }}
153-
username: ${{ github.actor }}
154-
password: ${{ secrets.GITHUB_TOKEN }}
155-
156-
- name: Build and push cuda intermediate
157-
uses: docker/build-push-action@v6
158-
with:
159-
context: .
160-
file: intermediate/cuda.Dockerfile
161-
platforms: linux/amd64
162-
push: true
163-
tags: |
164-
${{ env.IMAGE_PREFIX }}/cuda:latest
165-
${{ env.IMAGE_PREFIX }}/cuda:${{ github.sha }}
166-
cache-from: type=gha,scope=cuda-intermediate
167-
cache-to: type=gha,mode=max,scope=cuda-intermediate
168-
169-
- name: Make package public
170-
run: |
171-
gh api --method PUT /orgs/${{ github.repository_owner }}/packages/container/devcontainers%2Fcuda/visibility \
172-
-f visibility=public || true
173-
env:
174-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
175-
176135
# Foundry intermediate (depends on rust)
177136
build-foundry-intermediate:
178137
if: github.event_name == 'push' || inputs.layer == 'all' || inputs.layer == 'intermediate'
@@ -483,58 +442,6 @@ jobs:
483442
env:
484443
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
485444

486-
# CUDA dependent infra (GPU AI/ML) - amd64 only, NVIDIA CUDA doesn't support ARM64/Apple Silicon
487-
build-infra-cuda:
488-
if: github.event_name == 'push' || inputs.layer == 'all' || inputs.layer == 'infra'
489-
needs: build-cuda-intermediate
490-
runs-on: ubuntu-latest
491-
permissions:
492-
contents: read
493-
packages: write
494-
strategy:
495-
fail-fast: false
496-
matrix:
497-
image:
498-
- huggingface-gpu
499-
- pytorch-gpu
500-
- tensorflow-gpu
501-
- vllm-gpu
502-
steps:
503-
- name: Checkout
504-
uses: actions/checkout@v4
505-
506-
- name: Set up Docker Buildx
507-
uses: docker/setup-buildx-action@v3
508-
509-
- name: Login to GitHub Container Registry
510-
uses: docker/login-action@v3
511-
with:
512-
registry: ${{ env.REGISTRY }}
513-
username: ${{ github.actor }}
514-
password: ${{ secrets.GITHUB_TOKEN }}
515-
516-
- name: Build and push ${{ matrix.image }}
517-
uses: docker/build-push-action@v6
518-
with:
519-
context: .
520-
file: infra/${{ matrix.image }}.Dockerfile
521-
platforms: linux/amd64
522-
push: true
523-
tags: |
524-
${{ env.IMAGE_PREFIX }}/${{ matrix.image }}:latest
525-
${{ env.IMAGE_PREFIX }}/${{ matrix.image }}:${{ github.sha }}
526-
cache-from: type=gha,scope=${{ matrix.image }}
527-
cache-to: type=gha,mode=max,scope=${{ matrix.image }}
528-
build-contexts: |
529-
cuda:latest=docker-image://${{ env.IMAGE_PREFIX }}/cuda:latest
530-
531-
- name: Make package public
532-
run: |
533-
gh api --method PUT /orgs/${{ github.repository_owner }}/packages/container/devcontainers%2F${{ matrix.image }}/visibility \
534-
-f visibility=public || true
535-
env:
536-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
537-
538445
# Scientific Python dependent infra (CPU AI/ML)
539446
build-infra-scientific-python:
540447
if: github.event_name == 'push' || inputs.layer == 'all' || inputs.layer == 'infra'

config.json

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"intermediate_templates": {
33
"rust": "FROM base-system:latest\n\nENV RUSTUP_HOME=/usr/local/rustup \\\n CARGO_HOME=/usr/local/cargo \\\n PATH=/usr/local/cargo/bin:$PATH\n\nUSER root\nRUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \\\n && chmod -R a+w $RUSTUP_HOME $CARGO_HOME\n\nUSER project\n\nLABEL description=\"Rust intermediate layer\"\n",
44
"foundry": "FROM rust:latest\n\nENV PATH=/root/.foundry/bin:/usr/local/cargo/bin:$PATH\n\nUSER root\nRUN curl -L https://foundry.paradigm.xyz | bash \\\n && /root/.foundry/bin/foundryup \\\n && chmod -R a+rx /root/.foundry\n\nUSER project\n\nLABEL description=\"Foundry intermediate layer (forge, cast, anvil, chisel)\"\n",
5-
"cuda": "FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu24.04\n\nENV DEBIAN_FRONTEND=noninteractive \\\n NODE_VERSION=22 \\\n PYTHON_VERSION=3.12 \\\n PATH=/usr/local/cuda/bin:$PATH \\\n LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH\n\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n build-essential pkg-config libssl-dev curl wget git jq unzip ca-certificates gnupg \\\n python3 python3-pip python3-venv python3-dev \\\n && mkdir -p /etc/apt/keyrings \\\n && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \\\n && echo \"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_VERSION}.x nodistro main\" | tee /etc/apt/sources.list.d/nodesource.list \\\n && apt-get update && apt-get install -y nodejs \\\n && npm install -g pnpm yarn tsx \\\n && rm -rf /var/lib/apt/lists/* \\\n && useradd -m -s /bin/bash -u 1000 project \\\n && echo 'project ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \\\n && mkdir -p /workspace && chown project:project /workspace\n\nWORKDIR /workspace\nUSER project\n\nLABEL description=\"CUDA intermediate layer (NVIDIA GPU support with cuDNN)\"\n",
65
"scientific-python": "FROM base-system:latest\n\nUSER root\nRUN pip3 install --no-cache-dir --break-system-packages \\\n numpy scipy pandas matplotlib seaborn plotly \\\n scikit-learn scikit-image \\\n jupyter jupyterlab ipython notebook \\\n pillow opencv-python-headless \\\n h5py pyarrow fastparquet \\\n tqdm rich typer click \\\n httpx aiohttp requests \\\n pydantic pydantic-settings \\\n python-dotenv PyYAML toml \\\n && jupyter --version\n\nUSER project\n\nLABEL description=\"Scientific Python intermediate layer (NumPy, SciPy, Pandas, Jupyter, ML basics)\"\n"
76
},
87
"projects": {
@@ -414,18 +413,6 @@
414413
}
415414
},
416415

417-
"pytorch-gpu": {
418-
"base": "cuda",
419-
"packages": {},
420-
"custom_install": {
421-
"root_commands": [
422-
"pip3 install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124",
423-
"pip3 install --no-cache-dir numpy scipy pandas matplotlib seaborn scikit-learn jupyter jupyterlab",
424-
"python3 -c 'import torch; print(f\"PyTorch {torch.__version__}, CUDA available: {torch.cuda.is_available()}\")'"
425-
]
426-
}
427-
},
428-
429416
"pytorch-cpu": {
430417
"base": "scientific-python",
431418
"packages": {},
@@ -437,18 +424,6 @@
437424
}
438425
},
439426

440-
"tensorflow-gpu": {
441-
"base": "cuda",
442-
"packages": {},
443-
"custom_install": {
444-
"root_commands": [
445-
"pip3 install --no-cache-dir tensorflow[and-cuda] keras",
446-
"pip3 install --no-cache-dir numpy scipy pandas matplotlib seaborn scikit-learn jupyter jupyterlab",
447-
"python3 -c 'import tensorflow as tf; print(f\"TensorFlow {tf.__version__}, GPU: {len(tf.config.list_physical_devices(\"GPU\"))} devices\")'"
448-
]
449-
}
450-
},
451-
452427
"tensorflow-cpu": {
453428
"base": "scientific-python",
454429
"packages": {},
@@ -460,20 +435,6 @@
460435
}
461436
},
462437

463-
"huggingface-gpu": {
464-
"base": "cuda",
465-
"packages": {},
466-
"custom_install": {
467-
"root_commands": [
468-
"pip3 install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124",
469-
"pip3 install --no-cache-dir transformers datasets tokenizers accelerate peft diffusers safetensors huggingface_hub",
470-
"pip3 install --no-cache-dir bitsandbytes sentencepiece protobuf",
471-
"pip3 install --no-cache-dir numpy scipy pandas matplotlib seaborn scikit-learn jupyter jupyterlab",
472-
"python3 -c 'import transformers; print(f\"Transformers {transformers.__version__}\")'"
473-
]
474-
}
475-
},
476-
477438
"huggingface-cpu": {
478439
"base": "scientific-python",
479440
"packages": {},
@@ -517,18 +478,6 @@
517478
}
518479
},
519480

520-
"vllm-gpu": {
521-
"base": "cuda",
522-
"packages": {},
523-
"custom_install": {
524-
"root_commands": [
525-
"pip3 install --no-cache-dir vllm",
526-
"pip3 install --no-cache-dir openai numpy scipy pandas",
527-
"python3 -c 'import vllm; print(f\"vLLM {vllm.__version__}\")'"
528-
]
529-
}
530-
},
531-
532481
"vllm-cpu": {
533482
"base": "scientific-python",
534483
"packages": {},

infra/huggingface-gpu.Dockerfile

Lines changed: 0 additions & 12 deletions
This file was deleted.

infra/pytorch-gpu.Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

infra/tensorflow-gpu.Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

infra/vllm-gpu.Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

intermediate/cuda.Dockerfile

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)