Skip to content

chore: bump diffusers to 0.38.0#975

Draft
ilopezluna wants to merge 1 commit into
mainfrom
bump-diffusers-0.38.0
Draft

chore: bump diffusers to 0.38.0#975
ilopezluna wants to merge 1 commit into
mainfrom
bump-diffusers-0.38.0

Conversation

@ilopezluna

@ilopezluna ilopezluna commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

What

Bumps the diffusers backend from 0.36.0 → 0.38.0.

File Change
scripts/build-diffusers-tarball.sh diffusers 0.36.0 → 0.38.0; safetensors 0.5.2 → 0.8.0
Makefile (diffusers-dev) Sync the same pins (had drifted to 0.36.0 / 0.5.2)
.versions DIFFUSERS_RELEASEv0.1.0-20260617-000000
pkg/inference/backends/diffusers/diffusers.go diffusersVersionv0.1.0-20260617-000000

How to test

  • Build the tarball and confirm diffusers.__version__ == "0.38.0" and that uv resolves safetensors 0.8.0 + torch 2.9.1 without conflict.
  • Smoke test: load a DDUF and generate an image via the diffusers server.
  • Security regression: a bundle with a custom component must be rejected (not executed) with the default trust_remote_code=False.

🤖 Generated with Claude Code

Bump the diffusers backend from 0.36.0 to 0.38.0 to pick up the
trust_remote_code hardening from huggingface/diffusers#13448, which fixes
trust_remote_code=False being bypassed when loading pipelines/components
from local directories — the path the diffusers_server uses for DDUF and
local model bundles.

- build-diffusers-tarball.sh: diffusers 0.36.0 -> 0.38.0, safetensors
  0.5.2 -> 0.8.0 (required by diffusers 0.38.0, which needs safetensors>=0.8.0)
- Makefile (diffusers-dev): sync the same pins, which had drifted
- .versions / diffusers.go: new release tag v0.1.0-20260617-000000

The matching image is published from docker/inference-engine-llama.cpp
(build-diffusers workflow).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the diffusers dependency from version 0.36.0 to 0.38.0 and safetensors from 0.5.2 to 0.8.0 across the Makefile, build scripts, and Go backend implementation. It also bumps the DIFFUSERS_RELEASE version to v0.1.0-20260617-000000 in .versions and diffusers.go. I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@ilopezluna ilopezluna changed the title chore: bump diffusers to 0.38.0 (trust_remote_code security fix) chore: bump diffusers to 0.38.0 Jun 17, 2026
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.

1 participant