to use
HF_API_TOKEN=<token> sbatch hf-infer.sbatch
then run
HF_API_TOKEN=<token> HOSTNAME=<hostname of infernce server> python gradio-tgl.py
setup env following hf inference server instructions but chance /usr/local to path to conda env instead.