You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/main.py](https://localhost:8080/#) in get_compute_capability(cuda)
106 if ccs is not None:
107 # TODO: handle different compute capabilities; for now, take the max
--> 108 return ccs[-1]
109 return None
110
IndexError: list index out of range
Lookinginindexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/Collectingbitsandbytes==0.33.0Downloadingbitsandbytes-0.33.0-py3-none-any.whl (55.9MB)
|████████████████████████████████|55.9MB214kB/sInstallingcollectedpackages: bitsandbytesSuccessfullyinstalledbitsandbytes-0.33.0===================================BUGREPORT===================================Welcometobitsandbytes. Forbugreports, pleasesubmityourerrortraceto: https://github.com/TimDettmers/bitsandbytes/issuesForeffortlessbugreportingcopy-pasteyourerrorintothisform: https://docs.google.com/forms/d/e/1FAIpQLScPB8emS3Thkp66nvqwmjTEgxp8Y9ufuWTzFyr9kJ5AoI47dQ/viewform?usp=sf_link================================================================================CUDA_SETUP: WARNING! libcudart.sonotfoundinanyenvironmentalpath. Searching/usr/local/cuda/lib64...
CUDASETUP: CUDAruntimepathfound: /usr/local/cuda/lib64/libcudart.soCUDAexception! Errorcode: noCUDA-capabledeviceisdetectedCUDAexception! Errorcode: initializationerror/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/paths.py:21: UserWarning: WARNING: Thefollowingdirectorieslistedinyourpathwerefoundtobenon-existent: {PosixPath('/usr/local/nvidia/lib64'), PosixPath('/usr/local/nvidia/lib')}
"WARNING: The following directories listed in your path were found to "/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/paths.py:99: UserWarning: /usr/local/nvidia/lib:/usr/local/nvidia/lib64didnotcontainlibcudart.soasexpected! Searchingfurtherpaths...
f'{candidate_env_vars["LD_LIBRARY_PATH"]} did not contain '/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/paths.py:21: UserWarning: WARNING: Thefollowingdirectorieslistedinyourpathwerefoundtobenon-existent: {PosixPath('"172.28.0.3","jupyterArgs"'), PosixPath('true}'), PosixPath('6000,"kernelManagerProxyHost"'), PosixPath('["--ip=172.28.0.2"],"debugAdapterMultiplexerPath"'), PosixPath('{"kernelManagerProxyPort"'), PosixPath('"/usr/local/bin/dap_multiplexer","enableLsp"')}
"WARNING: The following directories listed in your path were found to "/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/paths.py:21: UserWarning: WARNING: Thefollowingdirectorieslistedinyourpathwerefoundtobenon-existent: {PosixPath('/env/python')}
"WARNING: The following directories listed in your path were found to "/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/paths.py:21: UserWarning: WARNING: Thefollowingdirectorieslistedinyourpathwerefoundtobenon-existent: {PosixPath('module'), PosixPath('//ipykernel.pylab.backend_inline')}
"WARNING: The following directories listed in your path were found to "---------------------------------------------------------------------------IndexErrorTraceback (mostrecentcalllast)
[<ipython-input-1-e9a23814d8e9>](https://localhost:8080/#) in <module>1get_ipython().system('pip install bitsandbytes==0.33.0')
---->2importbitsandbytes7frames
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/__init__.py](https://localhost:8080/#) in <module>4# LICENSE file in the root directory of this source tree.5---->6from .autograd._functionsimport (
7MatmulLtState,
8bmm_cublas,
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/autograd/_functions.py](https://localhost:8080/#) in <module>1importoperator2importtorch---->3importbitsandbytes.functionalasF45fromdataclassesimportdataclass
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/functional.py](https://localhost:8080/#) in <module>11fromtorchimportTensor12--->13from .cextensionimportCOMPILED_WITH_CUDA, lib14fromfunctoolsimportreduce# Required in Python 315
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/cextension.py](https://localhost:8080/#) in <module>3940--->41lib=CUDALibrary_Singleton.get_instance().lib42try:
43lib.cadam32bit_g32
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/cextension.py](https://localhost:8080/#) in get_instance(cls)35ifcls._instanceisNone:
36cls._instance=cls.__new__(cls)
--->37cls._instance.initialize()
38returncls._instance39
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/cextension.py](https://localhost:8080/#) in initialize(self)1314definitialize(self):
--->15binary_name=evaluate_cuda_setup()
16package_dir=Path(__file__).parent17binary_path=package_dir/binary_name
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/main.py](https://localhost:8080/#) in evaluate_cuda_setup()130print(f"CUDA SETUP: CUDA runtime path found: {cudart_path}")
131cuda=get_cuda_lib_handle()
-->132cc=get_compute_capability(cuda)
133print(f"CUDA SETUP: Highest compute capability among GPUs detected: {cc}")
134cuda_version_string=get_cuda_version(cuda, cudart_path)
[/usr/local/lib/python3.7/dist-packages/bitsandbytes/cuda_setup/main.py](https://localhost:8080/#) in get_compute_capability(cuda)106ifccsisnotNone:
107# TODO: handle different compute capabilities; for now, take the max-->108returnccs[-1]
109returnNone110IndexError: listindexoutofrange
The text was updated successfully, but these errors were encountered:
In a blank colab CPU noteboook, you can install like this,
but the import fails
Here's the example colab notebook
Full traceback
The text was updated successfully, but these errors were encountered: