mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
Give unicode test more time to run (#7437)
* Give unicode test more time to run Some slower GPUs (or partial CPU/GPU loads) can take more than the default 30s to complete this test * Give more time for concurrency test CPU inference can be very slow under stress
This commit is contained in:
parent
16f4eabe2d
commit
921779bb10
2 changed files with 14 additions and 4 deletions
|
@ -60,7 +60,8 @@ func TestMultiModelConcurrency(t *testing.T) {
|
|||
for i := 0; i < len(req); i++ {
|
||||
go func(i int) {
|
||||
defer wg.Done()
|
||||
DoGenerate(ctx, t, client, req[i], resp[i], 60*time.Second, 10*time.Second)
|
||||
// Note: CPU based inference can crawl so don't give up too quickly
|
||||
DoGenerate(ctx, t, client, req[i], resp[i], 90*time.Second, 30*time.Second)
|
||||
}(i)
|
||||
}
|
||||
wg.Wait()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue