Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up
nyq's picture

nyq

damax
ยท

AI & ML interests

None yet

Recent Activity

updated a dataset about 1 month ago
damax/damax
updated a dataset 9 months ago
damax/damax
reacted to anakin87's post with โž• 12 months ago
๐Ÿงฐ Free up space on the Hub with `super_squash_history` ๐Ÿงน As you may know, Hugging Face Hub has storage limits on private repos (100 GB for free users, 1 TB for PROs). This weekend I did some cleanup on my private repos I went 1.58 TB down to 1 GB. ๐Ÿ˜… Besides deleting old, unused models, the main tool I used was a lesser-known command: `super_squash_history`. When you train a model, you often push multiple checkpoints to the Hub. Each checkpoint = a commit. A 2.6B model in BF16 is ~5 GB. So 10 checkpoints = 50 GB. That adds up fast. While full commit history can be useful for rollbacks, it's often unnecessary for older experiments where only the final model matters. In these cases, you can use `super_squash_history`: it reduces your entire repo history to a single commit. https://huggingface.co/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.super_squash_history โš ๏ธ super_squash_history is a non-revertible operation. Once squashed, the commit history cannot be retrieved. Hope this is useful to others.
View all activity

Organizations

None yet

models 0

None public yet

datasets 1

damax/damax

Viewer โ€ข Updated Jun 2 โ€ข 1 โ€ข 27
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs