Skip to content

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

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

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

Conversation

@ErlisLushtaku

@ErlisLushtaku ErlisLushtaku commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Note

WIP: This cache stack is on hold until the task-YAML stack ending in #93 merges. The current implementation is not final and may change when it is adapted to the merged task runtime.

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.
  • Documents local caching and the fetch/push commands in the README.

Synchronization remains separate from benchmark execution.

This is stacked on #98.

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
@ErlisLushtaku ErlisLushtaku changed the title (6/6) Synchronize inference caches through Hugging Face (6/7) Synchronize inference caches through Hugging Face Aug 14, 2026
@ErlisLushtaku ErlisLushtaku changed the title (6/7) Synchronize inference caches through Hugging Face WIP: (6/7) Synchronize inference caches through Hugging Face Aug 14, 2026
@ErlisLushtaku
ErlisLushtaku marked this pull request as draft August 14, 2026 12:08
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