Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration utility #150

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Migration utility #150

wants to merge 9 commits into from

Conversation

seanses
Copy link
Collaborator

@seanses seanses commented Jan 23, 2025

Usage:

xtool dedup command will run cleaning on the specified files or files under directories if in recursive mode, and output their File Reconstruction info in JSON format to a file if specified or stdout.

xtool [--endpoint [HF_ENDPOINT]] [--token [hf_..]] --repo-type [dataset | model | space] --repo-id [..]  dedup [-r] [paths] [-o path] -c [0|1|2] [-m]

HF endpoint is read in the order of

  1. --endpoint
  2. env var HF_ENDPOINT
  3. default to https://huggingface.co

HF token is read in the order of

  1. --token
  2. env var HF_TOKEN

@seanses seanses marked this pull request as draft January 23, 2025 23:14
@ylow ylow self-assigned this Jan 24, 2025
@seanses seanses marked this pull request as ready for review January 24, 2025 21:37
@seanses seanses force-pushed the di/migration-utility branch from b2b1cea to 22f0a77 Compare January 28, 2025 07:28
@seanses seanses changed the title Utility to estimate dedup fragmentation Migration utility Jan 28, 2025
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