Download venv/lib/python3.11/site-packages/bitsandbytes/consts.py from nanaj/SECourses_Musubi_Trainer_Setup: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/nanaj/SECourses_Musubi_Trainer_Setup/resolve/main/venv/lib/python3.11/site-packages/bitsandbytes/consts.py
- Command line
-
hf download hf://nanaj/SECourses_Musubi_Trainer_Setup/venv/lib/python3.11/site-packages/bitsandbytes/consts.py
-
curl -L -o consts.py https://huggingface.co/nanaj/SECourses_Musubi_Trainer_Setup/resolve/main/venv/lib/python3.11/site-packages/bitsandbytes/consts.py
380 Bytes
| from pathlib import Path | |
| import platform | |
| DYNAMIC_LIBRARY_SUFFIX = { | |
| "Darwin": ".dylib", | |
| "Linux": ".so", | |
| "Windows": ".dll", | |
| }.get(platform.system(), ".so") | |
| PACKAGE_DIR = Path(__file__).parent | |
| PACKAGE_GITHUB_URL = "https://github.com/TimDettmers/bitsandbytes" | |
| NONPYTORCH_DOC_URL = "https://github.com/TimDettmers/bitsandbytes/blob/main/docs/source/nonpytorchcuda.mdx" | |