It seems there is env.
From now on, TGI will not convert automatically pickle files without having
--trust-remote-code
flag orTRUST_REMOTE_CODE=true
in 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.