Closed zeke closed 11 months ago
I think I found a workaround by adding git
to system_packages
in cog.yaml
, but I don't think this used to be necessary:
build:
gpu: false
system_packages:
- "git"
python_packages:
- "git+https://github.com/m-bain/whisperX.git"
predict: "predict.py:Predictor"
Seems like maybe a regression in Cog? Or maybe something is hosed in my local Docker config...
@zeke This changed in https://github.com/replicate/cog/pull/1214, when we switched to using a Python slim base image that doesn't include git.
I'm not sure what we've promised in the past about supporting Git dependencies, or to what extent that's expected behavior, though.
I'm getting this error when trying to
cog build
using a git-hosted dependency in mycog.yaml
file: