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
OpenDAS
LightX2V
Commits
2f271d0e
"vscode:/vscode.git/clone" did not exist on "c944f0651f679728d4ec7b6488120ac49c2f1315"
Commit
2f271d0e
authored
Dec 11, 2025
by
xuwx1
Browse files
Update set_ai_device.py
parent
f8e1a2ec
Pipeline
#3155
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lightx2v_platform/set_ai_device.py
lightx2v_platform/set_ai_device.py
+1
-1
No files found.
lightx2v_platform/set_ai_device.py
View file @
2f271d0e
...
@@ -4,7 +4,7 @@ from lightx2v_platform import *
...
@@ -4,7 +4,7 @@ from lightx2v_platform import *
def
set_ai_device
():
def
set_ai_device
():
platform
=
os
.
getenv
(
"PLATFORM"
,
"cuda"
)
platform
=
"cuda"
init_ai_device
(
platform
)
init_ai_device
(
platform
)
from
lightx2v_platform.base.global_var
import
AI_DEVICE
from
lightx2v_platform.base.global_var
import
AI_DEVICE
...
...
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