Comments (5)
Hi, thanks for your interest. https://github.com/ise-uiuc/tzer/blob/main/src/tzer/context.py#L238
from tzer.
Hi, thanks for your interest. https://github.com/ise-uiuc/tzer/blob/main/src/tzer/context.py#L238
Thanks, I guess this is the code related to ${BUG_TYPE}_${BUG_ID}.ctx
in output folder? But I'm curious how to generate the corresponding python code (as a test program that can be submit to the compiler developer) based on this context?
from tzer.
In theory you can just print the TIR and rematerialize it with TVM script. I cannot recall the details since it has been a while. I guess the worst case is to manually construct the Python code according to the printed text. Good luck!
from tzer.
Hello, if I reproduce the error code, how can I find the root causes? It seems that you used GDB to find errors, do you use other tips and tools? Thanks
from tzer.
Oftentimes we just compile TVM with debug mode and do gdb --args python YOUR_SCRIPT.py
and it can show you the point it crashed. But of course if you can get the original TIR then you may simply do mod = tvm.lower(f)
and tvm.build(mod)
to see if it can be reproduced -- if reproduced you can just file a bug to the TVM community. Also note that Tzer does not guarantee that generated TIR is runtime-valid -- as such if it crashed at execution time it might not be a real bug.
from tzer.
Related Issues (2)
- Error in colab notebook HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tzer.