mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +00:00
integration: add qwen2.5-vl (#10815)
Replace the older llava model with qwen2.5 for vision tests Skip split-batch test on small VRAM systems to avoid excessive test time
This commit is contained in:
@@ -19,7 +19,7 @@ func TestVisionModels(t *testing.T) {
|
|||||||
}
|
}
|
||||||
testCases := []testCase{
|
testCases := []testCase{
|
||||||
{
|
{
|
||||||
model: "llava:7b",
|
model: "qwen2.5vl",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
model: "llama3.2-vision",
|
model: "llama3.2-vision",
|
||||||
@@ -60,6 +60,7 @@ func TestVisionModels(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestIntegrationSplitBatch(t *testing.T) {
|
func TestIntegrationSplitBatch(t *testing.T) {
|
||||||
|
skipUnderMinVRAM(t, 6)
|
||||||
image, err := base64.StdEncoding.DecodeString(imageEncoding)
|
image, err := base64.StdEncoding.DecodeString(imageEncoding)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
req := api.GenerateRequest{
|
req := api.GenerateRequest{
|
||||||
|
|||||||
Reference in New Issue
Block a user