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-pro"
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 "distiller": null,
6 "enhancer": null,
7 "factorizer": null,
8 "pruner": null,
9 "quantizer": null,
10 "recoverer": null,
11 "batch_size": 1,
12 "device": "cpu",
13 "save_fns": [],
14 "load_fns": [
15 "diffusers"
16 ],
17 "reapply_after_load": {
18 "factorizer": null,
19 "pruner": null,
20 "quantizer": null,
21 "distiller": null,
22 "cacher": null,
23 "recoverer": null,
24 "compiler": null,
25 "batcher": null,
26 "enhancer": null
27 }
28}