fix: fixed dml typo

This commit is contained in:
SWHL authored and GitHub committed 2026-05-22 14:45:35 +08:00
1 parent 00f71b2d5e
commit 7b2d368ac6
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ EngineConfig:
do_copy_in_default_stream: true
use_dml: false
dm_ep_cfg: null
dml_ep_cfg: null
use_cann: false
cann_ep_cfg:
@@ -59,8 +59,8 @@ class ProviderConfig:
return dict(self.cfg.cuda_ep_cfg)
def dml_ep_cfg(self) -> Dict[str, Any]:
if self.cfg.dm_ep_cfg is not None:
return self.cfg.dm_ep_cfg
if self.cfg.dml_ep_cfg is not None:
return self.cfg.dml_ep_cfg
if self.is_cuda_available():
return self.cuda_ep_cfg()
+1 -1
View File
@@ -35,7 +35,7 @@ EngineConfig:
do_copy_in_default_stream: true
use_dml: false
dm_ep_cfg: null
dml_ep_cfg: null
use_cann: false
cann_ep_cfg: