Skip to content

Load HuggingFace checkpoints through a builder registry - #157

Merged
jessegrabowski merged 24 commits into
pymc-devs:mainfrom
jessegrabowski:hf-builder-registry
Sep 6, 2026
Merged

Load HuggingFace checkpoints through a builder registry#157
jessegrabowski merged 24 commits into
pymc-devs:mainfrom
jessegrabowski:hf-builder-registry

Conversation

@jessegrabowski

@jessegrabowski jessegrabowski commented Sep 6, 2026

Copy link
Copy Markdown
Member

Groundwork for loading Stable Diffusion XL: a config's declared class picks a builder, which constructs the graph and records the checkpoint key of every parameter as it goes, so filling the weights is a lookup. Builders for CLIP's two text encoders and GPT-2 land with it, checked against the numbers transformers computes from the same checkpoints.


📚 Documentation preview 📚: https://pytensor-ml--157.org.readthedocs.build/en/157/

@jessegrabowski
jessegrabowski merged commit 65412ed into pymc-devs:main Sep 6, 2026
11 checks passed
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