CanerDedeoglu commited on
Commit
8d66e99
·
verified ·
1 Parent(s): 1308d4b

Update cog.yaml

Browse files
Files changed (1) hide show
  1. cog.yaml +18 -40
cog.yaml CHANGED
@@ -1,49 +1,27 @@
1
- # Configuration for Cog ⚙️
2
-
3
  build:
 
4
  gpu: true
5
  python_version: "3.11"
6
-
7
  python_packages:
8
- # Torch ortamdan geliyor, tekrar sabitleme!
9
- - "torch>=2.0.0"
10
- - "torchvision>=0.15.0"
11
-
12
- # Hugging Face ekosistemi
13
  - "transformers==4.37.2"
14
- - "tokenizers>=0.15.0"
15
- - "sentencepiece>=0.1.99"
16
- - "accelerate>=0.25.0"
17
- - "sentence-transformers>=2.6.1"
18
-
19
- # Diffusion (PULSE bağımlılığı için)
20
- - "diffusers>=0.29.0"
21
-
22
- # Ek paketler
23
- - "peft"
24
- - "bitsandbytes"
25
- - "shortuuid"
26
- - "einops>=0.6.1"
27
- - "einops-exts>=0.0.4"
28
  - "timm==0.6.13"
 
 
29
  - "numpy"
30
- - "scikit-learn>=1.2.2"
31
- - "pydantic>=1.10.0"
32
- - "markdown2[all]"
33
- - "requests"
34
- - "httpx>=0.25.0"
35
- - "fastapi"
36
- - "uvicorn"
37
- - "gradio>=4.16.0"
38
- - "gradio_client>=0.8.1"
39
-
40
- # protobuf fix
41
- - "protobuf==3.20.3"
42
-
43
- # LLaVA
44
  - "llava @ git+https://github.com/haotian-liu/LLaVA@v1.2.0"
45
 
46
- run:
47
- - curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.0.3/pget" && chmod +x /usr/local/bin/pget
48
-
49
- predict: "predict.py:Predictor"
 
1
+ # Configuration for Cog
 
2
  build:
3
+ # Use a GPU because PULSE relies on a vision tower and GPU acceleration
4
  gpu: true
5
  python_version: "3.11"
 
6
  python_packages:
7
+ # Core libraries
8
+ - "torch==2.1.2"
9
+ - "torchvision==0.16.2"
 
 
10
  - "transformers==4.37.2"
11
+ - "tokenizers==0.15.1"
12
+ - "sentencepiece==0.1.99"
13
+ - "safetensors>=0.4.2"
14
+ - "accelerate==0.30.0"
15
+ # Vision and utility libraries
 
 
 
 
 
 
 
 
 
16
  - "timm==0.6.13"
17
+ - "pillow>=9.5.0"
18
+ - "requests>=2.31.0"
19
  - "numpy"
20
+ - "einops==0.6.1"
21
+ - "einops-exts==0.0.4"
22
+ - "huggingface_hub==0.13.4"
23
+ # LLaVA library pulled from GitHub at a fixed tag
 
 
 
 
 
 
 
 
 
 
24
  - "llava @ git+https://github.com/haotian-liu/LLaVA@v1.2.0"
25
 
26
+ # The predictor defines how to run inference
27
+ predict: "predict.py:Predictor"