Skip to content

Commit 3afde20

Browse files
committed
add manual torch install to the dockerfile
Signed-off-by: Dushyant Behl <[email protected]>
1 parent 1bb7e10 commit 3afde20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,9 @@ ENV PIP_NO_BINARY=mamba-ssm,mamba_ssm
155155
# Install from the wheel
156156
RUN --mount=type=cache,target=/home/${USER}/.cache/pip,uid=${USER_UID} \
157157
python -m pip install --user wheel && \
158-
python -m pip install --user "$(head bdist_name)" && \
159-
python -m pip install --user "$(head bdist_name)[flash-attn]" && \
158+
python -m pip install --user "$(head bdist_name)"
159+
160+
RUN python -m pip install --user --no-build-isolation "$(head bdist_name)[flash-attn]" && \
160161
python -m pip install --user --no-build-isolation "$(head bdist_name)[mamba]"
161162

162163
# fms_acceleration_peft = PEFT-training, e.g., 4bit QLoRA

0 commit comments

Comments
 (0)