File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ RUN dnf config-manager \
9999 libcublas-devel-12-1-${NV_LIBCUBLAS_DEV_VERSION} \
100100 libnpp-devel-12-1-${NV_LIBNPP_DEV_VERSION} \
101101 libnccl-devel-${NV_LIBNCCL_DEV_PACKAGE_VERSION} \
102+ cudnn9-cuda-12 \
102103 && dnf clean all
103104
104105ENV LIBRARY_PATH="$CUDA_HOME/lib64/stubs"
@@ -135,7 +136,8 @@ RUN if [[ -z "${WHEEL_VERSION}" ]]; \
135136RUN --mount=type=cache,target=/home/${USER}/.cache/pip,uid=${USER_UID} \
136137 python -m pip install --user wheel && \
137138 python -m pip install --user "$(head bdist_name)" && \
138- python -m pip install --user "$(head bdist_name)[flash-attn]"
139+ python -m pip install --user "$(head bdist_name)[flash-attn]" && \
140+ python -m pip install --user "$(head bdist_name)[mamba]"
139141
140142# fms_acceleration_peft = PEFT-training, e.g., 4bit QLoRA
141143# fms_acceleration_foak = Fused LoRA and triton kernels
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ dependencies = [
3838" protobuf>=5.28.0,<6.0.0" ,
3939" datasets>=2.15.0,<3.0" ,
4040" simpleeval>=0.9.13,<1.0" ,
41- " mamba_ssm[causal-conv1d] @ git+https://github.com/state-spaces/mamba.git" ,
4241]
4342
4443[project .optional-dependencies ]
@@ -47,6 +46,7 @@ flash-attn = ["flash-attn>=2.5.3,<3.0"]
4746aim = [" aim>=3.19.0,<4.0" ]
4847fms-accel = [" fms-acceleration>=0.1" ]
4948gptq-dev = [" auto_gptq>0.4.2" , " optimum>=1.15.0" ]
49+ mamba = [" mamba_ssm[causal-conv1d] @ git+https://github.com/state-spaces/mamba.git" ]
5050
5151
5252[tool .setuptools .packages .find ]
You can’t perform that action at this time.
0 commit comments