Book a demo Start for free

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 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
View full CLI documentation

$ 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)
Status Repository Revision File
PINNED meta-llama/llama-2-7b-chat-hf 7a2f3e1 app/models.py
PINNED sentence-transformers/all-MiniLM-L6-v2 3c1b9de src/embeddings.py
PINNED stabilityai/stable-diffusion-xl-base-1.0 89d12aa notebooks/generate.py
FLOATING openai/whisper-large-v3 main src/transcribe.py
FLOATING Qwen/Qwen2.5-7B-Instruct latest app/chat.py
UNKNOWN microsoft/Phi-3-mini-4k (unknown) scripts/experiment.py

Integrations

Get notified when your model dependencies change. Integrate PinDiff into your existing tools and workflows.

GitHub Action

Report pinned, floating and unknown revisions on pull requests.

View setup

Slack

Get notified about important changes.

View setup

GitHub Pull Request Check

Report model dependency revisions and upstream changes when a pull request runs. Set up the check.

View example workflow
Update model dependency #142 opened 2 hours ago by alice
Open

PinDiff bot commented 2 hours ago

Model dependency change detected 1 model dependency changed in this pull request.
View details