Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P58771
gpu_is_available
Active
Public
Actions
Authored by
achou
on Mar 12 2024, 2:07 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F42574883: gpu_is_available
Mar 12 2024, 2:07 PM
2024-03-12 14:07:27 (UTC+0)
Subscribers
None
>>> gpu_is_available()
ERROR:root:An exception occurred when detecting if a GPU is available
Traceback (most recent call last):
File "/srv/revert_risk_model/python/resource_utils.py", line 53, in gpu_is_available
platforms = pyopencl.get_platforms()
pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
Event Timeline
achou
created this paste.
Mar 12 2024, 2:07 PM
2024-03-12 14:07:27 (UTC+0)
Log In to Comment