candle
candle copied to clipboard
Parquet downloading will fail after an system proxy
My run of "cargo run --example mnist-training" has error like:
Error: Api error: request error: https://huggingface.co/datasets/mnist/resolve/refs%2Fconvert%2Fparquet/mnist/test/0000.parquet: Network Error: timed out reading response
- I have a network proxy to access huggingface
- I could just wget the parquet file after using network proxy.
- It seems the code just ignore my network proxy.
@LaurentMazare
This part is handled by the hf-hub crate. I'm not super up to date with how it works but my understanding is that this hf-hub/34 made the changes for your env proxy to be picked up but this hasn't been released yet. If that's actually what is missing, you may want to ask on the repo if they plan on making a release anytime soon?
thanks. I'll ask for a release of hf-hub