Skip to content

Commit ec3d4c7

Browse files
committed
fix: valid_directml_backends
1 parent 2507a17 commit ec3d4c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastdeploy/fastdeploy_model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class FASTDEPLOY_DECL FastDeployModel {
4747
std::vector<Backend> valid_timvx_backends = {};
4848
/** Model's valid directml backends. This member defined all the onnxruntime directml backends have successfully tested for the model
4949
*/
50-
std::vector<Backend> valid_directml_backends = {};
50+
std::vector<Backend> valid_directml_backends = {Backend::ORT};
5151
/** Model's valid ascend backends. This member defined all the cann backends have successfully tested for the model
5252
*/
5353
std::vector<Backend> valid_ascend_backends = {};

0 commit comments

Comments
 (0)