coreweave / tensorizer

Module, Model, and Tensor Serialization/Deserialization
MIT License
180 stars 25 forks source link

feat(examples): Support S3 for all `StableDiffusionPipeline` components #76

Closed Eta0 closed 8 months ago

Eta0 commented 8 months ago

Updated diffusers support in hf_serialization.py

More fixes and improvements for #73.

This change:

(Outdated): I left in the code to generate a test image through diffusers because it is good example code for this repository of how to re-assemble the components of an SD model and was good for testing that these changes work. It could be commented out or deleted later, or changed to be only enabled through a flag. (Update): The test image generation code for diffusers is now commented out.