Views
No views yet
pip install pruna1from pruna import PrunaModel
2
3loaded_model = PrunaModel.from_hub(
4 "PrunaAI/test-load-tiny-stable-diffusion-pipe-smashed"
5)smash_config.json file, which describes the optimization methods that were applied to the model.1{
2 "batcher": null,
3 "cacher": null,
4 "compiler": null,
5 "factorizer": null,
6 "pruner": null,
7 "quantizer": null,
8 "batch_size": 1,
9 "device": "cpu",
10 "save_fns": [],
11 "load_fns": [
12 "diffusers"
13 ],
14 "reapply_after_load": {
15 "factorizer": null,
16 "pruner": null,
17 "quantizer": null,
18 "cacher": null,
19 "compiler": null,
20 "batcher": null
21 }
22}