Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
infinilm
Commits
04c37f3f
Commit
04c37f3f
authored
Feb 12, 2026
by
zhushuang
Committed by
thatPepe
Feb 12, 2026
Browse files
issue/229 - fix: fix inference_server.py for moore gpu
parent
f053fe1d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
python/infinilm/llm/llm.py
python/infinilm/llm/llm.py
+1
-1
python/infinilm/server/inference_server.py
python/infinilm/server/inference_server.py
+1
-1
No files found.
python/infinilm/llm/llm.py
View file @
04c37f3f
...
...
@@ -138,7 +138,7 @@ class LLMEngine:
def
_init_device
(
self
):
"""Initialize infinicore device and dtype."""
supported_devices
=
[
"cpu"
,
"cuda"
,
"mlu"
,
"m
oore
"
]
supported_devices
=
[
"cpu"
,
"cuda"
,
"mlu"
,
"m
usa
"
]
device_str
=
self
.
config
.
device
if
device_str
not
in
supported_devices
:
raise
ValueError
(
...
...
python/infinilm/server/inference_server.py
View file @
04c37f3f
...
...
@@ -624,7 +624,7 @@ def main():
elif
args
.
metax
:
device
=
"cuda"
elif
args
.
moore
:
device
=
"m
oore
"
device
=
"m
usa
"
elif
args
.
iluvatar
:
device
=
"cuda"
elif
args
.
cambricon
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment