Thinking Machines 推出 Inkling:1T 參數開放多模態模型
重點摘要
Inkling 是由 Thinking Machines 開發的大型開放模型,擁有約 1 兆個參數與 100 萬 token 的上下文視窗,原生支援影像、文字與音訊輸入。該模型具備代理能力,提供完整 BF16 與校準良好的 NVFP4 版本,並內建推測性 MTP 層以加速推論。Hugging Face 已釋出 Inkling,且 transformers、SGLang 與 llama.cpp 同步於首日提供支援。
Back to Articles Welcome Inkling by Thinking Machines Published July 15, 2026 Update on GitHub Upvote 1 ben burtenshaw burtenshaw Follow merve merve Follow Pedro Cuenca pcuenq Follow Aritra Roy Gosthipaty ariG23498 Follow Inkling is a large (1T params!) open model to natively accept image, text, and audio inputs. TLDR; Inkling by Thinking Machines is out on Hugging Face. Inkling is a huge multimodal LLM that understands all modalities (image, audio, text), has agentic capabilities, and supports 1M context. It comes in full BF16 and a well-calibrated NVFP4 variant, and includes speculative MTP layers for faster inference. There’s day-0 support in transformers, SGLang, and llama.cpp. What makes Inkling special? Inkling is the first large open model with ~1T parameters and 1M context window to natively receive image, text, and audio inputs, trained on 45 trillion tokens of text, images, audio and video. It’s focused on reasoning across modalities such as audio, images, and text; and is intended for domain adaptation via fine-tuning. We’ve tinkered with this model to build some demos and explore the architecture, and we think it’s great for building a new wave of multimodal reasoning apps. Overall Capabilities and Architecture Inkling is a decoder-only multimodal Mixture-of-Experts model with 975B total and 41B active parameters. There are a lot of things going on, so let’s break each part down: Decoder-only: This means that the architecture supports causal autoregressive generation, like in most state-of-the-art LLMs. Multimodal: The model can ingest text, audio, and images. Mixture of Experts (MoE): The feed forward networks inside each layer are sparse, achieving faster inference because only 41B parameters are active at any given time. The model has 256 experts, as we’ll see later. Here’s a quick glance of the architecture. Relative attention: Instead of RoPE, which is the usual method to inject positional information in transformers models, Inkling uses relative attention to encode position information. Each attention layer learns position directly in the attention logits. Aside from key-query-values, there's a fourth projection producing a per-token, per-head relative feature R. This projection tensor is then tweaked with distance information (distance between the key and the query vector) and propagated into the attention module. Hybrid attention: The decoder layers alternate between global attention (attending to the full context length at once) and sliding window attention (attending to a fixed context window in a sliding fashion). The architecture has a pattern of 5:1 sliding window to global attention layers. This hybrid attention scheme provides efficiency in computation. The final layer uses global attention to help build feature-rich representations. Short convolution: The model uses a distinctive short 1D convolution, or SConv over the hidden states. SConv reads the current token and the previous W-1 hidden states, with W being the sliding window size. The intuition here is that SConv helps with local attention while freeing the attention and MoE modules from local representations. MoE with shared experts sink: In Inkling, the router scores both routed experts and shared experts. Top-k selection is performed over 6 experts, plus 2 shared experts always active. Vision understanding: The model includes a simple hierarchical MLP patchifier consisting of several linear layers. Each layer merges pixels progressively, until the final layer produces one embedding per patch. Audio understanding: The architecture employs a discretized mel spectrogram, where each of the audio chunks (of 100 ms) are converted to the mel scale and then classified into the exact mel spectrogram bin. The multimodal towers are relatively simple modules, unlike other models that employ separate encoders for each modality. Each image patch passes through the image embedding tower and the audio chunk is passed through the audio embedding tower to get both media embeddings. Image inputs also include an additional temporal dimension for video processing. We expect this capability to be useful for downstream fine-tuning, but we haven’t evaluated out-of-the-box video performance. The tower folds the patch grid, a small local block of neighboring tokens is stacked into the channel dimension and goes through hMLP. The audio waveform is converted to mel scale, which is then classified into a discrete mel bin. These mel bin values are embedded in the audio embedding tower and the embeddings are then summed to construct the final audio input. Inference Support Inkling comes with day-0 transformers support and is supported in major inference engines like SGLang and vLLM. This model is huge. The bf16 checkpoint requires 2 TB of VRAM, while the nvfp4 version requires 600 GB of VRAM. You can try the model through serverless inference routers like Inference Providers, or use ggml quants for local deployment with llama.cpp. Transformers The easiest way to infer with transformers directly is to use the any-to-any pipeline. You can use either the 16 bit "thinkingmachines/Inkling" on Hopper or later GPUs, or the quantized NVFP4 checkpoint "thinkingmachines/Inkling-NVFP4" on Blackwell Nvidia GPUs. Make sure to have the latest version of transformers (5.14.0 was released today) (pip install -U transformers). from transformers import pipeline model_id = "thinkingmachines/Inkling" # model_id = "thinkingmachines/Inkling-NVFP4" pipe = pipeline("any-to-any", model=model_id) After initializing the pipeline, you can pass in the prompt as follows. image_url = ( "https://huggingface.co/datasets/merve/vl-test-suite/" "resolve/main/pills.jpg" ) messages = [ { "role": "user", "content": [ { "type": "image", "image": image_url, }, { "type": "text", "text": "Do components in this supplement interact with each other?", }, ], }, ] output = pipe( messages, max_new_tokens=2000, return_full_text=False, reasoning_effort="medium", ) output[0]["generated_text"] Going one level lower, you can use Auto classes. For inference, you can use the AutoModelForMultimodalLM class for models and AutoProcessor class for processors. For different reasoning tasks, the tokenizer takes in a reasoning_effort argument. Existing options for reasoning effort are "none", "minimal", "low", "medium", "high", "xhigh", and "max". from transformers import AutoModelForMultimodalLM, AutoProcessor model_id = "thinkingmachines/Inkling" processor = AutoProcessor.from_pretrained(model_id) model = AutoModelForMultimodalLM.from_pretrained( model_id, dtype="auto", device_map="auto", ) messages = [ {"role": "system", "content": "You should only answer with a number."}, {"role": "user", "content": "What is 17 * 23?"}, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", reasoning_effort="high", ).to(model.device) output = model.generate(**inputs, max_new_tokens=2000) generated_tokens = output[0][inputs["input_ids"].shape[1] :] print(processor.decode(generated_tokens, skip_special_tokens=False)) For multimodal inference, you can use the same classes. We provide example snippets for each different modality in the model card. Text with image inference from transformers import AutoModelForMultimodalLM, AutoProcessor model_id = "thinkingmachines/Inkling" processor = AutoProcessor.from_pretrained(model_id) model = AutoModelForMultimodalLM.from_pretrained( model_id, dtype="auto", device_map="auto", ) image_url = ( "https://huggingface.co/datasets/merve/vl-test-suite/" "resolve/main/pills.jpg" ) messages = [ { "role": "user", "content": [ { "type": "image", "image": image_url, }, { "type": "text", "text": "Do any of the components in this supplement interact?", }, ], }, ] inputs = processor.apply_chat_template( messages, tokenize=True, add_generation_prompt=True, reasoning_effort="medium", return_dict=True, return_tensors="pt", ).to(model.device) input_len = inputs["input_ids"].shape[-1] outputs = model.generate(**inputs, max_new_tokens=2000) response = processor.decode(outputs[0][input_len:], skip_special_tokens=False) processor.parse_response(response) Inkling also takes in audio input. Below is an example inference snippet, which still uses the same AutoModelForMultimodalLM class. Text with audio inference from transformers import AutoModelForMultimodalLM, AutoProcessor model_id = "thinkingmachines/Inkling" processor = AutoProcessor.from_pretrained(model_id) model = AutoModelForMultimodalLM.from_pretrained( model_id, dtype="auto", device_map="auto", ) audio_url = ( "https://huggingface.co/datasets/merve/vl-test-suite/" "resolve/main/example_audio.mp3" ) messages = [ { "role": "user", "content": [ {"type": "text", "text": "Transcribe the following speech to text."}, { "type": "audio", "audio": audio_url, }, ], }, ] inputs = processor.apply_chat_template( messages, tokenize=True, return_dict=True, return_tensors="pt", add_generation_prompt=True, ).to(model.device) input_len = inputs["input_ids"].shape[-1] outputs = model.generate(**inputs, max_new_tokens=512) response = processor.decode(outputs[0][input_len:], skip_special_tokens=False) processor.parse_response(response) For more realistic parallel deployment in a cluster of several nodes, please refer to the Slurm section below. SGLang SGLang is one of the fastest deployment frameworks for Inkling at the time of release, as it includes a custom model implementation. The launch command below shards the model across 8 GPUs and serves an OpenAI-compatible API on port 30000. pip install sglang python3 -m sglang.launch_server \ --model-path thinkingmachine/Inkling \ --tp-size 8 \ --served-model-name inkling \ --host 0.0.0.0 \ --port 30000 Match --tp-size to your GPU count. Add --mem-fraction-static (e.g. 0.85) if you need to leave more headroom for the KV cache. vLLM vLLM is strong for production serving. A single vllm serve command downloads the weights from the Hub, shards the model across your GPUs with tensor parallelism, and starts an OpenAI-compatible server on port 8000. pip install vllm vllm serve thinkingmachine/Inkling \ --tensor-parallel-size 8 \ --served-model-name inkling In practice, you will need multiple nodes and a distribution tool like SLURM (see below). Key parameters are --tensor-parallel-size to the number of GPUs on your node, and use --max-model-len to cap the context window if you hit KV-cache memory limits. curl http://localhost:8000/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "inkling", "messages": [{"role": "user", "content": "Hello!"}] }' Remote Inference with Hugging Face Inference Providers You can infer with this model using several inference providers through Hugging Face. You can see all the code snippets to consume here. Below you can see how to use with the OpenAI client. import os from openai import OpenAI client = OpenAI( base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"], ) completion = client.chat.completions.create( model="thinkingmachines/Inkling:auto", messages=[ { "role": "user", "content": "What is the capital of France?", }, ], ) print(completion.choices[0].message) Using the “:auto” suffix routes to your preferred provider in your settings; you can also use “cheapest” or “:fastest” as well. For this release, we cover the inference costs for 2 hours within the release for everyone. Note: audio support in Inference Providers is work in progress and will be added shortly. Local Inference with llama.cpp and Unsloth You can use llama.cpp to run quantized versions of the model on limited hardware. Unsloth have quantized the model down to 1-bit precision, reducing VRAM consumption by 95% over the original model. llama serve -hf unsloth/inkling-GGUF:UD-IQ1_S This starts an OpenAI-compatible server running at http://localhost:8000/v1 that you connect to in your preferred tool or clients. Heading there, you can start chatting with the model, and set it up with
Related
相關文章

阿里發實時語音交互模型!毫秒級響應不降智,還能邊聽邊打斷
阿里雲推出即時語音互動模型Qwen-Audio-3.0-Realtime,具備毫秒級回應、自主工具呼叫、情感表達及可打斷對話等能力。該模型透過在線策略蒸餾與多教師蒸餾技術,在語音問答、指令遵循等多項基準測試中表現領先,並支援口語化輸入與上下文連貫對話。

OpenAI都做不好,AI瀏覽器還有前途嗎?
OpenAI 於 2025 年 10 月正式推出的 AI 瀏覽器 ChatGPT Atlas,曾一度被視為翻轉上網體驗的關鍵產品。然而不到一年時間,這款瀏覽器不僅未能撼動 Google Chrome 的地位,反而即將走入歷史。OpenAI 日前宣布,ChatGPT Atlas 將於 2026 年 8 月 9 日停止服務,其核心功能將整合至 ChatGPT 桌面應用程式中。

超 300 款 AI 產品將在 2026 世界 AI 大會首發,上海世博展覽館已進入最後布展調試階段
2026世界人工智能大會將於7月17日至20日在上海舉行,超過300款AI產品將在大會全球首發。上海世博展覽館已進入最後布展調試階段,本次大會採用「三地四館」模式,匯集1100多家參展企業。

本田美國多款車型將集成谷歌 Gemini,可使用自然語言進行交流
美國本田宣布將谷歌 Gemini 整合進多款車型,駕駛員無需使用死板命令,即可透過自然語言與 AI 互動。Gemini 能處理複雜細節和多重指令,並會隨著使用自動優化,提升對話體驗。此功能支援 Civic、Accord、CR-V 等 2023 年後的多款車型。

消息稱豆包 AI 手機今年將發佈多款機型,由字節跳動聯閤中興努比亞打造
首頁 > 數碼之家>智能手機 消息稱豆包 AI 手機今年將發佈多款機型,由字節跳動聯合中興努比亞打造 2026/7/15 21:23:27 來源:IT之家 作者:沁滄(實習) 責編:沁滄 評論: 感謝IT之家網友 Autumn_Dream、風見暉一、HH_KK、烏蠅哥的左手 的線索投遞!
