-
Notifications
You must be signed in to change notification settings - Fork 25
/
cog.yaml
26 lines (23 loc) · 638 Bytes
/
cog.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Configuration for Cog ⚙️
# Reference: https://cog.run/yaml
build:
gpu: true
cuda: "12.1"
python_version: "3.11"
system_packages:
- "libgl1-mesa-glx"
- "libsm6"
- "libxext6"
python_packages:
- "torch==2.2"
- "torchvision"
- "diffusers==0.30.0"
- "transformers==4.43.3"
- "accelerate==0.33.0"
- "sentencepiece==0.2.0"
- "protobuf==5.27.3"
- "numpy==1.26.4"
- "pillow==10.4.0"
run:
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/latest/download/pget_$(uname -s)_$(uname -m)" && chmod +x /usr/local/bin/pget
predict: "predict.py:Predictor"