Skip to content

(6/6) Synchronize inference caches through Hugging Face - #99

Open
ErlisLushtaku wants to merge 3 commits into
cache-stack/04-mt-bench-adoptionfrom
cache-stack/05-hf-sync
Open

(6/6) Synchronize inference caches through Hugging Face#99
ErlisLushtaku wants to merge 3 commits into
cache-stack/04-mt-bench-adoptionfrom
cache-stack/05-hf-sync

Conversation

@ErlisLushtaku

Copy link
Copy Markdown
Collaborator

Description

Adds an explicit CLI for sharing inference caches through a Hugging Face dataset repository.

  • Fetches and pushes folders filtered by role, task and optional model.
  • Validates descriptors and merges duplicate input hashes by the latest pushed_at.
  • Uploads metadata.json and the SQLite database in one commit.
  • Retries parent-commit conflicts after fetching and merging the newer remote rows.

Synchronization remains separate from benchmark execution.

This is stacked on #98.

Tests: uv run pytest; uv run ruff check .; uv run ruff format --check ..

Add filtered pull-merge-push workflows with atomic folder commits and optimistic concurrency so cache databases can be shared without mutable network storage.

Includes-AI-Code: true
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.

1 participant