Download python_embeded/Lib/site-packages/bitsandbytes/consts.py from hxrron/VTONmodels: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/bitsandbytes/consts.py
- Command line
-
hf download hf://hxrron/VTONmodels/python_embeded/Lib/site-packages/bitsandbytes/consts.py
-
curl -L -o consts.py https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/bitsandbytes/consts.py
392 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" | |