Hi everyone,
I recently gained early access to VIA and successfully followed the requirements as outlined in the documentation to start a microservice with VITA-2.0. During my first attempt the model was loaded correctly, but the web server was not accessible:
Afterwards, I closed the instance and reopened it a couple of days later, but this time encountered Error code 402:
{‘type’: ‘urn:kaizen:problem-details:payment-required’, ‘title’: ‘Payment Required’, ‘status’: 402, ‘detail’: “Account ‘2c7slESkQF-uGIymCkSJGl9teCmX3mGzOeIwT2cjvow’: Cloud credits expired - Please contact NVIDIA representatives”, ‘instance’: ‘/v2/nvcf/pexec/functions/a88f115a-4a47-4381-ad62-ca25dc33dc1b’}
In the attempt of solving it, I regenerated both my NVIDIA API Key and the NGC Api key, but without any luck. Below is the command I executed in the terminal:
Blockquote > export BACKEND_PORT=8000
export FRONTEND_PORT=9000
export NVIDIA_API_KEY=
export NGC_API_KEY=
export MODEL_PATH=“ngc:nvidia/tao/vita:2.0.1”
export NGC_MODEL_CACHE=</SOME/DIR/ON/HOST>
docker run --rm -it --privileged=true --ipc=host --ulimit memlock=-1
–ulimit stack=67108864 --tmpfs /tmp:exec --name via-server
–gpus ‘“device=all”’
-p $FRONTEND_PORT:$FRONTEND_PORT
-p $BACKEND_PORT:$BACKEND_PORT
-e BACKEND_PORT=$BACKEND_PORT
-e FRONTEND_PORT=$FRONTEND_PORT
-e NVIDIA_API_KEY=$NVIDIA_API_KEY
-e NGC_API_KEY=$NGC_API_KEY
-e VLM_MODEL_TO_USE=vita-2.0
-e VLM_BATCH_SIZE=1
-v $NGC_MODEL_CACHE:/root/.via/ngc_model_cache
-e MODEL_PATH=$MODEL_PATH
-v via-hf-cache:/tmp/huggingface
nvcr.io/metropolis/via-dp/via-engine:2.0-dp
Any insight or guidance on resolving this issue would be appreciated. Thanks in advance for your help.