LocalFit

Apertus-v1.5-8B Gated

swiss-ai/Apertus-v1.5-8B

Released2026-07-24Size8.9B tensorsRoleAssistantLicenseapache-2.0Contextunknown

Where it runs 8K context · ≥ 5 t/s floor

SetupBest planMemoryGenerate
8 GB GPU + 32 GB RAMDoes not fit
12 GB GPU + 32 GB RAMDoes not fit
16 GB GPU + 64 GB RAMDoes not fit
24 GB GPU + 64 GB RAMDoes not fit
32 GB GPU + 128 GB RAMDoes not fit
2× 24 GB GPUs + 128 GB RAMDoes not fit
96 GB workstation GPU + 256 GB RAMDoes not fit
Mac, 24 GBMLX 8-bitMLX-LMUnified memoryKV unknownUnknown
Mac, 48 GBMLX 8-bitMLX-LMUnified memoryKV unknownUnknown
Mac, 128 GBMLX 8-bitMLX-LMUnified memoryKV unknownUnknown
Mac, 512 GBMLX 8-bitMLX-LMUnified memoryKV unknownUnknown
DGX Spark 128 GBDoes not fit
Ryzen AI Max+ 395, 128 GBDoes not fit
CPU only, 64 GB DDR5-5600 dual channelDoes not fit

Same plan engine as the planner, with its default reserves and RAM. How plans are chosen.

Files exact Hugging Face bytes

ArtifactSizeFilesRevisionSource
MLX 8-bit 8-bit
here-be-dragons-ai/Apertus-v1.5-8B-MLX-8bit
9.37 GiB2348206859cHF files

Not found in the representative quant search (not proven unavailable): GGUF FP16, GGUF Q8_0, GGUF Q5_K_M, GGUF Q4_K_M, MLX 4-bit, EXL3, AWQ, GPTQ. Complete selected file sets; projectors, MTP/draft and lookup files are listed separately and budgeted only by plans that use them. File bytes are not allocated memory.

Quality

No Artificial Analysis evaluation mapped to this checkpoint.

Arena text rating

Unknown

Publisher-reported benchmarks

None extracted from the model card.

AA and Arena describe the hosted model in the stated mode, not each quantized file; scores are never inherited by base, pruned, abliterated or quantized variants and never averaged together.

How to run it

Transformers publisherfork · unknown

publisher-documented, not executed source

pip install "transformers[torch,vision,audio] @ git+https://github.com/swiss-ai/transformers.git@3797303dda74844e3d1f8977ff5518bb91f818b4"
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor

MODEL_ID = "swiss-ai/Apertus-v1.5-8B"  # or "swiss-ai/Apertus-v1.5-70B"

processor = AutoProcessor.from_pretrained(MODEL_ID)
model = AutoModelForMultimodalLM.from_pretrained(
    MODEL_ID, dtype="auto", device_map="auto"
).eval()


def generate(messages, max_new_tokens=256, **template_kwargs):
    inputs = processor.apply_chat_template(
        messages,
        add_generation_prompt=True,
        tokenize=True,
        return_dict=True,
        return_tensors="pt",
        **template_kwargs,
    ).to(model.device)
    with torch.inference_mode():
        output_ids = model.generate(**inputs, max_new_tokens=max_new_tokens)
    return processor.decode(
        output_ids[0, inputs["input_ids"].shape[-1]:], skip_special_tokens=True
    )

Prerequisites: See source setup/dependencies; these snippets were inspected, not executed.

  • Pinned transformers 3797303dda74844e3d1f8977ff5518bb91f818b4; upstreaming in progress in card.
  • Multimodal processor/custom format; auto-generated HF deployment widgets are insufficient verification.

Recipes are source examples (settings are the publisher’s or author’s, not measured optima) and were not executed by LocalFit. A downloadable file does not prove your backend build supports the architecture.

Reported speeds 0

No reported measurement yet. Submit one.