-
Notifications
You must be signed in to change notification settings - Fork 692
C lib loading: add fallback with sensible error msg #1615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
CASE 1 - missing deps (reproduced by deleting some linked libs and installing torch version with a different packaged cuda major version):
|
case 2 - custom configured CUDA version (other than PyTorch CUDA version):
|
case 3 - no BNB CUDA native lib but CUDA detected (through PyTorch):
|
case 4a - no fitting CUDA lib relative to PyTorch-detected CUDA installation:
case 4b - custom BNB_CUDA_VERSION=124 and cuda detected only difference is in this part
|
fixes #1548
related to #693 #853 #1189
#1210
#1260
#1281
#1427
#1467
#1607