Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Transformer-deploy Alternatives
Similar projects and alternatives to transformer-deploy
-
TensorRT
NVIDIA® TensorRT™, an SDK for high-performance deep learning inference, includes a deep learning inference optimizer and runtime that delivers low latency and high throughput for inference applications.
-
FasterTransformer
Transformer related optimization, including BERT, GPT
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
TensorRT
PyTorch/TorchScript/FX compiler for NVIDIA GPUs using TensorRT (by pytorch)
-
-
-
OpenSeeFace
Robust realtime face and facial landmark tracking on CPU with Unity integration
-
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.
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
optimum
🏎️ Accelerate training and inference of 🤗 Transformers with easy to use hardware optimization tools
-
-
parallelformers
Parallelformers: An Efficient Model Parallelization Toolkit for Deployment
-
-
-
diffusers
🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch
-
onnxruntime
ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
-
server
The Triton Inference Server provides an optimized cloud and edge inferencing solution. (by triton-inference-server)
-
-
serve
Serve, optimize and scale PyTorch models in production (by pytorch)
-
-
deepsparse
Inference runtime offering GPU-class performance on CPUs and APIs to integrate ML into your application
-
torchdynamo
A Python-level JIT compiler designed to make unmodified PyTorch programs faster.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
transformer-deploy reviews and mentions
-
[D] How to get the fastest PyTorch inference and what is the "best" model serving framework?
For 2), I am aware of a few options. Triton inference server is an obvious one as is the ‘transformer-deploy’ version from LDS. My only reservation here is that they require the model compilation or are architecture specific. I am aware of others like Bento, Ray serving and TorchServe. Ideally I would have something that allows any (PyTorch model) to be used without the extra compilation effort (or at least optionally) and has some convenience things like ease of use, easy to deploy, easy to host multiple models and can perform some dynamic batching. Anyway, I am really interested to hear people's experience here as I know there are now quite a few options! Any help is appreciated! Disclaimer - I have no affiliation or are connected in any way with the libraries or companies listed here. These are just the ones I know of. Thanks in advance.
-
[P] Up to 12X faster GPU inference on Bert, T5 and other transformers with OpenAI Triton kernels
We work for Lefebvre Sarrut, a leading European legal publisher. Several of our products include transformer models in latency sensitive scenarios (search, content recommendation). So far, ONNX Runtime and TensorRT served us well, and we learned interesting patterns along the way that we shared with the community through an open-source library called transformer-deploy. However, recent changes in our environment made our needs evolve:
-
[P] What we learned by making T5-large 2X faster than Pytorch (and any autoregressive transformer)
notebook: https://github.com/ELS-RD/transformer-deploy/blob/main/demo/generative-model/t5.ipynb (Onnx Runtime only)
-
[P] 4.5 times faster Hugging Face transformer inference by modifying some Python AST
Regarding CPU inference, quantization is very easy, and supported by Transformer-deploy , however performance on transformer are very low outside corner cases (like no batch, very short sequence and distilled model), and last Intel generation CPU based instance like C6 or M6 on AWS are quite expensive compared to a cheap GPU like Nvidia T4, to say it otherwise, on transformer, until you are ok with slow inference and takes a small instance (for a PoC for instance), CPU inference is probably not a good idea.
-
[P] Python library to optimize Hugging Face transformer for inference: < 0.5 ms latency / 2850 infer/sec
Want to try it 👉 https://github.com/ELS-RD/transformer-deploy
-
A note from our sponsor - Sonar
www.sonarsource.com | 21 Mar 2023
Stats
ELS-RD/transformer-deploy is an open source project licensed under Apache License 2.0 which is an OSI approved license.
Popular Comparisons
- transformer-deploy VS TensorRT
- transformer-deploy VS FasterTransformer
- transformer-deploy VS torch2trt
- transformer-deploy VS TensorRT
- transformer-deploy VS OpenSeeFace
- transformer-deploy VS sparsednn
- transformer-deploy VS optimum
- transformer-deploy VS mmrazor
- transformer-deploy VS experta
- transformer-deploy VS parallelformers