- 30 Sep, 2025 1 commit
-
-
Matthew Douglas authored
-
- 11 Aug, 2025 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
-
- 01 Jul, 2025 1 commit
-
-
Michał Górny authored
* Automatically call CMake as part of PEP 517 build Call CMake and build the CPU extension when invoking the build via a PEP 517 backend, to ensure that at least some extension is built when users are building from source. This improves consistency with other Python packages, and reduces the risk of accidents. We are using `scikit-build-core` setuptools plugin to take care of CMake dependencies and call into CMake. However, we need to modify the `build_py` command to ensure that CMake is called prior to the setuptools command, as otherwise the newly built shared library won't be picked up by `build_py`. Since setuptools is still responsible for collecting the Python package, it also collects all other shared libraries that were built earlier, for example via manual CMake calls as done in the CI pipeline. Furthermore, if the user does not have `scikit-build-core` installed and calls `setup.py` directly, we output a warning but continue working as before. The logic can be further extended in the future, for example to detect the best COMPUTE_BACKEND default. Fixes #1511 * Include C sources and build files in source distribution * Fix formatting
-
- 02 Jun, 2025 1 commit
-
-
Matthew Douglas authored
-
- 27 May, 2025 1 commit
-
-
Matthew Douglas authored
-
- 10 Apr, 2025 1 commit
-
-
Matthew Douglas authored
-
- 25 Mar, 2025 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
-
- 24 Feb, 2025 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
-
- 06 Feb, 2025 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
-
- 23 Jan, 2025 1 commit
-
-
Matthew Douglas authored
-
- 17 Dec, 2024 1 commit
-
-
Saurav Maheshkar authored
* chore: move configs to pyproject.toml * fix: drop file from CI workflow * feat: reorder pytest markers * chore: retain comments * chore(build): migrate build data to pyproject Co-authored-by:
Matthew Douglas <38992547+matthewdouglas@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Aarni Koskela <akx@iki.fi> * chore: move configs to pyproject.toml * Apply suggestions from code review Co-authored-by:
Aarni Koskela <akx@iki.fi> * bump ruff --------- Co-authored-by:
Matthew Douglas <38992547+matthewdouglas@users.noreply.github.com> Co-authored-by:
Aarni Koskela <akx@iki.fi>
-
- 10 Dec, 2024 1 commit
-
-
Matthew Douglas authored
-
- 05 Dec, 2024 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
* Start of int8 refactor: remove col32/col_ampere/col_turing transforms in new igemmlt implementation * Fix unintended change * New naive mm_dequant kernel for row-major; cleanup * fix * int8 refactor: initial sparse decomp, cleanup * Int8 refactoring: remove separate NO_CUBLASLT build; more cleanup * int8: inference optimizations, some cleanup * int8: more tests passing, cleanup * int8 - more cleanup, most tests passing * int8: specify CUDA stream for int8 ops * perf: reduce overhead from getting cudaStream ptr * Mark some functions for deprecation. * int8 sparse decomp: small perf improvement * update setup.py * Update bitsandbytes/autograd/_functions.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update bitsandbytes/research/autograd/_functions.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * int8 - perf improvement for sparse decomposition inference; deprecate get_tensor_stream() in favor of new private fn * int8 cleanup * Ignore ruff rule ISC001 (incompatible with formatter) * add comment * int8 more cleanup * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * int8: rename / deprecate old fn signatures * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * type annotation * format update * Update bitsandbytes/research/autograd/_functions.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * cleanup * Add comment to explain division optimization * more cleanup * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update bitsandbytes/functional.py Co-authored-by:
Aarni Koskela <akx@iki.fi> * cleanup * Type annotations, cleanup * remove unused kernels; improved type annotations * small perf optimization for single-GPU systems * small perf optimization for single-GPU systems * update docstrings * Improve docs and tests * Update docstring * Update test * add benchmarking script * test cleanup: add deprecated marker, move benchmarks out * Add int8 dequant function; misc improvements * int8 matmul fallback for inner dims not divisible by 4 * improve register usage of kInt8VectorQuant - especially for A100/H100 * disable fail-fast for package build * maxwell compat * ptxas verbose * docs update * doc update * backward fix * Bugfix sparse decomp * Int8 fix for PEFT OLoRA init * Fix test for deprecated spmm_coo * test improvement * doc update * typo * doc cleanup * docs * add inference benchmark script * Add benchmarks, doc update --------- Co-authored-by:
Aarni Koskela <akx@iki.fi>
-
- 14 Nov, 2024 1 commit
-
-
Matthew Douglas authored
-
- 30 Sep, 2024 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
-
- 24 Sep, 2024 2 commits
-
-
Matthew Douglas authored
-
Matthew Douglas authored
-
- 11 Sep, 2024 1 commit
-
-
Titus von Koeller authored
-
- 21 Aug, 2024 1 commit
-
-
Titus von Koeller authored
-
- 30 Jul, 2024 1 commit
-
-
Titus von Koeller authored
-
- 23 Jul, 2024 2 commits
-
-
Titus von Koeller authored
-
Titus von Koeller authored
-
- 11 Apr, 2024 2 commits
-
-
Titus von Koeller authored
-
Titus von Koeller authored
-
- 08 Mar, 2024 2 commits
-
-
Titus von Koeller authored
-
Titus von Koeller authored
-
- 05 Feb, 2024 1 commit
-
-
Rickard authored
* Make native code portable and add GitHub workflow for building * Removed deprecated Python versions * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml Co-authored-by:
Aarni Koskela <akx@iki.fi> * Update python-package.yml * Do not test on Python 3.13 until released * Update python-package.yml * Update python-package.yml * Update python-package.yml * Update python-package.yml * Refactor build stage * Fixed breaking actions change * Slim down Windows cuda * Create dependabot.yml * Bespoke local dev requirements.txt * Enable VS integration * Group Dependabot updates * Cleanup * Update python-package.yml * Reinstate file that was wrongly merged * Fixed regression caused by new version of download-artifact * Update python-package.yml * Update python-package.yml * Fix matrix * Update python-package.yml * Merge * Pipeline * Fixed conflict * Fixed conflict * Update CMakeLists.txt * Fixed merge error * cleanup * cleanup * Find CUDA * Fix * Fixing merge error from latest merge from main * Fix setup.py * Fixed typo in artifact name * Remove linker flags * Build nocublaslt versions * Fixed formatting * Fixed VS Code format on save * Ran format on save from VScode * Re-saved the json files using the new settings * Re-saved CMakeLists.txt to get formatting right * Add path filter * Formatting --------- Co-authored-by:
Aarni Koskela <akx@iki.fi>
-
- 01 Feb, 2024 2 commits
-
-
Titus authored
-
Won-Kyu Park authored
* add a comment suggested by @akx (2024/01/30) Co-authored-by:Aarni Koskela <akx@iki.fi>
-
- 30 Jan, 2024 1 commit
-
-
Aarni Koskela authored
* Adjust Ruff configuration * do not autofix always * be less strict around tests and benchmarks * adjust ignores for now * Ruff: autofix I and F401 * Apply ruff autofixes * Fix RUF013 complaint * Fix mutable default in replace_linear * Don't use bare except * Wrap bitsandbytes.__main__ entrypoint in function; fix "sensible" typo * Fix ruff B008 (function call in arguments) * Add ruff noqas as suitable * Fix RUF005 (splat instead of concatenating) * Fix B018 (useless expression) * Add pre-commit configuration + GitHub Actions lint workflow * Fix unused `e` in bitsandbytes/__main__.py * fix merge conflict resolution error * run pre-commit hook --------- Co-authored-by:Titus <9048635+Titus-von-Koeller@users.noreply.github.com>
-
- 29 Jan, 2024 1 commit
-
-
Aarni Koskela authored
-
- 26 Jan, 2024 1 commit
-
-
Won-Kyu Park authored
* fix library loading Signed-off-by:
Won-Kyu Park <wkpark@gmail.com> * fixed library loading * use os.pathsep * use glob(), search CUDA_PATH * call find_file_recursive() without ext --------- Signed-off-by:
Won-Kyu Park <wkpark@gmail.com> Co-authored-by:
James Wyatt <Jamezo97@gmail.com>
-
- 24 Jan, 2024 1 commit
-
-
Animesh Kumar authored
-
- 23 Jan, 2024 1 commit
-
-
Charles Coulombe authored
* Added install requirements to setup * Update setup.py Co-authored-by:
Aarni Koskela <akx@iki.fi> --------- Co-authored-by:
Aarni Koskela <akx@iki.fi>
-