kernl VS torchdynamo

Compare kernl vs torchdynamo and see what are their differences.

kernl

Kernl lets you run PyTorch transformer models several times faster on GPU with a single line of code, and is designed to be easily hackable. (by ELS-RD)

torchdynamo

A Python-level JIT compiler designed to make unmodified PyTorch programs faster. (by pytorch)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
kernl torchdynamo
8 1
1,458 960
1.9% 2.1%
1.5 3.8
2 months ago 7 months ago
Jupyter Notebook Python
Apache License 2.0 BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

kernl

Posts with mentions or reviews of kernl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-08.

torchdynamo

Posts with mentions or reviews of torchdynamo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-28.
  • [D] How to get the fastest PyTorch inference and what is the "best" model serving framework?
    8 projects | /r/MachineLearning | 28 Oct 2022
    For 1), what is the easiest way to speed up inference (assume only PyTorch and primarily GPU but also some CPU)? I have been using ONNX and Torchscript but there is a bit of a learning curve and sometimes it can be tricky to get the model to actually work. Is there anything else worth trying? I am enthused by things like TorchDynamo (although I have not tested it extensively) due to its apparent ease of use. I also saw the post yesterday about Kernl using (OpenAI) Triton kernels to speed up transformer models which also looks interesting. Are things like SageMaker Neo or NeuralMagic worth trying? My only reservation with some of these is they still seem to be pretty model/architecture specific. I am a little reluctant to put much time into these unless I know others have had some success first.

What are some alternatives?

When comparing kernl and torchdynamo you can also consider the following projects:

openai-whisper-cpu - Improving transcription performance of OpenAI Whisper for CPU based deployment

serve - Serve, optimize and scale PyTorch models in production

flash-attention - Fast and memory-efficient exact attention

server - The Triton Inference Server provides an optimized cloud and edge inferencing solution.

diffusers - 🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.

transformer-deploy - Efficient, scalable and enterprise-grade CPU/GPU inference server for 🤗 Hugging Face transformer models 🚀

stable-diffusion-webui - Stable Diffusion web UI

BentoML - The most flexible way to serve AI/ML models in production - Build Model Inference Service, LLM APIs, Inference Graph/Pipelines, Compound AI systems, Multi-Modal, RAG as a Service, and more!

deepsparse - Sparsity-aware deep learning inference runtime for CPUs