capabilities are downwards compatible. If no GPUs are detected, it returns
capabilities are downwards compatible. If no GPUs are detected, it returns
None.
None.
"""
"""
ifcudaisNone:returnNone
# TODO: handle different compute capabilities; for now, take the max
ccs=get_compute_capabilities(cuda)
ccs=get_compute_capabilities(cuda)
ifccs:
ifccs:returnccs[-1]
# TODO: handle different compute capabilities; for now, take the max
returnccs[-1]
returnNone
defevaluate_cuda_setup():
defevaluate_cuda_setup():
...
@@ -113,28 +116,31 @@ def evaluate_cuda_setup():
...
@@ -113,28 +116,31 @@ def evaluate_cuda_setup():
#print('Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues')
#print('Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues')
#print('For effortless bug reporting copy-paste your error into this form: https://docs.google.com/forms/d/e/1FAIpQLScPB8emS3Thkp66nvqwmjTEgxp8Y9ufuWTzFyr9kJ5AoI47dQ/viewform?usp=sf_link')
#print('For effortless bug reporting copy-paste your error into this form: https://docs.google.com/forms/d/e/1FAIpQLScPB8emS3Thkp66nvqwmjTEgxp8Y9ufuWTzFyr9kJ5AoI47dQ/viewform?usp=sf_link')