1. 11 Aug, 2025 3 commits
  2. 06 Aug, 2025 2 commits
  3. 04 Aug, 2025 1 commit
  4. 02 Aug, 2025 2 commits
  5. 31 Jul, 2025 1 commit
  6. 21 Jul, 2025 4 commits
  7. 14 Jul, 2025 11 commits
  8. 11 Jul, 2025 2 commits
  9. 08 Jul, 2025 2 commits
  10. 03 Jul, 2025 1 commit
  11. 02 Jul, 2025 1 commit
  12. 01 Jul, 2025 4 commits
    • Michał Górny's avatar
      Automatically call CMake as part of PEP 517 build (#1512) · ed9c8fca
      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
      ed9c8fca
    • Matthew Douglas's avatar
      CI: Test with PyTorch 2.8.0 RC (#1693) · ed398d28
      Matthew Douglas authored
      * Add torch 2.8 rc / 2.9 nightly to tests
      
      * Update tests.yml
      
      * Update tests.yml
      ed398d28
    • Matthew Douglas's avatar
      Update README.md · e28d4d91
      Matthew Douglas authored
      e28d4d91
    • jiqing-feng's avatar
      bdcee0ff
  13. 30 Jun, 2025 1 commit
  14. 27 Jun, 2025 1 commit
    • Matthew Douglas's avatar
      Add CUDA 12.9 build (#1689) · 1abd5e78
      Matthew Douglas authored
      * Add CUDA 12.9 to build/test workflows
      
      * Downgrade Jimver/cuda-toolkit to v0.2.24
      
      * Update python-package.yml
      
      * Update python-package.yml
      
      * Update python-package.yml
      
      * Update tests.yml
      
      * Update tests.yml
      1abd5e78
  15. 24 Jun, 2025 1 commit
  16. 23 Jun, 2025 1 commit
  17. 20 Jun, 2025 1 commit
    • pnunna93's avatar
      Enable ROCm backend with custom ops integration (#1683) · 888788d7
      pnunna93 authored
      
      
      * Port ROCm changes from multi-backend-refactor branch
      
      * Update ops.py
      
      * Update functional.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update functional.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update functional.py
      
      * Update functional.py
      
      * Update functional.py
      
      * Update functional.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update functional.py
      
      * Update functional.py
      
      * Update functional.py
      
      * Update test_ops.py
      
      * Update test_functional.py
      
      * Update test_ops.py
      
      * Update test_functional.py
      
      * Update test_functional.py
      
      * Update functional.py
      
      * Update functional.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update test_functional.py
      
      * Update test_functional.py
      
      * Update cextension.py
      
      * Update cuda_specs.py
      
      * Update cuda_specs.py
      
      * Update test_functional.py
      
      * Update test_linear4bit.py
      
      * Update test_cuda_setup_evaluator.py
      
      * Update test_functional.py
      
      * Update modules.py
      
      * Update modules.py
      
      * Update ops.py
      
      * Update test_linear4bit.py
      
      * Update ops.py
      
      * Update ops.py
      
      * Update test_linear4bit.py
      
      * Update test_linear4bit.py
      
      * Update python-package.yml
      
      * Update python-package.yml
      
      * Update python-package.yml
      
      * Update python-package.yml
      
      * Create build-rocm.sh
      
      * Update cuda_specs.py
      
      * Fix trailing whitespace
      
      * Remove conflicts.diff
      
      * update for hipblasVersionMajor >=3
      
      * Update test_functional.py
      
      * Update test_linear4bit.py
      
      * Update test_ops.py
      
      * Update main.py
      
      * Update test_functional.py
      
      * Update test_linear4bit.py
      
      * Update test_ops.py
      
      * Update test_linear4bit.py
      
      * Lint
      
      * Lint
      
      * Update helpers.py
      
      * Update test_functional.py
      
      * Update test_linear4bit.py
      
      * Update test_ops.py
      
      * Lint
      
      * Update pythonInterface.cpp
      
      * lint fix
      
      * lint
      
      * Update pythonInterface.cpp
      
      * revert permissions change
      
      * Fix indentation
      
      * Update kernels_hip.cuh
      
      * Update kernels.hip
      
      * Update ops.hip
      
      * Update ops_hip.cuh
      
      * Update kernels_hip.cuh
      
      * Update kernels.hip
      
      * Update kernels.hip
      
      * Update ops.hip
      
      * Update ops_hip.cuh
      
      * Update ops.hip
      
      * Update CMakeLists.txt
      
      * Update functional.py
      
      * Update cextension.py
      
      * Update cextension.py
      
      ---------
      Co-authored-by: default avatarMISHANMAURYA <118961433+MISHANMAURYA@users.noreply.github.com>
      Co-authored-by: default avatarMISHANMAUYRA <mishanmaurya31081@gmail.com>
      Co-authored-by: default avataramcamd <andrew.chapman@amd.com>
      Co-authored-by: default avatarPrasanth Nunna <root@banff-cyxtera-s78-1.amd.com>
      888788d7
  18. 19 Jun, 2025 1 commit