huggingface / huggingface/transformers.js
[Feature request] Benchmark tests for CPU usage across various devices.
- Dominant language
- JavaScript
- Stars
- 16.3k
- Forks
- 1.2k
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 6
Description
**Name of the feature**
CPU Bench-marking
**Reason for request**
To investigate if a function etc is needed to be / can be improved to improve processor utilization for loading models / using models in the browser, to prevent any temporary or permanent damage to a CPU or motherboard of any device's using this library.
**Additional context**
Not really a "feature" but I do think this should be done as it seems when the model was fully loaded / network request completed on the device I am using caused a HUGE CPU spike.
Keep in mind - this only occurs for a brief moment when the network request / model was finished loading.
Tho when **using** the model - no CPU spiking.
Contributor guide
Assessment
This issue has not been assessed yet.