Repository navigation
Publish FocalNet checkpoints on Hugging Face - #7
Merged
Merged
Conversation
Add a model card and upload helper that verify the documented SHA-256 hashes, and point the README and crop lab at appwrite/focalnet. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
The fetch-model default must match the published resolve URL string so hash and docs checks can find it in source. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
Drop the Microsoft FocalNet disclaimer and show center versus FocalNet crops on Autogravity's park and portrait photographs. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
TorstenDittmann
marked this pull request as ready for review
September 18, 2026 08:45
|
The 2026-09-14-rc1 release now carries the same ONNX, PyTorch, model card, and Autogravity example files published on the Hub. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
Markdown tables mixed wide sources with square crops and looked broken on the Hub. Render labeled source/center/FocalNet figures from the Autogravity photographs instead. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
Empty SHA-256 overrides still verify, the publisher pairs hashes and example images and checks ONNX sidecars, and download docs use curl instead of undeclared Hub tooling. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
The publisher copied checkpoints in name order, so sidecar JSON was checked before it landed in the staging directory. Co-authored-by: Torsten Dittmann <TorstenDittmann@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pretrained FocalNet weights are published to the existing Hub repo appwrite/focalnet and attached to the 2026-09-14-rc1 GitHub release.
What changed
docs/huggingface-model-card.mdandscripts/publish-huggingface.py, which refuses to upload unless SHA-256 matches the documented reference hashes, hashes sit next to the matching filenames, example images exist, and ONNX sidecars match embedded metadata.focalnet-human.onnxfrom Hugging Face by default (bun run fetch-model) and verify the published hash. An emptyFOCALNET_ONNX_SHA256still verifies.curl/urllibso a runtime-onlypip install .environment can fetch weights without Hugging Face CLI packages.