3 Commits
Author SHA1 Message Date
ramkrishna2910andClaude Opus 4.7 d95fc981ac ci: restore executable bits stripped by upload-artifact@v4
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]>
2026-05-17 21:24:12 -07:00
ramkrishna2910andClaude Opus 4.7 3b9c9f7de9 ci: add weekly cron schedule for upstream pickup
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]>
diffusers0.38.0-rocm7.13.0-gfx1151
2026-05-17 21:06:33 -07:00
ramkrishna2910andClaude Opus 4.7 1700b38eb6 Initial commit: portable diffusers + ROCm bundle
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]>
2026-05-17 20:57:11 -07:00