-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
Is your feature request related to a problem? Please describe.
When downloading from single file, take flux-dev-fp8 for example, the other pipeline components are loaded, but with a multi directory layout including symlinks (eg snapshots, blobs, etc).
This is a problem when trying to compress the downloaded components for deployment (think model.tar.gz for sagemaker).
Describe the solution you'd like.
It would be awesome to have a symlinks=False parameter like snapshot_download used to have prior to being deprecated.
Describe alternatives you've considered.
The alternative for me in this case was to download from single file locally, remove symlinks manually, and save the fp8 version of the flux dev pipeline to the hub.
Additional context.
Jlonge4/flux-dev-fp8