GPU Coder vs. ONNXRuntime, is there a difference in inference speed?

3 vues (au cours des 30 derniers jours)
David
David le 1 Avr 2021
Modifié(e) : Joss Knight le 7 Jan 2022
Since I can export from Matlab to ONNX format, why can't I just import my model into TensorRT etc.? Will I get significant speed increases or is the benefit of GPU Coder more about being able to compile all my other Matlab code into optimized Cuda?
Thanks in advance.

Réponses (1)

Joss Knight
Joss Knight le 2 Avr 2021
You can compile your network for TensorRT using GPU Coder if that's your intended target, no need to go through ONNX.
I don't believe MathWorks have any published benchmarks against ONNX runtime specifically. GPU Coder on the whole outperforms other frameworks, although it does depend on the network.
  2 commentaires
Matti Kaupenjohann
Matti Kaupenjohann le 7 Jan 2022
Could you show/link the benchmark which includes the performance of gpucoder against other frameworks (which one?).
Joss Knight
Joss Knight le 7 Jan 2022
Modifié(e) : Joss Knight le 7 Jan 2022
We don't publish the competitive benchmarks, you'll have to make a request through your sales agent. we can provide some numbers for MATLAB.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with GPU Coder dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by