Spaces:
Runtime error
Runtime error
Create clip.sh
Browse files
clip.sh
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!git clone --recurse-submodules https://github.com/monatis/clip.cpp.git
|
2 |
+
cd clip.cpp
|
3 |
+
mkdir build
|
4 |
+
cd build
|
5 |
+
cmake -DCLIP_NATIVE=ON -DCLIP_BUILD_IMAGE_SEARCH=ON ..
|
6 |
+
make -j
|
7 |
+
mkdir clip_models
|
8 |
+
git clone https://huggingface.co/mys/ggml_CLIP-ViT-B-32-laion2B-s34B-b79K/ ./clip_models/
|