mirror of
https://github.com/huggingface/xet-core.git
synced 2026-06-04 13:30:29 +08:00
This implements uploading through Xet protocol in WASM environment, and makes necessary changes to make dependent crates WASM compatible. 1. Uploading through Xet protocol is done in hf_xet_wasm crate; 2. Separate Cas Client trait definitions into upload and download functionality groups and disable download for WASM; 3. Disable Cas Client request retry in WASM environment, which isn't critical for a POC (until we have a retry strategy that doesn't depends on time); 4. Disable async CasObject deserialization; 5. Enable in-memory global dedup; --------- Co-authored-by: Assaf Vayner <assaf@huggingface.co>