question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] [Hybrid Script] IR Dump

See original GitHub issue

Because HalideIR now can be fully mapped to Hybrid Script and vice versa, I want to support IR dump to Hybrid Script so that users can play with IR body directly.

Which one do you guys prefer?

  1. mode=tvm.build(sch, args, target='hybrid'); mode.save('a.py')
  2. tvm.hybrid.emit(stmt, file_name)

I personally like the 2nd one better. I do not want touch too much build module thing. I want to make it as standalone as possible.

@tqchen @eqy @yzhliu @kevinthesun @yidawang

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
xqdancommented, Dec 16, 2018

@kevinthesun totally agree with @were and @junrushao1994, to support continue and break, the whole TVM stack would need lots of stuff in traditional compilers, which will make things complicated. if any operators don’t fit into abstraction of TVM, maybe it’s better to support it with low level languages, such as CUDA c. Also it’s interesting to see what’s the real requirements look like.

1reaction
kevinthesuncommented, Dec 15, 2018

@junrushao1994 I don’t think we need to support those.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[RFC] Hybrid Script Support for TIR - Apache TVM Discuss
This RFC plans to utilize a subset of Python AST that can express every TIR node. The new dialect will serve as a...
Read more >
Hybrid Public Key Encryption RFC 9180 - IETF Datatracker
Hybrid Public Key Encryption (RFC 9180, February 2022) ... Replaces, draft-barnes-cfrg-hpke. RFC stream, Internet Research Task Force (IRTF). Formats.
Read more >
[LLVMdev] RFC: Machine Level IR text-based serialization format
Having a way to serialize machine IR will let us test each pass in isolation. > Is the reason for this project because...
Read more >
rfc:jit - PHP
PHP JIT doesn't introduce any additional IR (Intermediate Representation) form. It generates native code directly from PHP byte-code and ...
Read more >
WOk - River Thames Conditions
Oko gryfa diablo 2, Notanker synonym, Air max 90 hybrid, Grove 3 axis ... 21 and over clubs in san francisco ca, The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found