diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9e13957c..6c7e248bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,11 @@ jobs: pytorch: 2.5.1 axolotl_extras: is_latest: true + - cuda: 124 + cuda_version: 12.4.1 + python_version: "3.11" + pytorch: 2.6.0 + axolotl_extras: runs-on: axolotl-gpu-runner steps: - name: Checkout diff --git a/.github/workflows/multi-gpu-e2e.yml b/.github/workflows/multi-gpu-e2e.yml index c3bcc517b..ffd9a86b4 100644 --- a/.github/workflows/multi-gpu-e2e.yml +++ b/.github/workflows/multi-gpu-e2e.yml @@ -34,6 +34,13 @@ jobs: axolotl_extras: num_gpus: 2 nightly_build: "true" + - cuda: 124 + cuda_version: 12.4.1 + python_version: "3.11" + pytorch: 2.6.0 + axolotl_extras: + num_gpus: 2 + nightly_build: "true" runs-on: [self-hosted, modal] timeout-minutes: 120 steps: diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml index 0efeb80b9..c501064d2 100644 --- a/.github/workflows/nightlies.yml +++ b/.github/workflows/nightlies.yml @@ -22,6 +22,11 @@ jobs: python_version: "3.11" pytorch: 2.5.1 axolotl_extras: + - cuda: 124 + cuda_version: 12.4.1 + python_version: "3.11" + pytorch: 2.6.0 + axolotl_extras: runs-on: axolotl-gpu-runner steps: - name: Checkout diff --git a/.github/workflows/tests-nightly.yml b/.github/workflows/tests-nightly.yml index 178b0a4d1..c1d290e60 100644 --- a/.github/workflows/tests-nightly.yml +++ b/.github/workflows/tests-nightly.yml @@ -26,12 +26,14 @@ jobs: max-parallel: 2 matrix: python_version: ["3.10", "3.11"] - pytorch_version: ["2.4.1", "2.5.1"] + pytorch_version: ["2.4.1", "2.5.1", "2.6.0"] exclude: - python_version: "3.10" pytorch_version: "2.4.1" - python_version: "3.10" pytorch_version: "2.5.1" + - python_version: "3.10" + pytorch_version: "2.6.0" timeout-minutes: 20 steps: @@ -112,6 +114,13 @@ jobs: num_gpus: 1 axolotl_extras: nightly_build: "true" + - cuda: 124 + cuda_version: 12.4.1 + python_version: "3.11" + pytorch: 2.6.0 + num_gpus: 1 + axolotl_extras: + nightly_build: "true" steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 709845fc6..320a4534b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,12 +49,14 @@ jobs: max-parallel: 2 matrix: python_version: ["3.10", "3.11"] - pytorch_version: ["2.4.1", "2.5.1"] + pytorch_version: ["2.4.1", "2.5.1", "2.6.0"] exclude: - python_version: "3.10" pytorch_version: "2.4.1" - python_version: "3.10" pytorch_version: "2.5.1" + - python_version: "3.10" + pytorch_version: "2.6.0" timeout-minutes: 20 steps: @@ -127,7 +129,7 @@ jobs: max-parallel: 1 matrix: python_version: ["3.11"] - pytorch_version: ["2.4.1", "2.5.1"] + pytorch_version: ["2.4.1", "2.5.1", "2.6.0"] timeout-minutes: 20 steps: @@ -216,7 +218,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Install Modal run: | python -m pip install --upgrade pip @@ -251,13 +253,19 @@ jobs: pytorch: 2.4.1 num_gpus: 1 axolotl_extras: + - cuda: 124 + cuda_version: 12.4.1 + python_version: "3.11" + pytorch: 2.6.0 + num_gpus: 1 + axolotl_extras: steps: - name: Checkout uses: actions/checkout@v4 - name: Install Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Install Modal run: | python -m pip install --upgrade pip diff --git a/requirements.txt b/requirements.txt index 061229c69..bea221ce2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # START section of dependencies that don't install on Darwin/MacOS -bitsandbytes==0.45.1 +bitsandbytes==0.45.2 triton>=3.0.0 mamba-ssm==1.2.0.post1 flash-attn==2.7.0.post2 diff --git a/setup.py b/setup.py index 370eb7297..6730591c0 100644 --- a/setup.py +++ b/setup.py @@ -71,12 +71,15 @@ def parse_requirements(): else: raise ValueError("Invalid version format") - if (major, minor) >= (2, 5): + if (major, minor) >= (2, 6): + _install_requires.pop(_install_requires.index(xformers_version)) + _install_requires.append("xformers==0.0.29.post2") + elif (major, minor) >= (2, 5): _install_requires.pop(_install_requires.index(xformers_version)) if patch == 0: _install_requires.append("xformers==0.0.28.post2") else: - _install_requires.append("xformers==0.0.28.post3") + _install_requires.append("xformers==0.0.29") _install_requires.pop(_install_requires.index(autoawq_version)) elif (major, minor) >= (2, 4): if patch == 0: