Open mirekphd opened 1 month ago
Hi @mirekphd opened a ticket TMA-1955 to track the issue.
Thanks for bringing up this concern. Would adding a cached file option here work? You could then get the tokenizer files into the container for your air-gapped environment on your end. Unfortunately, the alternative would be to install every private/public tokenizer possible into the container, which is not possible, or to save one default tokenizer but leave the rest still uninstalled.
When
genai-perf
is installed usingpip
from Github (as documented), on first run it tries to download several files from Huggingface, like this:This "calling-home" behavior will prevent
genai-perf
from running correctly in corporate air-gapped environments. All required dependencies need to be collected by Python or Bash scripts at install time (which can occur on a different sever, such as an internet-connected build server(s) where most pull actions are permitted) rather than being pulled upon the first run of the program.