mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-25 03:52:08 +00:00
fix clone
This commit is contained in:
parent
5788c942a5
commit
d61f7e63fa
@ -92,14 +92,17 @@ RUN chmod +x ~/mambaforge.sh && \
|
||||
# Install flash-attention, torch dependencies
|
||||
RUN pip install numpy einops ninja --no-cache-dir
|
||||
|
||||
RUN conda install mkl-static mkl-include
|
||||
RUN conda install intel::mkl-static intel::mkl-include
|
||||
RUN pip uninstall -y triton && \
|
||||
git clone --depth 1 --single-branch https://github.com/ROCm/triton.git && \
|
||||
cd triton/python && \
|
||||
pip install .
|
||||
|
||||
RUN git clone --depth 1 --recursive --single-branch --branch main https://github.com/pytorch/pytorch.git pytorch && cd pytorch && pip install -r requirements.txt --no-cache-dir && \
|
||||
git checkout da320214e66b5af0f7db8fd18a64dbb519d17b27
|
||||
RUN git clone --depth 1 --recursive --single-branch --branch main https://github.com/pytorch/pytorch.git pytorch && \
|
||||
cd pytorch && git fetch --depth 1 origin da320214e66b5af0f7db8fd18a64dbb519d17b27 && \
|
||||
git checkout da320214e66b5af0f7db8fd18a64dbb519d17b27 && \
|
||||
pip install -r requirements.txt --no-cache-dir
|
||||
|
||||
|
||||
ARG _GLIBCXX_USE_CXX11_ABI="1"
|
||||
ARG CMAKE_PREFIX_PATH="/opt/conda"
|
||||
|
Loading…
Reference in New Issue
Block a user