Baseten has developed and open-sourced the Baseten Performance Client, a Python library built with Rust, designed to significantly improve embedding throughput for high-volume tasks. This client addresses Python's Global Interpreter Lock (GIL) limitations by offloading network-bound operations to a Rust-based Tokio runtime, enabling true parallel request execution and maximizing multi-core CPU utilization. It offers up to 12x higher throughput and lower latencies compared to standard clients, supporting both synchronous and asynchronous usage, and general batch requests for modalities beyond embeddings.
All Baseten trails