Increasing Complexity of AI Inference
The demands for AI inference are growing day by day. With various models, hardware platforms, and customer use cases, manually optimizing these is no longer efficient. Together AI has introduced Together Compiler (TKCC) to address this issue. TKCC achieves up to 2.6 times higher TPS (transactions per second) within 24 hours, recording 1111 TPS and 1205 TPS for the MiniMax M3.1-Flash and DeepSeek v4.1-Flash models, respectively. This demonstrates a performance that is 1.7 times higher than existing open-source mega kernels. This achievement is made possible by TKCC recording 252 times higher experimental throughput compared to existing agent performance optimization systems.
Necessity of Polymorphic Inference
Together AI proposes a new paradigm for AI inference through Polymorphic Inference. This approach is designed to respond to the diversity of models and rapidly changing traffic patterns, with models released in the last 3 months accounting for 80% of total traffic. This change stems from the fact that the architectures of AI models differ from one another, and the optimizations required by each model are distinct. For example, all top 10 open-source models use different architectures. This represents a complexity that cannot be handled by traditional static inference methods.
Innovation in Continuous Compilation
TKCC takes traffic forms, models, and hardware as input to perform optimizations. Existing agent-based optimization systems take a long time to start and stop the engine to test new experiments, but TKCC minimizes this process to reduce GPU idle time. This enables optimizations suitable for various inference environments. Additionally, TKCC has the potential to generalize beyond language model inference to domains such as weather modeling and biology.
Future of AI Inference
The future of AI inference will be shaped by the fusion of polymorphic inference and continuous compilation. This approach allows AI models to become more diverse and respond flexibly in environments where user demands are rapidly changing. As the possibilities for AI utilization expand, companies and researchers will be able to create new opportunities through these technologies. > "The diversity of AI models and rapid changes highlight the necessity of polymorphic inference." - Together AI Research Team
Conclusion
Together AI's continuous compilation and polymorphic inference represent innovative approaches to optimizing AI inference. These technologies are broadening the possibilities for AI utilization and will play a crucial role in the future AI ecosystem.