Skip to content

Conversation

@catoneone
Copy link
Collaborator

Summary

  • Updated model gating check to verify that miner's declared revision matches the actual revision on HuggingFace
  • Previously only checked if a revision existed, now compares actual SHA values to ensure integrity

Changes

  • Modified check_model_gated() to fetch and compare HuggingFace revision SHA with miner's declared revision
  • If revision mismatch is detected, model is treated as gated and filtered out
  • Removed redundant chute revision comparison in miners() function
  • On exception during HF revision check, gracefully pass through without marking as gated

Test Plan

  • Verify that miners with matching HF revisions pass validation
  • Verify that miners with mismatched revisions are filtered out
  • Test exception handling when HF API is unavailable

Ubuntu added 2 commits November 17, 2025 16:41
Update the model gating check to verify that the miner's declared revision matches the actual revision on HuggingFace. Previously only checked if a revision existed, now compares the actual SHA values to ensure integrity.

Changes:
- Modified check_model_gated to fetch and compare HuggingFace revision SHA
- If revision mismatch is detected, model is treated as gated
- Removed redundant chute revision check in miners function
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.

2 participants