Upload folder using huggingface_hub
#3
by
sharpenb
- opened
- README.md +2 -2
- model/optimized_model.pkl +2 -2
- plots.png +0 -0
README.md
CHANGED
@@ -63,9 +63,9 @@ You can run the smashed model with these steps:
|
|
63 |
```python
|
64 |
from pruna_engine.PrunaModel import PrunaModel
|
65 |
|
66 |
-
model_path = "
|
67 |
smashed_model = PrunaModel.load_model(model_path) # Load the model.
|
68 |
-
|
69 |
```
|
70 |
|
71 |
## Configurations
|
|
|
63 |
```python
|
64 |
from pruna_engine.PrunaModel import PrunaModel
|
65 |
|
66 |
+
model_path = "runwayml-stable-diffusion-v1-5-turbo-tiny-green-smashed/model" # Specify the downloaded model path.
|
67 |
smashed_model = PrunaModel.load_model(model_path) # Load the model.
|
68 |
+
smashed_model(prompt='Beautiful fruits in trees', image_height=1024, image_width=1024)[0][0] # Run the model where x is the expected input of.
|
69 |
```
|
70 |
|
71 |
## Configurations
|
model/optimized_model.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:838dcdb516f2924e875de850ebc8480a694976a6fef534a11a7201ddd370fac5
|
3 |
+
size 2743389078
|
plots.png
CHANGED