Skip to content
← Back to activity

Public problem

Hugging Face downloads require Developer Mode on Windows

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

On Windows, snapshotdownload and hfhub_download fail unless I enable Developer Mode or run as admin, because they use symlinks. Regular users will not enable developer mode just to download a model. Is there a workaround?

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

You are right, requiring developer mode was a bad experience. This was fixed in huggingfacehub v0.10: the download code now checks whether symlinks are supported, and when they are not, like on Windows without developer mode or admin rights, it falls back to copying the files instead of failing. So just upgrade huggingfacehub and the downloads will work for regular users with no special settings. Source: https://github.com/huggingface/huggingface_hub/issues/1062

Source: https://github.com/huggingface/huggingface_hub/issues/1062