Commit Graph

7 Commits

Author SHA1 Message Date
chenjian
42f2e8d22b [Other] Add a interface to get all pretrained models available from hub model server (#1022)
add get model list
2023-01-03 09:45:42 +08:00
chenjian
c8e2f4663d [Bug Fix] fix import error in python3.6 (#608)
fix import error in python3.6
2022-11-16 14:04:24 +08:00
chenjian
0e0838dec5 [Bug Fix] fix import download module error in python3.6 (#591)
fix import download module error in python3.6
2022-11-15 13:19:32 +08:00
Jack Zhou
63b07f2986 [Bug Fix]Remove profile (#579)
remove profile
2022-11-14 15:49:39 +08:00
chenjian
0d0389f8d9 [Other] Update example codes using download_model api (#486)
* update example codes using download_model api

* add resource files to repo

* add resource files to repo

* fix

* reduce unused lib

* fix
2022-11-11 13:35:12 +08:00
Jack Zhou
d4995e5468 [Model] Add stable diffusion model based on fastdeploy (#297)
* Add stable diffusion model base on fastdeploy

* Add sd infer

* pipelines->multimodal

* add create_ort_runtime

* use fp16 input

* fix pil

* Add optimize unet model

* add hf license

* Add workspace args

* Add profile func

* Add schedulers

* usrelace torch.Tenosr  byp.ndarray

* Add readme

* Add trt shape setting

* add dynamic shape

* Add dynamic shape for stable diffusion

* fix max shape setting

* rename tensorrt file suffix

* update dynamic shape setting

* Add scheduler output

* Add inference_steps and benchmark steps

* add diffuser benchmark

* Add paddle infer script

* Rename 1

* Rename infer.py to torch_onnx_infer.py

* Add export torch to onnx model

* renmove export model

* Add paddle export model for diffusion

* Fix export model

* mv torch onnx infer to infer

* Fix export model

* Fix infer

* modif create_trt_runtime create_ort_runtime

* update export torch

* update requirements

* add paddle inference backend

* Fix unet pp run

* remove print

* Add paddle model export and infer

* Add device id

* remove profile to utils

* Add -1 device id

* Add safety checker args

* remove safety checker temporarily

* Add export model description

* Add predict description

* Fix readme

* Fix device_id description

* add timestep shape

* add use fp16 precision

* move use gpu

* Add EulerAncestralDiscreteScheduler

* Use EulerAncestralDiscreteScheduler with v1-5 model

* Add export model readme

* Add link of exported model

* Update scheduler on README

* Addd stable-diffusion-v1-5
2022-11-10 14:59:07 +08:00
chenjian
7e64f4088f [Other] Hub feature: add model hub management for fastdeploy (#453)
* add hub tool for fastdeploy

* fix format

* refactor code

* remove EasyDict

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-11-02 10:22:17 +08:00