how to make batch request with python client? #130

Closed
opened 2026-02-15 16:28:11 -05:00 by yindo · 1 comment
Owner

Originally created by @rxy1212 on GitHub (Aug 14, 2024).

I notice that ollama supports to handle multiple requests simultaneously for a single model. But how to make multiple requests with ollama-python?

Originally created by @rxy1212 on GitHub (Aug 14, 2024). I notice that ollama supports to handle multiple requests simultaneously for a single model. But how to make multiple requests with ollama-python?
yindo closed this issue 2026-02-15 16:28:11 -05:00
Author
Owner

@mxyng commented on GitHub (Nov 5, 2024):

There is an async client you can use for concurrent requests as long as the server is configured for parallel requests

@mxyng commented on GitHub (Nov 5, 2024): There is an async client you can use for concurrent requests as long as the server is configured for parallel requests
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#130