actions/upload-artifact@v4 doesn't preserve Unix mode bits. After
download-artifact in the create-release job, every file in any bin/
directory must be re-marked executable so python3.12, our launcher
shim, pip-installed entry-point scripts, and the bundled clang work
after extraction.
Discovered while smoke-testing the first CI-built release: the
tarball extracted fine but bin/diffusers-server and bin/python3.12
were rw-r--r-- (no x). Confirmed `chmod +x bin/*` makes the bundle
usable.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Match vllm-rocm cadence (Sun 15:00 UTC). Each scheduled run pulls
latest diffusers/transformers/torch-rocm from PyPI + AMD's per-arch
wheel index and publishes a fresh tagged release.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Mirrors the lemonade-sdk/vllm-rocm pattern to publish self-contained
diffusers + PyTorch ROCm + diffusers-server tarballs for AMD GPUs.
Targets integration with Lemonade as the `diffusers` backend recipe.
Contents:
- diffusers-server: FastAPI HTTP service exposing OpenAI-compatible
/v1/images/generations. Falls through AutoPipelineForText2Image
for unknown models; FLUX GGUF handled explicitly via
FluxTransformer2DModel.from_single_file + GGUFQuantizationConfig.
- CI workflow: matrix over gfx targets (v1 ships gfx1151 only),
downloads python-build-standalone CPython 3.12, installs torch
from repo.amd.com/rocm/whl/<target>/, installs diffusers stack
from PyPI, packages into a relocatable tarball, splits at 1.9 GB
and publishes to GitHub Releases as
diffusers{V}-rocm{V}-{gfx_target}-x64.tar.gz.
- pyproject.toml + src/diffusers_server/: small Python package
installed into the bundled site-packages.
Validated on gfx1151 (Strix Halo) with SDXL-Turbo: 4.7s pipeline
load, 0.5s warm generation. FLUX.1-schnell-GGUF code path written
but unvalidated (HF repo is gated, awaits auth).
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>