Troubleshoot common problems during model deployment
truss push
can’t find config.yaml
The directory truss push
is looking at is not a Truss. Make sure you’re giving truss push
access to the correct directory by:
truss push
from the directory containing the Truss. You should see the file config.yaml
when you run ls
in your working directory.truss push /path/to/my-truss
.During the model build step, there can be unexpected failures from temporary circumstances. An example is a network error while downloading model weights from Hugging Face or installing a Python package from PyPi.
First, check your model logs to determine the exact cause of the error. If it’s an error during model download, package installation, or similar, you can try restarting the deploy from the model dashboard in your workspace.