mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Other] Optimize Poros backend (#1232)
* Optimize Poros backend * fix error * Add more pybind * fix conflicts * add some deprecate notices
This commit is contained in:
@@ -51,7 +51,6 @@ if __name__ == '__main__':
|
||||
option.use_poros_backend()
|
||||
option.set_model_path(
|
||||
"std_resnet50_script.pt", model_format=ModelFormat.TORCHSCRIPT)
|
||||
option.is_dynamic = True
|
||||
# compile
|
||||
runtime = fd.Runtime(option)
|
||||
runtime.compile(prewarm_datas)
|
||||
|
Reference in New Issue
Block a user