Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/sync-hf-to-ms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Synchronize HuggingFace Repos to ModelScope
on:
schedule:
- cron: '0 3 * * *' # Run every day at 03:00 UTC
workflow_dispatch: # Allow manual trigger from GitHub UI
# workflow_dispatch: # Allow manual trigger from GitHub UI
jobs:
sync:
runs-on: ubuntu-latest
Expand All @@ -20,6 +20,7 @@ jobs:
- nunchaku-shuttle-jaguar
- nunchaku-sana
- nunchaku-flux.1-kontext-dev
- nunchaku-flux.1-schnell-pix2pix-turbo
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync_hf_to_ms.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def sync_model(repo_name: str, hf_repo: str, ms_repo: str):
repo_id=ms_repo,
folder_path=local_dir,
commit_message=f"Sync from Hugging Face {hf_repo}",
ignore_patterns=["*nunchaku-tech*"],
ignore_patterns=["*nunchaku-tech*", "README.md"],
)
print(f"✅ Sync complete: {hf_repo} -> {ms_repo}")

Expand Down