For developers
Don’t let your model
dependency change
silently.
Use the PinDiff CLI, API and GitHub integration to find, monitor and audit Hugging Face model dependencies in your projects.
- Open source CLI
- Works with CI/CD
- Lightweight and fast
Example output. The pindiff check and pindiff watch commands, Slack and email on this page are previews. pindiff audit and the GitHub Action are available. The model API link is live.
$ pindiff check biohub/ESMC-6B
Looks up one Hugging Face model and reports the revision, licence, access and recent changes PinDiff has recorded.
- Latest known revision
- Licence, access and remote-code configuration
- Recent upstream change count
- Read-only. Nothing is installed or modified
$ pindiff check biohub/ESMC-6B
biohub/ESMC-6B
- Latest known revision
- 82fa41f
- Licence
- apache-2.0
- Access
- public
- Recent changes
- 2
$ pindiff watch biohub/ESMC-6B --revision 82fa41f
Watch one exact revision and see when that upstream record changes.
- Pins the watch to a commit, not main or latest
- Reports weight, licence and remote-code changes
- Uses the same revision you would pin in code
- Works from the shell and in CI
$ pindiff watch biohub/ESMC-6B --revision 82fa41f
Watching exact revision 82fa41f
Repository biohub/ESMC-6B
Alerts when weights, licence, remote code or access change.
$ pindiff audit .
Scans your codebase for Hugging Face model dependencies and check their status.
-
Detects
from_pretrained(),snapshot_download(),hf_hub_download()and other model loading methods - Identifies pinned vs floating revisions
- Shows upstream changes and security-sensitive updates
- Works with Python projects, CI and GitHub Actions
$ pindiff audit .
Scanning project for Hugging Face model dependencies...
Found 6 Hugging Face dependencies:
- 3 pinned to a specific revision
- 2 using floating revisions (main, latest, no revision)
- 1 with unknown revision (potentially risky)
Integrations
Get notified when your model dependencies change. Integrate PinDiff into your existing tools and workflows.
GitHub Pull Request Check
Report model dependency revisions and upstream changes when a pull request runs. Set up the check.
View example workflowPinDiff bot commented 2 hours ago
− revision: main
+ revision: 3f2a9c1
View full analysis on PinDiff