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 @@ -47,8 +47,9 @@ RUN pip install --upgrade --force-reinstall torch torchaudio torchvision --index
4747# Install main package + flash attention
4848COPY . ${SOURCE_DIR}
4949RUN cd ${SOURCE_DIR}
50- RUN pip install --no-cache-dir ${SOURCE_DIR} && \
51- pip install --no-cache-dir ${SOURCE_DIR}[flash-attn]
50+
51+ RUN pip install --no-cache-dir ${SOURCE_DIR}
52+ RUN pip install --user --no-build-isolation ${SOURCE_DIR}[flash-attn]
5253
5354# Optional extras
5455RUN if [[ "${ENABLE_FMS_ACCELERATION}" == "true" ]]; then \
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ dependencies = [
3030" accelerate>=1.9.0,<2.0.0" ,
3131" transformers>=4.55.0,<=4.55.4" ,
3232" torch>2.7.0,<2.9.0" ,
33+ " torchvision<0.24" ,
3334" sentencepiece>=0.1.99,<0.3" ,
3435" tokenizers<=0.22" ,
3536" tqdm>=4.66.2,<5.0" ,
You can’t perform that action at this time.
0 commit comments