Skip to content

Clip model from LLaVA is not using GPU, but LLaVA model is using GPU in the same piece of code. #650

@dcostea

Description

@dcostea

Congratulations for adding LLaVA support starting with version 0.11.1.
It works very well!

Still, clip model is very slow.
I have Cuda12 and llava-mistral model is using GPU, as expected, but the clip model is not, instead is using the CPU.

image

image

NativeLibraryConfig.Instance
.WithCuda(true)
.WithLogs(true)
.WithAvx(NativeLibraryConfig.AvxLevel.Avx512);

Should the clip model run on GPU as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions