huggingface / huggingface/candle

Parquet downloading will fail after an system proxy

Open
#1,607 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

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
```
1. I have a network proxy to access huggingface
2. I could just wget the parquet file after using network proxy.
3. It seems the code just ignore my network proxy.

Contributor guide

No contributing guide indexed for this repository

Research direction

Use `cargo run --example mnist-training` and the Hugging Face parquet URL to reproduce the timeout with a system proxy enabled. Trace the download entry point used by the example and compare it with the successful proxied `wget`; done means the example can retrieve the parquet file through the proxy without timing out.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.