|
540 | 540 | - filename: llama-cpp/mmproj/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B-it-mmproj.gguf |
541 | 541 | sha256: 8e239c9c592541c9f537fff75677ea30d8af1e14ba63d27cf245423b7d0a688b |
542 | 542 | uri: https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf/resolve/main/gemma-4-31B-it-mmproj.gguf |
543 | | -- name: "gemma-4-12b-it-qat-mtp" |
544 | | - url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
545 | | - urls: |
546 | | - - https://huggingface.co/google/gemma-4-12B-it-qat-q4_0-gguf |
547 | | - - https://huggingface.co/Janvitos/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF |
548 | | - description: | |
549 | | - Gemma 4 12B IT QAT (Google DeepMind) paired with the official QAT assistant/drafter head for Multi-Token Prediction (MTP) speculative decoding. The Q4_0 target carries the full multimodal (text + image) model, while the Q8_0 assistant GGUF (from Janvitos, converted from Google's `gemma-4-12B-it-qat-q4_0-unquantized-assistant` checkpoint) acts as the draft model. With llama.cpp's `draft-mtp` speculative path enabled, this combination accelerates generation while keeping the target model's quality. The assistant head is not a standalone chat model: it only runs paired with the target, which is why both are bundled here. |
550 | | - |
551 | | - License: Apache 2.0 | Authors: Google DeepMind (target/assistant checkpoints), Janvitos (GGUF conversion) |
552 | | - license: "apache-2.0" |
553 | | - tags: |
554 | | - - llm |
555 | | - - gguf |
556 | | - - qat |
557 | | - - multimodal |
558 | | - - mtp |
559 | | - icon: https://ai.google.dev/gemma/images/gemma4_banner.png |
560 | | - overrides: |
561 | | - backend: llama-cpp |
562 | | - function: |
563 | | - automatic_tool_parsing_fallback: true |
564 | | - grammar: |
565 | | - disable: true |
566 | | - known_usecases: |
567 | | - - chat |
568 | | - mmproj: llama-cpp/mmproj/gemma-4-12B-it-qat-q4_0-gguf/mmproj-gemma-4-12b-it-qat-q4_0.gguf |
569 | | - draft_model: llama-cpp/models/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF/gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf |
570 | | - options: |
571 | | - - use_jinja:true |
572 | | - - spec_type:draft-mtp |
573 | | - - spec_n_max:6 |
574 | | - - spec_p_min:0.75 |
575 | | - parameters: |
576 | | - min_p: 0 |
577 | | - model: llama-cpp/models/gemma-4-12B-it-qat-q4_0-gguf/gemma-4-12b-it-qat-q4_0.gguf |
578 | | - repeat_penalty: 1 |
579 | | - temperature: 1 |
580 | | - top_k: 64 |
581 | | - top_p: 0.95 |
582 | | - template: |
583 | | - use_tokenizer_template: true |
584 | | - files: |
585 | | - - filename: llama-cpp/models/gemma-4-12B-it-qat-q4_0-gguf/gemma-4-12b-it-qat-q4_0.gguf |
586 | | - sha256: faff1a63667fac17ac5e777f47114688fcefea96e220e211aaa8d62c2c4561f1 |
587 | | - uri: https://huggingface.co/google/gemma-4-12B-it-qat-q4_0-gguf/resolve/main/gemma-4-12b-it-qat-q4_0.gguf |
588 | | - - filename: llama-cpp/mmproj/gemma-4-12B-it-qat-q4_0-gguf/mmproj-gemma-4-12b-it-qat-q4_0.gguf |
589 | | - sha256: e70b0e5cd80323d5d588b4ed06780356b7b1ba03995a4b8164c6ae9db0ff5989 |
590 | | - uri: https://huggingface.co/google/gemma-4-12B-it-qat-q4_0-gguf/resolve/main/mmproj-gemma-4-12b-it-qat-q4_0.gguf |
591 | | - - filename: llama-cpp/models/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF/gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf |
592 | | - sha256: 13331068b6af643c3dc75e619373b674c1f75a1958e7c82e2020d96a17c63809 |
593 | | - uri: https://huggingface.co/Janvitos/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF/resolve/main/gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf |
594 | | -- name: "gemma-4-26b-a4b-it-qat-mtp" |
595 | | - url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
596 | | - urls: |
597 | | - - https://huggingface.co/google/gemma-4-26B-A4B-it-qat-q4_0-gguf |
598 | | - - https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads |
599 | | - description: | |
600 | | - Gemma 4 26B-A4B IT QAT (Google DeepMind), a multimodal Mixture-of-Experts model (26B total, ~4B active per token), paired with the QAT-matched MTP assistant/drafter head for Multi-Token Prediction speculative decoding. The Q4_0 target carries the full multimodal (text + image) model, while the Q8_0 assistant GGUF (from boxwrench, converted from Google's `gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant` checkpoint) acts as the draft model. Using a QAT-matched head instead of a generic non-QAT head raised draft acceptance from ~57% to ~92% on this model. The assistant head is not a standalone chat model: it only runs paired with the target, which is why both are bundled here. |
601 | | - |
602 | | - > [!Note] |
603 | | - > The assistant head uses the `gemma4_assistant` architecture. It loads on the Atomic TurboQuant llama.cpp fork and on stock llama.cpp once ggml-org/llama.cpp#23398 ("llama: add Gemma4 MTP") merges. Until the upstream `n_tokens` reshape fix lands, run with a single parallel slot. |
604 | | - |
605 | | - License: Apache 2.0 | Authors: Google DeepMind (target/assistant checkpoints), boxwrench (GGUF conversion) |
606 | | - license: "apache-2.0" |
607 | | - tags: |
608 | | - - llm |
609 | | - - gguf |
610 | | - - qat |
611 | | - - multimodal |
612 | | - - moe |
613 | | - - mtp |
614 | | - icon: https://ai.google.dev/gemma/images/gemma4_banner.png |
615 | | - overrides: |
616 | | - backend: llama-cpp |
617 | | - function: |
618 | | - automatic_tool_parsing_fallback: true |
619 | | - grammar: |
620 | | - disable: true |
621 | | - known_usecases: |
622 | | - - chat |
623 | | - mmproj: llama-cpp/mmproj/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B-it-mmproj.gguf |
624 | | - draft_model: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-26B-A4B-it-qat-assistant-MTP-Q8_0.gguf |
625 | | - options: |
626 | | - - use_jinja:true |
627 | | - - spec_type:draft-mtp |
628 | | - - spec_n_max:6 |
629 | | - - spec_p_min:0.75 |
630 | | - parameters: |
631 | | - min_p: 0 |
632 | | - model: llama-cpp/models/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B_q4_0-it.gguf |
633 | | - repeat_penalty: 1 |
634 | | - temperature: 1 |
635 | | - top_k: 64 |
636 | | - top_p: 0.95 |
637 | | - template: |
638 | | - use_tokenizer_template: true |
639 | | - files: |
640 | | - - filename: llama-cpp/models/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B_q4_0-it.gguf |
641 | | - sha256: 4c856523d61d77922dbc0b26753a6bf6208e5d69d80db0c04dcd776832d054c5 |
642 | | - uri: https://huggingface.co/google/gemma-4-26B-A4B-it-qat-q4_0-gguf/resolve/main/gemma-4-26B_q4_0-it.gguf |
643 | | - - filename: llama-cpp/mmproj/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B-it-mmproj.gguf |
644 | | - sha256: d8e2de16e17515d9061b23c9a002715f996f9e0c87b93a9354264611bfab9239 |
645 | | - uri: https://huggingface.co/google/gemma-4-26B-A4B-it-qat-q4_0-gguf/resolve/main/gemma-4-26B-it-mmproj.gguf |
646 | | - - filename: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-26B-A4B-it-qat-assistant-MTP-Q8_0.gguf |
647 | | - sha256: 86f156403d9148aeffa765411f1373d1a2f9c840d62f5e088701153a35ecff73 |
648 | | - uri: https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads/resolve/main/gemma-4-26B-A4B-it-qat-assistant-MTP-Q8_0.gguf |
649 | | -- name: "gemma-4-31b-it-qat-mtp" |
650 | | - url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
651 | | - urls: |
652 | | - - https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf |
653 | | - - https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads |
654 | | - description: | |
655 | | - Gemma 4 31B IT QAT (Google DeepMind), the largest dense multimodal model in the family, paired with the QAT-matched MTP assistant/drafter head for Multi-Token Prediction speculative decoding. The Q4_0 target carries the full multimodal (text + image) model, while the Q8_0 assistant GGUF (from boxwrench, converted from Google's `gemma-4-31B-it-qat-q4_0-unquantized-assistant` checkpoint) acts as the draft model. Using a QAT-matched head instead of a generic non-QAT head substantially raises draft acceptance and end-to-end throughput. The assistant head is not a standalone chat model: it only runs paired with the target, which is why both are bundled here. |
656 | | - |
657 | | - > [!Note] |
658 | | - > The assistant head uses the `gemma4_assistant` architecture. It loads on the Atomic TurboQuant llama.cpp fork and on stock llama.cpp once ggml-org/llama.cpp#23398 ("llama: add Gemma4 MTP") merges. Until the upstream `n_tokens` reshape fix lands, run with a single parallel slot. |
659 | | - |
660 | | - License: Apache 2.0 | Authors: Google DeepMind (target/assistant checkpoints), boxwrench (GGUF conversion) |
661 | | - license: "apache-2.0" |
662 | | - tags: |
663 | | - - llm |
664 | | - - gguf |
665 | | - - qat |
666 | | - - multimodal |
667 | | - - mtp |
668 | | - icon: https://ai.google.dev/gemma/images/gemma4_banner.png |
669 | | - overrides: |
670 | | - backend: llama-cpp |
671 | | - function: |
672 | | - automatic_tool_parsing_fallback: true |
673 | | - grammar: |
674 | | - disable: true |
675 | | - known_usecases: |
676 | | - - chat |
677 | | - mmproj: llama-cpp/mmproj/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B-it-mmproj.gguf |
678 | | - draft_model: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-31B-it-qat-assistant-MTP-Q8_0.gguf |
679 | | - options: |
680 | | - - use_jinja:true |
681 | | - - spec_type:draft-mtp |
682 | | - - spec_n_max:6 |
683 | | - - spec_p_min:0.75 |
684 | | - parameters: |
685 | | - min_p: 0 |
686 | | - model: llama-cpp/models/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B_q4_0-it.gguf |
687 | | - repeat_penalty: 1 |
688 | | - temperature: 1 |
689 | | - top_k: 64 |
690 | | - top_p: 0.95 |
691 | | - template: |
692 | | - use_tokenizer_template: true |
693 | | - files: |
694 | | - - filename: llama-cpp/models/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B_q4_0-it.gguf |
695 | | - sha256: 0374ce7b0124db9ba96fc649e835c531223ee224a497ce88a374baaea10932ec |
696 | | - uri: https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf/resolve/main/gemma-4-31B_q4_0-it.gguf |
697 | | - - filename: llama-cpp/mmproj/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B-it-mmproj.gguf |
698 | | - sha256: 8e239c9c592541c9f537fff75677ea30d8af1e14ba63d27cf245423b7d0a688b |
699 | | - uri: https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf/resolve/main/gemma-4-31B-it-mmproj.gguf |
700 | | - - filename: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-31B-it-qat-assistant-MTP-Q8_0.gguf |
701 | | - sha256: 7a7cdd65a93536f3bf324e97ddf60cc8d482510eaa0837873aef0fd7e0b493a5 |
702 | | - uri: https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads/resolve/main/gemma-4-31B-it-qat-assistant-MTP-Q8_0.gguf |
| 543 | +# Temporarily disabled: Gemma 4 QAT MTP assistant-head entries are hidden |
| 544 | +# until the assistant GGUFs are verified against the stock llama.cpp backend. |
| 545 | +# - name: "gemma-4-12b-it-qat-mtp" |
| 546 | +# url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
| 547 | +# urls: |
| 548 | +# - https://huggingface.co/google/gemma-4-12B-it-qat-q4_0-gguf |
| 549 | +# - https://huggingface.co/Janvitos/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF |
| 550 | +# description: | |
| 551 | +# Gemma 4 12B IT QAT (Google DeepMind) paired with the official QAT assistant/drafter head for Multi-Token Prediction (MTP) speculative decoding. The Q4_0 target carries the full multimodal (text + image) model, while the Q8_0 assistant GGUF (from Janvitos, converted from Google's `gemma-4-12B-it-qat-q4_0-unquantized-assistant` checkpoint) acts as the draft model. With llama.cpp's `draft-mtp` speculative path enabled, this combination accelerates generation while keeping the target model's quality. The assistant head is not a standalone chat model: it only runs paired with the target, which is why both are bundled here. |
| 552 | +# |
| 553 | +# License: Apache 2.0 | Authors: Google DeepMind (target/assistant checkpoints), Janvitos (GGUF conversion) |
| 554 | +# license: "apache-2.0" |
| 555 | +# tags: |
| 556 | +# - llm |
| 557 | +# - gguf |
| 558 | +# - qat |
| 559 | +# - multimodal |
| 560 | +# - mtp |
| 561 | +# icon: https://ai.google.dev/gemma/images/gemma4_banner.png |
| 562 | +# overrides: |
| 563 | +# backend: llama-cpp |
| 564 | +# function: |
| 565 | +# automatic_tool_parsing_fallback: true |
| 566 | +# grammar: |
| 567 | +# disable: true |
| 568 | +# known_usecases: |
| 569 | +# - chat |
| 570 | +# mmproj: llama-cpp/mmproj/gemma-4-12B-it-qat-q4_0-gguf/mmproj-gemma-4-12b-it-qat-q4_0.gguf |
| 571 | +# draft_model: llama-cpp/models/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF/gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf |
| 572 | +# options: |
| 573 | +# - use_jinja:true |
| 574 | +# - spec_type:draft-mtp |
| 575 | +# - spec_n_max:6 |
| 576 | +# - spec_p_min:0.75 |
| 577 | +# parameters: |
| 578 | +# min_p: 0 |
| 579 | +# model: llama-cpp/models/gemma-4-12B-it-qat-q4_0-gguf/gemma-4-12b-it-qat-q4_0.gguf |
| 580 | +# repeat_penalty: 1 |
| 581 | +# temperature: 1 |
| 582 | +# top_k: 64 |
| 583 | +# top_p: 0.95 |
| 584 | +# template: |
| 585 | +# use_tokenizer_template: true |
| 586 | +# files: |
| 587 | +# - filename: llama-cpp/models/gemma-4-12B-it-qat-q4_0-gguf/gemma-4-12b-it-qat-q4_0.gguf |
| 588 | +# sha256: faff1a63667fac17ac5e777f47114688fcefea96e220e211aaa8d62c2c4561f1 |
| 589 | +# uri: https://huggingface.co/google/gemma-4-12B-it-qat-q4_0-gguf/resolve/main/gemma-4-12b-it-qat-q4_0.gguf |
| 590 | +# - filename: llama-cpp/mmproj/gemma-4-12B-it-qat-q4_0-gguf/mmproj-gemma-4-12b-it-qat-q4_0.gguf |
| 591 | +# sha256: e70b0e5cd80323d5d588b4ed06780356b7b1ba03995a4b8164c6ae9db0ff5989 |
| 592 | +# uri: https://huggingface.co/google/gemma-4-12B-it-qat-q4_0-gguf/resolve/main/mmproj-gemma-4-12b-it-qat-q4_0.gguf |
| 593 | +# - filename: llama-cpp/models/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF/gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf |
| 594 | +# sha256: 13331068b6af643c3dc75e619373b674c1f75a1958e7c82e2020d96a17c63809 |
| 595 | +# uri: https://huggingface.co/Janvitos/gemma-4-12B-it-qat-assistant-MTP-Q8_0-GGUF/resolve/main/gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf |
| 596 | +# Temporarily disabled: these Gemma 4 MTP assistant-head GGUFs currently fail |
| 597 | +# to load in stock llama.cpp with unknown architecture `gemma4_assistant`. |
| 598 | +# Re-enable after the published GGUFs use the upstream `gemma4-assistant` |
| 599 | +# architecture spelling or the backend carries a vetted compatibility fix. |
| 600 | +# - name: "gemma-4-26b-a4b-it-qat-mtp" |
| 601 | +# url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
| 602 | +# urls: |
| 603 | +# - https://huggingface.co/google/gemma-4-26B-A4B-it-qat-q4_0-gguf |
| 604 | +# - https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads |
| 605 | +# description: | |
| 606 | +# Gemma 4 26B-A4B IT QAT (Google DeepMind), a multimodal Mixture-of-Experts model (26B total, ~4B active per token), paired with the QAT-matched MTP assistant/drafter head for Multi-Token Prediction speculative decoding. The Q4_0 target carries the full multimodal (text + image) model, while the Q8_0 assistant GGUF (from boxwrench, converted from Google's `gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant` checkpoint) acts as the draft model. Using a QAT-matched head instead of a generic non-QAT head raised draft acceptance from ~57% to ~92% on this model. The assistant head is not a standalone chat model: it only runs paired with the target, which is why both are bundled here. |
| 607 | +# |
| 608 | +# > [!Note] |
| 609 | +# > The assistant head uses the early `gemma4_assistant` architecture spelling; LocalAI patches the llama.cpp backend to accept it as the upstream `gemma4-assistant` architecture. Until the upstream `n_tokens` reshape fix lands, run with a single parallel slot. |
| 610 | +# |
| 611 | +# License: Apache 2.0 | Authors: Google DeepMind (target/assistant checkpoints), boxwrench (GGUF conversion) |
| 612 | +# license: "apache-2.0" |
| 613 | +# tags: |
| 614 | +# - llm |
| 615 | +# - gguf |
| 616 | +# - qat |
| 617 | +# - multimodal |
| 618 | +# - moe |
| 619 | +# - mtp |
| 620 | +# icon: https://ai.google.dev/gemma/images/gemma4_banner.png |
| 621 | +# overrides: |
| 622 | +# backend: llama-cpp |
| 623 | +# function: |
| 624 | +# automatic_tool_parsing_fallback: true |
| 625 | +# grammar: |
| 626 | +# disable: true |
| 627 | +# known_usecases: |
| 628 | +# - chat |
| 629 | +# mmproj: llama-cpp/mmproj/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B-it-mmproj.gguf |
| 630 | +# draft_model: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-26B-A4B-it-qat-assistant-MTP-Q8_0.gguf |
| 631 | +# options: |
| 632 | +# - use_jinja:true |
| 633 | +# - spec_type:draft-mtp |
| 634 | +# - spec_n_max:6 |
| 635 | +# - spec_p_min:0.75 |
| 636 | +# parameters: |
| 637 | +# min_p: 0 |
| 638 | +# model: llama-cpp/models/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B_q4_0-it.gguf |
| 639 | +# repeat_penalty: 1 |
| 640 | +# temperature: 1 |
| 641 | +# top_k: 64 |
| 642 | +# top_p: 0.95 |
| 643 | +# template: |
| 644 | +# use_tokenizer_template: true |
| 645 | +# files: |
| 646 | +# - filename: llama-cpp/models/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B_q4_0-it.gguf |
| 647 | +# sha256: 4c856523d61d77922dbc0b26753a6bf6208e5d69d80db0c04dcd776832d054c5 |
| 648 | +# uri: https://huggingface.co/google/gemma-4-26B-A4B-it-qat-q4_0-gguf/resolve/main/gemma-4-26B_q4_0-it.gguf |
| 649 | +# - filename: llama-cpp/mmproj/gemma-4-26B-A4B-it-qat-q4_0-gguf/gemma-4-26B-it-mmproj.gguf |
| 650 | +# sha256: d8e2de16e17515d9061b23c9a002715f996f9e0c87b93a9354264611bfab9239 |
| 651 | +# uri: https://huggingface.co/google/gemma-4-26B-A4B-it-qat-q4_0-gguf/resolve/main/gemma-4-26B-it-mmproj.gguf |
| 652 | +# - filename: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-26B-A4B-it-qat-assistant-MTP-Q8_0.gguf |
| 653 | +# sha256: 86f156403d9148aeffa765411f1373d1a2f9c840d62f5e088701153a35ecff73 |
| 654 | +# uri: https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads/resolve/main/gemma-4-26B-A4B-it-qat-assistant-MTP-Q8_0.gguf |
| 655 | +# - name: "gemma-4-31b-it-qat-mtp" |
| 656 | +# url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
| 657 | +# urls: |
| 658 | +# - https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf |
| 659 | +# - https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads |
| 660 | +# description: | |
| 661 | +# Gemma 4 31B IT QAT (Google DeepMind), the largest dense multimodal model in the family, paired with the QAT-matched MTP assistant/drafter head for Multi-Token Prediction speculative decoding. The Q4_0 target carries the full multimodal (text + image) model, while the Q8_0 assistant GGUF (from boxwrench, converted from Google's `gemma-4-31B-it-qat-q4_0-unquantized-assistant` checkpoint) acts as the draft model. Using a QAT-matched head instead of a generic non-QAT head substantially raises draft acceptance and end-to-end throughput. The assistant head is not a standalone chat model: it only runs paired with the target, which is why both are bundled here. |
| 662 | +# |
| 663 | +# > [!Note] |
| 664 | +# > The assistant head uses the early `gemma4_assistant` architecture spelling; LocalAI patches the llama.cpp backend to accept it as the upstream `gemma4-assistant` architecture. Until the upstream `n_tokens` reshape fix lands, run with a single parallel slot. |
| 665 | +# |
| 666 | +# License: Apache 2.0 | Authors: Google DeepMind (target/assistant checkpoints), boxwrench (GGUF conversion) |
| 667 | +# license: "apache-2.0" |
| 668 | +# tags: |
| 669 | +# - llm |
| 670 | +# - gguf |
| 671 | +# - qat |
| 672 | +# - multimodal |
| 673 | +# - mtp |
| 674 | +# icon: https://ai.google.dev/gemma/images/gemma4_banner.png |
| 675 | +# overrides: |
| 676 | +# backend: llama-cpp |
| 677 | +# function: |
| 678 | +# automatic_tool_parsing_fallback: true |
| 679 | +# grammar: |
| 680 | +# disable: true |
| 681 | +# known_usecases: |
| 682 | +# - chat |
| 683 | +# mmproj: llama-cpp/mmproj/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B-it-mmproj.gguf |
| 684 | +# draft_model: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-31B-it-qat-assistant-MTP-Q8_0.gguf |
| 685 | +# options: |
| 686 | +# - use_jinja:true |
| 687 | +# - spec_type:draft-mtp |
| 688 | +# - spec_n_max:6 |
| 689 | +# - spec_p_min:0.75 |
| 690 | +# parameters: |
| 691 | +# min_p: 0 |
| 692 | +# model: llama-cpp/models/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B_q4_0-it.gguf |
| 693 | +# repeat_penalty: 1 |
| 694 | +# temperature: 1 |
| 695 | +# top_k: 64 |
| 696 | +# top_p: 0.95 |
| 697 | +# template: |
| 698 | +# use_tokenizer_template: true |
| 699 | +# files: |
| 700 | +# - filename: llama-cpp/models/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B_q4_0-it.gguf |
| 701 | +# sha256: 0374ce7b0124db9ba96fc649e835c531223ee224a497ce88a374baaea10932ec |
| 702 | +# uri: https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf/resolve/main/gemma-4-31B_q4_0-it.gguf |
| 703 | +# - filename: llama-cpp/mmproj/gemma-4-31B-it-qat-q4_0-gguf/gemma-4-31B-it-mmproj.gguf |
| 704 | +# sha256: 8e239c9c592541c9f537fff75677ea30d8af1e14ba63d27cf245423b7d0a688b |
| 705 | +# uri: https://huggingface.co/google/gemma-4-31B-it-qat-q4_0-gguf/resolve/main/gemma-4-31B-it-mmproj.gguf |
| 706 | +# - filename: llama-cpp/models/gemma-4-qat-mtp-assistant-heads/gemma-4-31B-it-qat-assistant-MTP-Q8_0.gguf |
| 707 | +# sha256: 7a7cdd65a93536f3bf324e97ddf60cc8d482510eaa0837873aef0fd7e0b493a5 |
| 708 | +# uri: https://huggingface.co/boxwrench/gemma-4-qat-mtp-assistant-heads/resolve/main/gemma-4-31B-it-qat-assistant-MTP-Q8_0.gguf |
703 | 709 | - name: "step-3.7-flash" |
704 | 710 | url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
705 | 711 | urls: |
|
0 commit comments