huggingface / huggingface.js

Utilities to use the Hugging Face Hub API
https://hf.co/docs/huggingface.js
MIT License
1.37k stars 213 forks source link

gguf: test local file with big metadata #777

Closed ngxson closed 3 months ago

ngxson commented 3 months ago

Ref comment: https://github.com/huggingface/huggingface.js/pull/767#issuecomment-2181173686

This file have 32MB of just metadata (no tensor), can be useful for testing or benchmarking.

Due to its large size, running the download process inside the test case may cause timeout (so I moved it to beforeAll)