-
Notifications
You must be signed in to change notification settings - Fork 1
/
cog.yaml
49 lines (44 loc) · 1.2 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
build:
gpu: true
cuda: "12.1"
python_version: "3.10.6"
python_packages:
# comfyui pip env deps
- torch
- torchvision
- torchaudio
- torchsde
- einops
- transformers>=4.26.1
- safetensors>=0.3.0
- aiohttp
- accelerate
- pyyaml
- Pillow
- scipy
- tqdm
- psutil
- spandrel
- soundfile
- kornia>=0.7.1
- websocket-client==1.6.3
# fix for pydantic issues in cog
# https://github.com/replicate/cog/issues/1623
- albumentations==1.4.3
#######################################
##
## add custom nodes pip deps below
##
######################################
# comfyui-reactor-node
- insightface==0.7.3
- onnx>=1.14.0
- opencv-python>=4.7.0.72
- numpy
- segment_anything
- ultralytics
run:
# other cmd
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.8.1/pget_linux_x86_64" && chmod +x /usr/local/bin/pget
- pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
predict: "predict.py:Predictor"