andrewzhaoluo / tvm-sandbox Goto Github PK
View Code? Open in Web Editor NEWSandbox for TVM and playing around!
Sandbox for TVM and playing around!
Hi,
This repo helps me a lot since TVM is really lack of document. I adopt some of the code here to do my experiment.
I tried to compare vgg-like architecture between TensorRT and tvm-cuda, the data type is cuda-fp16.
The layout is NCHW for both, and I found out TensorRT is faster than TVM a lot (10ms vs 19ms). I think the number of the trials is enough (num_tasks * 800
as suggested in tvm.auto_scheduler)
So I am wondering if you ever compare TensorRT and TVM and found that TVM is slower?
Also I found this repo (https://github.com/vinx13/tvm-cuda-int8-benchmark) which compare TensorRT and TVM with int8, but from the result it seems that TVM should not be slower than TensorRT a lot.
Or can you me some suggestions to find out the reasons? I have used graph Debugger (https://tvm.apache.org/docs/arch/debugger.html) to profiler each layer, but none of them can help me to find the root cause.
thank you.
As you know, this model is GPT2-large. just wonder does it possible to quantize such a giant model through tvm?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.