Skip to content

Commit 3c06deb

Browse files
fix: folder location for clip again
1 parent 07d3ba0 commit 3c06deb

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ RUN --mount=type=cache,target=/root/.cache/pip \
3333
git reset --hard v1.9.4 && \
3434
mkdir -p openai && \
3535
cd openai && \
36-
git init && \
37-
git remote add origin https://huggingface.co/openai/clip-vit-large-patch14 && \
38-
git fetch origin 32bd64288804d66eefd0ccbe215aa642df71cc41 --depth=1 && \
36+
git clone https://huggingface.co/openai/clip-vit-large-patch14 && \
37+
cd clip-vit-large-patch14 && \
3938
git reset --hard 32bd64288804d66eefd0ccbe215aa642df71cc41 && \
4039
rm -rf .git && \
41-
cd .. && \
40+
cd ../.. && \
4241
pip install -r requirements_versions.txt && \
4342
pip install --upgrade "typing_extensions>=4.6.0"
4443

0 commit comments

Comments
 (0)