capabilities are downwards compatible. If no GPUs are detected, it returns
capabilities are downwards compatible. If no GPUs are detected, it returns
None.
None.
"""
"""
ccs=get_compute_capabilities(cuda)
ifcudaisNone:returnNone
ifccs:
# TODO: handle different compute capabilities; for now, take the max
# TODO: handle different compute capabilities; for now, take the max
returnccs[-1]
ccs=get_compute_capabilities(cuda)
returnNone
ifccs:returnccs[-1]
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')