Skip to content

Commit 8faa2c6

Browse files
whollochencjcj
authored andcommitted
Fix device string mismatch for Metax (maca) devices (flagos-ai#268)
1 parent 3b0f83f commit 8faa2c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugin/torch/flagcx/include/backend_flagcx.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class flagcxBackend : public Backend {
182182
#elif USE_CAMBRICON_ADAPTOR
183183
devName = "mlu";
184184
#elif USE_METAX_ADAPTOR
185-
devName = "maca";
185+
devName = "cuda";
186186
#elif USE_MUSA_ADAPTOR
187187
devName = "musa";
188188
#elif USE_DU_ADAPTOR
@@ -230,4 +230,4 @@ class flagcxBackend : public Backend {
230230
Fn fn, OpType opType);
231231
};
232232

233-
} // namespace c10d
233+
} // namespace c10d

0 commit comments

Comments
 (0)