You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is due to onnxruntime-node (v1.20.1) not using HTTP_PROXY and HTTPS_PROXY environment variables in the post installation script, and it has been fixed in this PR: microsoft/onnxruntime#23232. User can set the GLOBAL_AGENT_HTTP_PROXY and GLOBAL_AGENT_HTTPS_PROXY env var to make the script use network proxy after the fix. Please update the dependency when new version of onnxruntime-node is released. Thanks
Reproduction
Behind network proxy
npm install @huggingface/transformers
The text was updated successfully, but these errors were encountered:
I am still encountering this problem despite setting the GLOBAL_AGENT_HTTP_PROXY, GLOBAL_AGENT_HTTPS_PROXY, https_proxy, and http_proxy environment variables. I have also tried installing the latest version, but the issue persists. Is there any way to resolve this? Thanks a lot!
System Info
transformers v3.1.1
node v18.17.0
Environment/Platform
Description
Hi, I was trying to install chat-ui, which depends on @huggingface/transformers (v3.1.1) but encountered this issue related to network proxy settings.
The issue is due to onnxruntime-node (v1.20.1) not using HTTP_PROXY and HTTPS_PROXY environment variables in the post installation script, and it has been fixed in this PR: microsoft/onnxruntime#23232. User can set the GLOBAL_AGENT_HTTP_PROXY and GLOBAL_AGENT_HTTPS_PROXY env var to make the script use network proxy after the fix. Please update the dependency when new version of onnxruntime-node is released. Thanks
Reproduction
The text was updated successfully, but these errors were encountered: