sharpenb commited on
Commit
fcbad2d
1 Parent(s): ca3b614

Upload folder using huggingface_hub (#5)

Browse files

- b493a12ce0e966e5cdb442d1a8123271fe4edd98402da954001a193802b5e3a0 (b005643280bbc015b4db29c45a263edb767b0217)
- 50743f33542605541df55d60ad7838684060d085bcb6b677c3bd21d55213d0ce (cbacb6d266747fbea0c0f8a34e736da5fbc0fc9a)

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.4", "task": "txt2img", "weight_name": "None", "model_name": "CompVis/stable-diffusion-v1-4", "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.4", "task": "txt2img", "model_name": "CompVis/stable-diffusion-v1-4", "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:9287aed9a24b58b9a5d619feebdb3567110d29741c66aa8af937f880704ffc43
3
- size 2743426179
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4c691771f5d3f5dfc556bd695c0bcf16fbe697e0268baedf7958c9617453578
3
+ size 2743426580
model/smash_config.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3d8870f8c3dad4ed45677b4707444380dd1a84e0b05451a9f34bcc79048f9a67
3
- size 683
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4457855317a7b1af81fb2a349dc37da846d2a8456c7e31df928ebcb5e6b6a080
3
+ size 682
plots.png CHANGED