Commit 0b2a4c2
authored
Keep hffs cache in workers when streaming (huggingface#7820)
* keep hffs cache in workers when streaming
* bonus: reorder hffs args to improve caching1 parent 12f5aca commit 0b2a4c2
File tree
3 files changed
+14
-3
lines changed- src/datasets
- download
- utils
3 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
2151 | 2159 | | |
2152 | 2160 | | |
2153 | 2161 | | |
| 2162 | + | |
2154 | 2163 | | |
2155 | 2164 | | |
2156 | 2165 | | |
| |||
2299 | 2308 | | |
2300 | 2309 | | |
2301 | 2310 | | |
| 2311 | + | |
| 2312 | + | |
2302 | 2313 | | |
2303 | 2314 | | |
2304 | 2315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
900 | | - | |
901 | 900 | | |
| 901 | + | |
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| |||
0 commit comments