ci: fix XPU Docker build (disk space + torch 2.13) + idempotent release#36
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the failed XPU image job from the v0.4.0 release and hardens the publish workflow.
Changes
os error 28). Adds a Free disk space step reclaiming ~25 GB (dotnet/android/ghc/boost/tool-cache + docker image prune) before the build.torch==2.11.0; bumped totorch==2.13.0+torchvision==0.28.0(verified on the PyTorch XPU index) to match the lockfile. Droppedtorchaudio(not a project dependency) and the explicittriton-xpupin (torch pulls the matchingpytorch-triton-xpuon the Linux base).--clobberinstead of failing (root cause of the redpython-publishrun on v0.4.0).CPU + CUDA images already published successfully for v0.4.0; this unblocks XPU.
🤖 Generated with Claude Code