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
相關文章

曝字節訓10億參數大模型,或超Mythos 5,張一鳴、梁汝波先後發聲
字節跳動正在訓練一個參數量高達10萬億的AI模型,規模可能超越Anthropic的Mythos 5。創辦人張一鳴在內部會議中強調編程的關鍵地位,並反對模型蒸餾,認為這只能複製而非超越對手。字節跳動在AI領域持續加大投入,同時在產品端與訓練端採取雙線進攻策略。

AI 需求擠爆雲計算,消息稱 AWS 要求工程師關閉閒置服務器減少資源浪費
因AI需求導致算力緊缺,亞馬遜AWS要求工程師關閉閒置的EC2實例,以減少資源浪費。數據顯示約65%的EC2實例在30天內平均CPU利用率低於20%,AWS因此升級計算優化器自動標記低使用率虛擬機。此外,AWS過去一年新增3.8吉瓦電力容量,仍難以應對GPU雲端實例的龐大需求。

六巨頭定AI插件新標準,撞臉Claude,Anthropic沒上桌
六大科技巨頭(AWS、Anysphere、GitHub、微軟、OpenAI、Vercel)聯合發布AI智能體插件統一開放規範Agent Plugins 1.0.0,旨在統一插件打包格式,減少開發者重複勞動。該規範的結構與Anthropic的Claude Code插件系統高度相似,但Anthropic並未參與制定,而是繼續經營自己的封閉生態。

DeepSeek重啟融資,三年市值對齊騰訊?
DeepSeek重啟第二輪融資,以5000億元人民幣估值尋求籌集80億美元,但網傳一份由小型醫藥私募發起的專項基金募資材料引發網友質疑,後經DeepSeek員工證實部分數據屬實。該公司近期宣布API大幅漲價,可能打破其以低價換規模的估值邏輯,面臨客戶流失風險。市場關注其能否從「價格屠夫」轉型為價值提供商,以及三年內市值能否對齊騰訊等巨頭。

可靈AI核心技術骨幹王鑫濤被曝離職
快手可靈AI核心技術骨幹王鑫濤被曝離職,去向未知,快手官方與本人均未回應。王鑫濤是圖像與視頻生成領域知名開源項目主要作者,被視為可靈從0到1的關鍵推手。其離職發生在可靈完成獨立融資、估值180億美元的關鍵階段,可能影響研發進度與競爭優勢。

AI短劇、漫劇、戀綜、電影、藝人都有了,AI觀眾也不遠了
2026年AI影視內容全面爆發,從短劇、長劇到電影、綜藝,AI製作的作品大量湧現,衛視也開始播出AI短劇。AI演員如方桃子迅速走紅,商業變現能力驚人,廣告報價甚至超過許多真人網紅。AI短劇市場規模已突破220億元,用戶超過6億,但同時也引發了對真人演員就業和內容品質的擔憂。