Troubleshoot common problems during model inference
~/.trussrc
is incomplete or incorrect. It should be formatted as follows:
truss predict
when the API key in ~/.trussrc
for a given host is missing or incorrect. To fix it, update your API key in the ~/.trussrc
file.
curl
or similar to call the model via its API endpoint when the API key passed in the request header is not valid. Make sure you’re using a valid API key then try again.