diffusers
[core] Introduce `_TorchStateDict` object to manage state dict tensors + metadata
#15382
Merged
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
11
Changes
View On
GitHub
[core] Introduce `_TorchStateDict` object to manage state dict tensors + metadata
#15382
DN6
merged 11 commits into
main
from
statedict-object
[core] Add `_TorchStateDict` so loaded state dicts carry file metadata
012144de
[LoRA] Read adapter metadata from `state_dict.metadata`
dcc6bacb
Clean up pass
c45e4a13
Only re-wrap the single-file checkpoint after unwrapping `state_dict`
dbcffb16
Read safetensors tensors and header from one `safe_open`
9da79cf6
Keep the safetensors `format` entry in `metadata`
78bbc4a4
Simplify the `metadata` fallback in `load_lora_adapter`
c5f5f15a
github-actions
added
lora
github-actions
added
models
github-actions
added
tests
github-actions
added
utils
github-actions
added
single-file
github-actions
added
loaders
github-actions
added
size/L
Merge branch 'main' into statedict-object
809c0040
DN6
requested a review
from
yiyixuxu
5 days ago
DN6
requested a review
from
sayakpaul
5 days ago
yiyixuxu
approved these changes on 2026-11-25
sayakpaul
added this to the
Release 0.44.0
milestone
4 days ago
sayakpaul
commented on 2026-11-25
Merge branch 'main' into statedict-object
fe66657b
Address review comments
488cc2bd
sayakpaul
approved these changes on 2026-11-27
Apply review suggestion
d3573d6d
DN6
merged
b1d2e5ab
into main
1 day ago
DN6
deleted the statedict-object branch
1 day ago
Login to write a write a comment.
Login via GitHub
Reviewers
sayakpaul
yiyixuxu
Assignees
No one assigned
Labels
lora
models
tests
size/L
utils
single-file
loaders
Milestone
Release 0.44.0
Login to write a write a comment.
Login via GitHub