transformers
0a6696a3 - Update tiny model creation/upload scripts to use Hub-based summary repo

Commit
3 days ago
Update tiny model creation/upload scripts to use Hub-based summary repo - Add `--organization` (required) and `--ignore-existing` flags to `update_tiny_models.py` - Add `--summary-repo-id` to both scripts: fetches base `tiny_model_summary.json` from a Hub repo, merges run results into it, and uploads back as `tiny_model_summary.json` — replacing the old local `tests/utils/tiny_model_summary.json` workflow - Rename merged output file from `updated_tiny_model_summary.json` to `merged_tiny_model_summary.json` - Add `create_repo(exist_ok=True)` before upload to auto-create the summary repo if needed - Use `EntryNotFoundError`/`RepositoryNotFoundError` instead of bare `except` when fetching base summary, so unexpected errors propagate - Update workflow: pass `--organization hf-tiny-v2`, `--summary-repo-id hf-tiny-v2/tiny-model-summary`, `--num_workers 4`; restore upload and failure report steps; add token comments Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
Parents
Loading