Granite Switch Project: Revolutionizing AI Model Development
Introduced last spring, the Granite Switch project is making waves in the world of AI model development by providing a modular approach. With the recent launch of Granite Switch 4.1, users can experience a seamless fusion of capabilities that allow models to handle natural-language responses, general and specialized decisions, and speech-to-text tasks from a single hosted endpoint.
Key Features of Granite Switch 4.1 Models
The Granite-Switch-4.1-8B and -30B models come equipped with an impressive set of features:
-
Decision aLoRA for General-Purpose Decision-Making: This adds flexibility to the model, enabling it to navigate various scenarios effectively.
-
Guardian aLoRA for Specialized Safety Decisions: Performance tests indicate that this adapter outshines competitors like Jev 1.13 and GPT-Luna-Decisions, making it a reliable choice for safety-related decision tasks.
-
Granite-Speech-5.0-Turbo-CTC: This is the fastest ASR (Automatic Speech Recognition) model on the OpenASR leaderboard, allowing for rapid transcription tasks.
Importantly, all these technologies are skillfully composed into one model while consuming approximately the same amount of VRAM on a GPU as the base model alone. This means organizations can enjoy enhanced capabilities without the need for additional hardware resources.
Cache-Efficient Performance
Granite Switch 4.1 leverages a unique design where the Switch adapters are built as cache-efficient Activated LoRAs. This allows the Key-Value (KV) cache created from a base model generation to be reused for any subsequent adapter-based decisions. Coupled with recent advancements in vLLM that accelerate low-rank adapter inferencing, users can expect lightning-fast transitions between chat requests, decision requests, and spoken requests.
To further explore the capabilities of these models, check out our Speech-to-Decisions HF space, where the granite-switch-4.1-8b performs real-time tasks such as audio transcription, content screening for harmful material, and generates summaries, all from a single endpoint.
Introducing Granite Libraries: The Original Decision Models
While decision models are not entirely new, the previous release of Granite Libraries has significantly enriched the ecosystem with a repository of specialized decision model adapters. Unlike closed decision models like Jev that focus on general applicability, specialized granitelib adapters often outperform generalists in niche classification tasks.
You can compare granitelib adapters with broader decision models to see their efficacy in specialized evaluations through our interactive evaluation tool.
The ability to share the base model’s KV cache effectively means that adding specialized adapters costs almost nothing in terms of extra resources. This hybrid approach allows users to enjoy broad coverage from generalist models while achieving higher accuracy from specialized adapters in the tasks that matter to them.
For instance, a performance race revealed that Granite-Switch-4.1-30B, utilizing frozen base Granite with four specialized aLoRAs, dramatically outperformed Jev-27B, completing a complex five-step RAG workflow in significantly less time.
Composing and Extending Your Own Granite Switch Model
Granite-Switch-4.1-8B and -30B models come with a host of pre-included adapters, making them ready-to-use. However, users also have the freedom to create their own Granite Switch models. This allows for the mixing and matching of adapters from Granite Libraries to create a configuration that suits specific needs.
Looking ahead, we foresee vast opportunities for the community to compose and extend Granite Switch models with both custom and third-party adapters. Our planned Adapter SDK for training adapters in Mellea, alongside tutorials and robust support for Granite Switch, will enable users to create specialized classification adapters or language-task adapters.
One exciting example involves a custom 3B parameter version of Granite able to make split-second decisions while playing the classic game Doom. It achieved an impressive rate of 60 – 100 decisions per second, significantly faster than Jev’s reported rate of 10 decisions per second. Additionally, this Granite Switch model can narrate and respond to user inquiries while navigating the game.
Resources for Getting Started
For anyone eager to dive into the world of Granite Switch, we encourage you to explore our latest models along with a variety of resources designed to assist you in getting started.
Footnotes:
Inspired by: Source

