Victor Kuznetsov
7ddd2097bd
Export WEIGHTS_ALLOW_PATTERNS for offline pre-caches
...
The runtime's _weights_dir resolves the Hub snapshot offline through an
inline allow_patterns list, so a deployment that pre-caches the snapshot
for HF_HUB_OFFLINE=1 had to re-list the files by hand and silently
drifted when a release added one: the offline resolution then failed on
a four-fifths-present cache even though every missing piece had its own
fallback. Export the exact runtime request list as one public name, use
it in _weights_dir, and pin the seam with a test that captures the
snapshot_download call. Document the contract in photo-classify.md and
module-internals.md.
2026-09-07 11:31:08 -07:00
..
2026-03-25 11:15:05 -07:00
2026-08-15 11:31:59 -07:00
2026-09-06 12:39:22 -07:00
2026-09-06 20:18:47 -07:00
2026-08-03 22:49:45 -07:00
2026-09-03 09:44:24 -07:00
2026-09-07 11:31:08 -07:00
2026-08-31 22:45:18 -07:00
2026-09-06 20:18:47 -07:00
2026-08-27 16:53:34 -07:00
2026-09-05 12:30:00 -07:00
2026-07-30 18:18:49 -07:00
2026-09-03 09:44:24 -07:00
2026-08-09 00:27:10 -07:00
2026-09-01 15:33:26 -07:00
2026-08-31 19:49:31 -07:00
2026-09-01 10:19:59 -07:00
2026-08-27 16:53:34 -07:00
2026-08-15 12:20:25 -07:00
2026-08-31 22:45:18 -07:00
2026-09-05 13:11:16 -07:00
2026-07-11 09:41:58 +03:00
2026-09-05 12:10:17 -07:00
2026-09-05 13:12:58 -07:00
2026-09-06 20:51:00 -07:00
2026-08-15 12:20:25 -07:00
2026-07-09 18:24:20 +03:00
2026-09-05 12:10:17 -07:00
2026-09-05 13:12:58 -07:00
2026-07-09 14:20:52 +03:00
2026-09-05 13:12:58 -07:00
2026-08-27 16:53:34 -07:00
2026-09-03 09:44:24 -07:00
2026-08-15 11:31:59 -07:00
2026-09-06 20:51:00 -07:00
2026-08-28 10:06:13 -07:00
2026-09-06 20:18:47 -07:00
2026-09-05 11:32:22 -07:00
2026-09-06 20:18:47 -07:00
2026-09-05 13:12:58 -07:00
2026-08-05 21:10:55 -07:00
2026-08-30 16:37:20 -07:00
2026-09-01 15:33:01 -07:00
2026-09-05 11:51:02 -07:00
2026-09-01 10:19:59 -07:00
2026-09-05 13:11:16 -07:00
2026-08-27 20:05:03 -07:00
2026-08-27 20:05:03 -07:00
2026-09-05 11:51:02 -07:00
2026-09-06 20:18:48 -07:00
2026-08-05 21:10:38 -07:00
2026-08-15 12:25:35 -07:00
2026-09-05 11:27:17 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-08-06 18:17:40 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-05-24 16:35:39 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-09-01 11:37:32 -07:00
2026-08-19 19:53:38 -07:00
2026-09-05 11:51:02 -07:00
2026-08-27 20:05:03 -07:00
2026-07-09 14:20:52 +03:00
2026-08-25 12:44:05 -07:00
2026-08-27 20:05:03 -07:00
2026-09-06 20:18:48 -07:00
2026-08-27 20:05:03 -07:00
2026-08-27 16:53:34 -07:00
2026-07-29 22:03:23 -07:00
2026-07-31 10:42:39 -07:00
2026-09-06 20:18:47 -07:00
2026-09-05 13:12:58 -07:00
2026-09-05 11:51:02 -07:00
2026-09-06 20:18:48 -07:00
2026-09-06 20:18:48 -07:00
2026-09-06 20:18:48 -07:00
2026-09-06 20:18:48 -07:00
2026-09-06 20:18:48 -07:00
2026-09-03 11:05:59 -07:00
2026-07-25 20:52:15 -07:00