The huggingface_hub package does not allow .flashpack file extensions when creating DDUF files from a pipeline.
It would be helpful to extend the functionality of Flashpack to facilitate offline distribution of repositories with weights that have been converted from Safetensors.
This could probably be achieved with another patch that extends the allowed file extensions listed in huggingface_hub.serialization._dduf.DDUF_ALLOWED_ENTRIES.