Skip to content

Commit

Permalink
upgrade olive-ai to 0.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Aug 27, 2023
1 parent 08994e3 commit 9c78894
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions configs/olive_optimize/config_safety_checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
},
"optimize": {
"type": "OrtTransformersOptimization",
"disable_search": true,
"config": {
"model_type": "unet",
"float16": true,
Expand Down
1 change: 1 addition & 0 deletions configs/olive_optimize/config_text_encoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
},
"optimize": {
"type": "OrtTransformersOptimization",
"disable_search": true,
"config": {
"model_type": "clip",
"float16": true,
Expand Down
1 change: 1 addition & 0 deletions configs/olive_optimize/config_unet.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
},
"optimize": {
"type": "OrtTransformersOptimization",
"disable_search": true,
"config": {
"model_type": "unet",
"float16": true,
Expand Down
1 change: 1 addition & 0 deletions configs/olive_optimize/config_vae_decoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
},
"optimize": {
"type": "OrtTransformersOptimization",
"disable_search": true,
"config": {
"model_type": "vae",
"float16": true,
Expand Down
1 change: 1 addition & 0 deletions configs/olive_optimize/config_vae_encoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
},
"optimize": {
"type": "OrtTransformersOptimization",
"disable_search": true,
"config": {
"model_type": "vae",
"float16": true,
Expand Down
13 changes: 12 additions & 1 deletion requirements_olive.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
accelerate
diffusers
numpy
onnx
optuna
optimum
pandas
pydantic<2.0.0
protobuf<4.0.0
pyyaml
torch==1.13.1
torchvision==0.14.1
torch-directml==0.1.13.1.dev230413
protobuf==3.20.3
torchmetrics~=0.10.0
transformers

0 comments on commit 9c78894

Please sign in to comment.