Skip to content

ci: fix XPU Docker build (disk space + torch 2.13) + idempotent release#36

Merged
bjoernbethge merged 1 commit into
mainfrom
fix/xpu-docker-build
Jul 15, 2026
Merged

ci: fix XPU Docker build (disk space + torch 2.13) + idempotent release#36
bjoernbethge merged 1 commit into
mainfrom
fix/xpu-docker-build

Conversation

@bjoernbethge

Copy link
Copy Markdown
Collaborator

Fixes the failed XPU image job from the v0.4.0 release and hardens the publish workflow.

Changes

  • build-xpu disk space — the job ran out of disk mid-extract of the torch-xpu wheel (os error 28). Adds a Free disk space step reclaiming ~25 GB (dotnet/android/ghc/boost/tool-cache + docker image prune) before the build.
  • Dockerfile.xpu torch pin — was still torch==2.11.0; bumped to torch==2.13.0 + torchvision==0.28.0 (verified on the PyTorch XPU index) to match the lockfile. Dropped torchaudio (not a project dependency) and the explicit triton-xpu pin (torch pulls the matching pytorch-triton-xpu on the Linux base).
  • python-publish release step — now idempotent: if the release already exists it uploads dists with --clobber instead of failing (root cause of the red python-publish run on v0.4.0).

CPU + CUDA images already published successfully for v0.4.0; this unblocks XPU.

🤖 Generated with Claude Code

The v0.4.0 XPU Docker job failed for two reasons; also harden the release step:

- build-xpu ran the runner out of disk mid-extract of the torch-xpu wheel
  (os error 28). Add a "Free disk space" step reclaiming ~25 GB of unused
  preinstalled toolchains (dotnet/android/ghc/boost/tool-cache) + a docker
  image prune before the build.
- Dockerfile.xpu still pinned torch==2.11.0; bump to torch==2.13.0 +
  torchvision==0.28.0 (verified on the PyTorch XPU index) to match the
  lockfile. Drop the explicit torchaudio (not a project dep) and triton-xpu
  pin (torch pulls the matching pytorch-triton-xpu itself on the Linux base).
- python-publish "Create GitHub Release" now upserts: if the release already
  exists (e.g. cut manually) it uploads the dists with --clobber instead of
  failing the whole workflow.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@bjoernbethge
bjoernbethge merged commit 1277e8c into main Jul 15, 2026
1 of 2 checks passed
@bjoernbethge
bjoernbethge deleted the fix/xpu-docker-build branch July 15, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants