An open API service indexing awesome lists of open source software.

https://github.com/bendangnuksung/dynabatch

dynabatch is a PyTorch/Hugging Face batching utility that sorts variable-length text by difficulty, then dynamically increases batch size on easier samples using a pre-trained VRAM predictor to improve GPU utilization and throughput while reducing OOM risk with fallback handling.
https://github.com/bendangnuksung/dynabatch

dataloader dynamic-batching huggingface huggingface-trainer machine-translation pytorch sampler transformers vram-optimization

Last synced: 18 days ago
JSON representation

dynabatch is a PyTorch/Hugging Face batching utility that sorts variable-length text by difficulty, then dynamically increases batch size on easier samples using a pre-trained VRAM predictor to improve GPU utilization and throughput while reducing OOM risk with fallback handling.

Awesome Lists containing this project