sharpenb commited on
Commit
3d60a7e
1 Parent(s): e6a509c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -32,7 +32,7 @@ You can run the smashed model by:
32
  2. Downloading the model files. This can be done using the Hugging Face CLI with the following commands:
33
  ```bash
34
  mkdir stabilityai-stable-diffusion-2-1-smashed
35
- huggingface-cli download PrunaAI/stabilityai-stable-diffusion-2-1-smashed --local-dir stabilityai-stable-diffusion-2-1-smashed --local-dir-use-symlinks False
36
  ```
37
  Alternatively, you can download them manually.
38
  3. Loading the model.
@@ -40,7 +40,7 @@ You can run the smashed model by:
40
  You can achieve this by running the following code:
41
  ```python
42
  from pruna_engine.PrunaModel import PrunaModel # Step (1): install and import `pruna-engine` package.
43
- model_path = "stabilityai-stable-diffusion-2-1-smashed/model" # Step (2): specify the downloaded model path.
44
  smashed_model = PrunaModel.load_model(model_path) # Step (3): load the model.
45
  y = smashed_model(prompt="a silly prune with a face in high definition", image_height=768, image_width=768)[0] # Step (4): run the model.
46
  ```
 
32
  2. Downloading the model files. This can be done using the Hugging Face CLI with the following commands:
33
  ```bash
34
  mkdir stabilityai-stable-diffusion-2-1-smashed
35
+ huggingface-cli download PrunaAI/stabilityai-stable-diffusion-2-1-turbo-green-smashed --local-dir stabilityai-stable-diffusion-2-1-turbo-green-smashed --local-dir-use-symlinks False
36
  ```
37
  Alternatively, you can download them manually.
38
  3. Loading the model.
 
40
  You can achieve this by running the following code:
41
  ```python
42
  from pruna_engine.PrunaModel import PrunaModel # Step (1): install and import `pruna-engine` package.
43
+ model_path = "stabilityai-stable-diffusion-2-1-turbo-green-smashed/model" # Step (2): specify the downloaded model path.
44
  smashed_model = PrunaModel.load_model(model_path) # Step (3): load the model.
45
  y = smashed_model(prompt="a silly prune with a face in high definition", image_height=768, image_width=768)[0] # Step (4): run the model.
46
  ```