Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Repository
2e693f48e7bd6fa621c8ce2c753ae76360793a04
Switch branch/tag
vllm_cscc
tools
pre_commit
check_torch_cuda.py
Find file
Blame
History
Permalink
replace `with torch.cuda.device` with `with torch.accelerator.device_index` (#36144)
· 894843eb
Yan Ma
authored
Mar 12, 2026
Signed-off-by:
Yan Ma
<
yan.ma@intel.com
>
894843eb
check_torch_cuda.py
1.34 KB
Edit
Web IDE
Replace check_torch_cuda.py
×
Attach a file by drag & drop or
click to upload
Commit message
Replace check_torch_cuda.py
Replace file
Cancel
A new branch will be created in your fork and a new merge request will be started.