惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
博客园 - 司徒正美
L
LangChain Blog
有赞技术团队
有赞技术团队
大猫的无限游戏
大猫的无限游戏
Stack Overflow Blog
Stack Overflow Blog
Engineering at Meta
Engineering at Meta
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
博客园 - 叶小钗
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
月光博客
月光博客
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
D
DataBreaches.Net

Replicate's blog

How to make remarkable videos with Seedance 2.0 – Replicate blog How to prompt Seedream 5.0 – Replicate blog Recraft V4: image generation with design taste – Replicate blog Run Isaac 0.1 on Replicate – Replicate blog Run FLUX.2 on Replicate – Replicate blog How to prompt Nano Banana Pro – Replicate blog Retro Diffusion's pixel art models are now on Replicate – Replicate blog Replicate is joining Cloudflare – Replicate blog Extract text from documents and images with Datalab Marker and OCR – Replicate blog How to prompt Veo 3.1 – Replicate blog Which image editing model should I use? – Replicate blog Introducing our new search API – Replicate blog Torch compile caching for inference speed – Replicate blog Announcing Replicate's remote MCP server – Replicate blog How to prompt Veo 3 with images – Replicate blog Open source video is back – Replicate blog Generate consistent characters – Replicate blog Bria is now on Replicate – Replicate blog How we optimized FLUX.1 Kontext [dev] – Replicate blog Compare AI video models – Replicate blog The FLUX.1 Kontext hackathon – Replicate blog How to prompt Veo 3 for the best results – Replicate blog Get the most from Google Veo 3 – Replicate blog FLUX.1 Kontext from the community – Replicate blog Use FLUX.1 Kontext to edit images with words – Replicate blog Generate incredible images with Google's Imagen 4 – Replicate blog Run OpenAI’s latest models on Replicate – Replicate blog NVIDIA H100 GPUs are here – Replicate blog Run 30,000+ LoRAs on Hugging Face with Replicate – Replicate blog Ideogram 3.0 on Replicate – Replicate blog
IBM's Granite 4.0 is now on Replicate – Replicate blog
2025-10-02 · via Replicate's blog

IBM has released Granite 4.0, their latest family of open-source small language models built for speed and low cost.

The Granite 4.0 models use a hybrid architecture that uses less memory than traditional models, so you can run them on regular consumer GPUs instead of expensive server hardware. They work well for document summarization, RAG systems, and AI agents.

ibm-granite/granite-4.0-h-small is a 30 billion parameter long-context instruct model and it’s now available on Replicate.

Running Granite 4.0 with an API

You can start using Granite models right away on Replicate. Here’s how to run them with an API:

cURL

JavaScript

Here’s an example using Replicate’s JavaScript client:

Python

Here’s an example using Replicate’s Python client:

Granite is performant

Granite models are built around a hybrid design that combines two key ideas: the linear-scaling efficiency of Mamba-2 with the precision of Transformers.

Mamba-2 is a state space model that processes sequences linearly, unlike traditional transformers that scale quadratically with sequence length. This makes it more efficient for very long inputs, like documents with hundreds of thousands of tokens. Transformer blocks complement this by better supporting tasks that require long-context reasoning.

Select Granite 4.0 models also use an MoE (mixture of experts) routing strategy. The MoE setup splits the model into several “experts”. Instead of running every parameter at once, the model routes each input through only the experts it actually needs. For example, Granite 4.0 Small has 32 billion total parameters, only 9 billion of which are activated for an inference request.

Together, these two approaches let Granite models handle long contexts quickly and run on more modest hardware, like consumer-grade GPUs, without sacrificing performance.

Granite is practical

Granite models are designed for real work, not just demos. They’re lightweight and efficient, which makes them a good fit for:

  • Summarizing long documents, like contracts or technical manuals.
  • Building systems that pull answers from large datasets, like CRMs or knowledge bases, without chopping inputs into tiny chunks.
  • Running multiple AI agents at the same time for complex workflows.
  • Deploying models on local devices or edge hardware, where bandwidth or cloud access is limited.

Granite is open source

Granite models are released under the Apache 2.0 license. That means you can use them for both commercial and non-commercial projects without restrictions or hidden fees. You can also modify the models however you want — fine-tune them, add adapters, or train them on private datasets — and release those changes under your own terms. This openness makes Granite a practical choice for companies that need compliance, security, or customization.

For more details, check out IBM’s documentation on deployment, fine-tuning, and integration patterns. If you’re using LangChain, IBM has also built a LangChain integration for Replicate to make it even easier to work with Granite models.