Update cog.yaml
Browse files12345678910111213141516171819202122232425262728293031323334353637383940# Configuration for Cog ⚙️# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.mdbuild:gpu: truepython_version: "3.11"python_packages:- "torch==2.1.2"- "torchvision==0.16.2"- "transformers==4.37.2"- "tokenizers==0.15.1"- "sentencepiece==0.1.99"- "accelerate==0.34.2"- "sentence-transformers==2.6.1"- "diffusers==0.29.2"- "peft"- "bitsandbytes"- "shortuuid"- "einops==0.6.1"- "einops-exts==0.0.4"- "timm==0.6.13"- "numpy"- "scikit-learn==1.2.2"- "pydantic"- "markdown2[all]"- "requests"- "httpx==0.24.0"- "fastapi"- "uvicorn"- "gradio==4.16.0"- "gradio_client==0.8.1"- "llava @ git+https://github.com/haotian-liu/LLaVA@v1.2.0"run:- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.0.3/pget" && chmod +x /usr/local/bin/pget# predict.py defines how predictions are run on your modelpredict: "predict.py:Predictor"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849# Configuration for Cog ⚙️build:gpu: truepython_version: "3.11"python_packages:# Torch ortamdan geliyor, tekrar sabitleme!- "torch>=2.0.0"- "torchvision>=0.15.0"# Hugging Face ekosistemi- "transformers==4.37.2"- "tokenizers>=0.15.0"- "sentencepiece>=0.1.99"- "accelerate>=0.25.0"- "sentence-transformers>=2.6.1"# Diffusion (PULSE bağımlılığı için)- "diffusers>=0.29.0"# Ek paketler- "peft"- "bitsandbytes"- "shortuuid"- "einops>=0.6.1"- "einops-exts>=0.0.4"- "timm==0.6.13"- "numpy"- "scikit-learn>=1.2.2"- "pydantic>=1.10.0"- "markdown2[all]"- "requests"- "httpx>=0.25.0"- "fastapi"- "uvicorn"- "gradio>=4.16.0"- "gradio_client>=0.8.1"# protobuf fix- "protobuf==3.20.3"# LLaVA- "llava @ git+https://github.com/haotian-liu/LLaVA@v1.2.0"run:- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.0.3/pget" && chmod +x /usr/local/bin/pgetpredict: "predict.py:Predictor"
cog.yaml+26-17