Skip to content

Commit

Permalink
extract when build
Browse files Browse the repository at this point in the history
Signed-off-by: BaoHuiling <[email protected]>
  • Loading branch information
BaoHuiling committed Aug 16, 2024
1 parent 88545b7 commit 6f367c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comps/lvms/video-llama/server/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN pip install --no-cache-dir --upgrade pip && \

ARG VIDEO_LLAMA_REPO=https://github.com/DAMO-NLP-SG/Video-LLaMA.git
ARG VIDEO_LLAMA_COMMIT=0adb19e
RUN git clone ${VIDEO_LLAMA_REPO} Video-LLaMA && \
RUN tar -xvf video-llama.patch.tar && \
git clone ${VIDEO_LLAMA_REPO} Video-LLaMA && \
cd Video-LLaMA && git checkout ${VIDEO_LLAMA_COMMIT} && \
sed -i '219s/unknow/unknown/' video_llama/conversation/conversation_video.py && \
git apply --whitespace=fix ../video-llama.patch && \
mv video_llama ../ && \
cd ../ && rm -rf Video-LLaMA
Expand Down

0 comments on commit 6f367c8

Please sign in to comment.