Enable Docker as a non-root user (mandatory for Lambda Labs instances).
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
Set up HF_TOKEN
environement variable.
export HF_TOKEN=...
optimum-benchmark --config-dir configs --config-name pytorch
optimum-benchmark --config-dir configs --config-name tgi
Then manually stop TGI.