Remix.run Logo
utopiah 9 hours ago

why not just as you suggested i.e. https://qwen.readthedocs.io/en/latest/run_locally/llama.cpp.... then get the result either via a UI or wget/curl it back?

mdp2021 9 hours ago | parent [-]

I am not sure that llama.cpp also supports image generation models.

utopiah 8 hours ago | parent [-]

it's multimodal, see https://github.com/ggml-org/llama.cpp/blob/master/docs/multi...

exe34 8 hours ago | parent [-]

Multimodal doesn't guarantee input and output.

> Currently, we support image, audio and video input.

utopiah 8 hours ago | parent [-]

Seems I'm missing something. Does this model support other inputs?

Image outputs are supported, videos I'm not sure but I don't think that's an output, just a preview of the equirectangular example, so, same question here, what does this model outputs that isn't supported?

8 hours ago | parent | next [-]
[deleted]
mdp2021 7 hours ago | parent | prev | next [-]

Not all architectures are supported by llama.cpp . The GGUF format encodes the NN in a standardized way, but then you need code that can use that NN structure.

I understand that llama.cpp could only output text, last time I checked (I do not know how to find a good source for that though).

See https://github.com/ggml-org/llama.cpp/blob/master/src/llama-... , the

  enum llm_arch {
...
utopiah 6 hours ago | parent [-]

I haven't used llama.cpp for image generation either but I recall an issue about it. Unfortunately I can't pinpoint it now and there is the older closed issue https://github.com/ggml-org/llama.cpp/issues/4408 so unless mtmd supports also multimodal outputs out of the box safe to assume output is still limited to text.

exe34 7 hours ago | parent | prev [-]

It's a diffusion model, completely different from autoregressive attention models.

utopiah 6 hours ago | parent [-]

like https://github.com/ggml-org/llama.cpp/tree/master/examples/d... ?

At the risk of stating the obvious llama.cpp isn't just about LLaMa as https://github.com/ggml-org/llama.cpp/blob/master/src/llama-... someone else pointed out.

exe34 5 hours ago | parent [-]

Aha I was wrong. Thanks for sharing that!

utopiah 5 hours ago | parent [-]

no worries, I was wrong too, it is multimodal but only for inputs apparently, so for now there seem to only be text as output but no image as output