Skip to content

Commit 24ac566

Browse files
nitsanlukeoleksost
andauthored
Updating mamba and causal-conv1d to B200 supported commits (#305)
Co-authored-by: oleksost <[email protected]>
1 parent b592613 commit 24ac566

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
pip install "torch>=2.2.2"
3131
pip install pybind11
32-
FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE FLASH_ATTENTION_FORCE_BUILD=TRUE MAMBA_SKIP_CUDA_BUILD=TRUE MAMBA_FORCE_BUILD=TRUE CAUSAL_CONV1D_FORCE_BUILD=TRUE CAUSAL_CONV1D_SKIP_CUDA_BUILD=TRUE pip install --no-build-isolation -e ".[CORE,OPTIONAL,DEV,DOCS]"
32+
FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE FLASH_ATTENTION_FORCE_BUILD=TRUE MAMBA_SKIP_CUDA_BUILD=TRUE MAMBA_FORCE_BUILD=TRUE CAUSAL_CONV1D_FORCE_BUILD=TRUE CAUSAL_CONV1D_SKIP_CUDA_BUILD=TRUE pip install --no-build-isolation -e ".[CORE,HUGGINGFACE,OPTIONAL,DEV,DOCS]"
3333
3434
- name: Run tests
3535
run: pytest .

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ ENV PIP_CONSTRAINT=""
2929
# There is no pre-build mamba image for pytorch 2.8, we build it before the rest to avoid rebuilds.
3030
# We need to compile from the repo because of https://github.com/state-spaces/mamba/issues/720 (same for causal-conv1d)
3131
# We set the number of workers to avoid OOM when compiling on laptop. (TODO: Can we make it configurable?)
32-
RUN MAX_JOBS=4 pip install --no-build-isolation "causal-conv1d@git+https://github.com/Dao-AILab/causal-conv1d[email protected]"
33-
RUN MAX_JOBS=4 pip install --no-build-isolation "mamba_ssm[causal-conv1d]@git+https://github.com/state-spaces/mamba@v2.2.4"
32+
RUN MAX_JOBS=4 pip install --no-build-isolation "causal-conv1d@git+https://github.com/Dao-AILab/causal-conv1d@4f24472"
33+
RUN MAX_JOBS=4 pip install --no-build-isolation "mamba_ssm[causal-conv1d]@git+https://github.com/state-spaces/mamba@74729d0"
3434
# Copy dependency files with universal write permissions for all users.
3535
COPY --chmod=777 setup.py setup.cfg pyproject.toml ./
3636
COPY --chmod=777 ./fast_llm/__init__.py fast_llm/

0 commit comments

Comments
 (0)