sharpenb commited on
Commit
59ce447
1 Parent(s): 6b96c27

Upload folder using huggingface_hub (#7)

Browse files

- 5848f1228ef82ade9aa9cc5ea9fa7362030d0a5114d099732f8cd46c945ce471 (60b340333d8ac6d727c86c68b602743ebfbd2d68)
- fbb33bcc0c51a041712af58df5b2b7c90a449dab1bd8b9ed59a1d776f97654c7 (bd03fe03c8c5d68cb00eaf0643786df4b34bc537)

README.md CHANGED
@@ -48,7 +48,7 @@ You can run the smashed model with these steps:
48
  0. Check cuda, torch, packaging requirements are installed. For cuda, check with `nvcc --version` and install with `conda install nvidia/label/cuda-12.1.0::cuda`. For packaging and torch, run `pip install packaging torch`.
49
  1. Install the `pruna-engine` available [here](https://pypi.org/project/pruna-engine/) on Pypi. It might take 15 minutes to install.
50
  ```bash
51
- pip install pruna-engine[gpu] --extra-index-url https://pypi.nvidia.com --extra-index-url https://pypi.ngc.nvidia.com --extra-index-url https://prunaai.pythonanywhere.com/
52
  ```
53
  3. Download the model files using one of these three options.
54
  - Option 1 - Use command line interface (CLI):
 
48
  0. Check cuda, torch, packaging requirements are installed. For cuda, check with `nvcc --version` and install with `conda install nvidia/label/cuda-12.1.0::cuda`. For packaging and torch, run `pip install packaging torch`.
49
  1. Install the `pruna-engine` available [here](https://pypi.org/project/pruna-engine/) on Pypi. It might take 15 minutes to install.
50
  ```bash
51
+ pip install pruna-engine[gpu]==0.6.0 --extra-index-url https://pypi.nvidia.com --extra-index-url https://pypi.ngc.nvidia.com --extra-index-url https://prunaai.pythonanywhere.com/
52
  ```
53
  3. Download the model files using one of these three options.
54
  - Option 1 - Use command line interface (CLI):
config.json CHANGED
@@ -1 +1 @@
1
- {"pruners": "None", "pruning_ratio": "None", "factorizers": "None", "quantizers": "None", "n_quantization_bits": 32, "output_deviation": 0.0, "compilers": "['step_caching', 'tiling', 'diffusers2']", "static_batch": true, "static_shape": false, "controlnet": "None", "unet_dim": 4, "device": "cuda", "batch_size": 1, "max_batch_size": 1, "image_height": 512, "image_width": 512, "version": "1.5", "task": "txt2img", "weight_name": "None", "model_name": "runwayml/stable-diffusion-v1-5", "save_load_fn": "stable_fast"}
 
1
+ {"pruners": "None", "pruning_ratio": 0.0, "factorizers": "None", "quantizers": "None", "n_quantization_bits": 32, "output_deviation": 0.005, "compilers": "['diffusers2', 'tiling', 'step_caching']", "static_batch": true, "static_shape": false, "controlnet": "None", "unet_dim": 4, "device": "cuda", "batch_size": 1, "max_batch_size": 1, "image_height": 512, "image_width": 512, "version": "1.5", "task": "txt2img", "model_name": "runwayml/stable-diffusion-v1-5", "weight_name": "None", "save_load_fn": "stable_fast"}
model/optimized_model.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:897efda94bcf4d0aa9eb90207fd3a1a6e73e8c2ea4ea8e397d6ff597eccfbb72
3
- size 2743426087
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36a1b24e7bd91ed9824b8874ac12c2ff8c9bf13b49b368021cf3c9b1cfa2d3b0
3
+ size 2743426249
model/smash_config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c63d7759cd722bc1e7ae607e706956658c97dd29c211efe4fbe1974cf496088
3
- size 684
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d45a972300021dcb22db83be1258e7a0f2ec7384c1ab993692b48b28b91f0de
3
+ size 683
plots.png CHANGED