It seems there is env.
From now on, TGI will not convert automatically pickle files without having
--trust-remote-codeflag orTRUST_REMOTE_CODE=truein the environment variables. This flag is already used for community defined inference code, and is therefore quite representative of the level of confidence you are giving the model providers.