[apache/tvm] [Bugfix][NCCL] Release NCCL thread_local resources in destructor (PR #17078)

2024-06-10 Thread Eric Lunderberg
Prior to this commit, allocations performed by `ncclCommInitRank` had no corresponding call to `ncclCommDestroy`. While `ncclCommDestroy` does occur in the `CCLThreadLocalContext::Clear` method, there are no calls into this method. On worker processes, the failure to call `ncclCommDestroy` typ

Re: [apache/tvm] [VOTE] Release Apache TVM v0.16.0.rc0 (Issue #16912)

2024-04-27 Thread Eric Lunderberg
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/16912#issuecomment-2080793568 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm] [VOTE] Transition Main to Unity (Issue #16368)

2024-01-11 Thread Eric Lunderberg
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/16368#issuecomment-1887308146 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm-rfcs] [RFC] Scalable vectors in TIR (PR #104)

2023-10-10 Thread Eric Lunderberg
Agreeing with @kparzysz-quic, changes that update the `DLDataType` would need to be approached very cautiously. I usually lean toward allowing short-term breakages if they lead to better long-term code health, but updating the `DLDataType` would be very wide reaching even more my tastes. One

Re: [apache/tvm-rfcs] [RFC] Scalable vectors in TIR (PR #104)

2023-10-06 Thread Eric Lunderberg
> What I'm aiming at is to be able to lower the TIR to a generic CPU, that is > to an architecture that does not support SVE. The TIR will need to have some > default lowering in CodeGenLLVM/CodeGenCPU, so being able to do that is > important. Could it instead be in a target-dependent lowering

Re: [apache/tvm] [VOTE] Clarify Community Strategy Decision Process (Issue #15521)

2023-08-11 Thread Eric Lunderberg
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/15521#issuecomment-1675087792 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm-rfcs] [RFC] Introduce PresburgerSet (PR #99)

2023-02-21 Thread Eric Lunderberg
I very much like the proposed improvements, especially the use cases for inner-block and inter-block analysis. While I have made some development [for similar applications](https://github.com/apache/tvm/blob/main/src/tir/analysis/control_flow_graph.h), the additional formalism and reliability

Re: [apache/tvm-rfcs] [RFC] Add Commit Message Guideline (PR #88)

2022-08-31 Thread Eric Lunderberg
[Rendered link](https://github.com/gromero/tvm-rfcs/blob/cmg/rfcs/0088-commit-message-guideline.md) -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm-rfcs/pull/88#issuecomment-1233170752 You are receiving this because you are subscribed to this thread. Message

Re: [apache/tvm] [VOTE] Commit Messages RFC (Issue #12583)

2022-08-30 Thread Eric Lunderberg
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/12583#issuecomment-1232123344 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-07-12 Thread Eric Lunderberg
Thank you very much on the comments, suggestions, and discussion, and I'm quite happy with how the design evolved over the course of the discussions! -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm-rfcs/pull/77#issuecomment-1182157349 You are receiving this be

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-30 Thread Eric Lunderberg
> In general it is helpful to first keep schedule decision local, e.g. > introducing a caching stage (AC, BC in the example), the compose with another > reflowing pass to bring the decision to consumer/producers. My goal with the latest update wasn't to require global decisions, but to make loc

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-28 Thread Eric Lunderberg
These make sense, and agreed that the TIR->global feedback is important for enabling the layout reflow. Going back through the discussion, I think we're converging on agreement on what features are required, and the main question remaining are how to best provide annotation for non-local inform

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-24 Thread Eric Lunderberg
> Our design principle at TIR level ideally we start with one instance of > possibility, then use probabilistic space of meta-schedule to represent > multiple choices. For this, would the layout re-flowing occur periodically during optimization? Otherwise, including transformations in the perf

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-24 Thread Eric Lunderberg
> Talking about “constraints”, it is also useful to talk about categories of > them, roughly we can divide them into three categories. I like this breakdown, and agree. In this categorization, what I've been calling "constraints" would be "assumptions". Double-checking in `builtin.h`, it look

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-22 Thread Eric Lunderberg
> For example, we may introduce explicit cache stage to add the padding, and > mark this block for later processing. Wouldn't that require a "remove entirely" annotation that was suggested against [here](https://github.com/apache/tvm-rfcs/pull/77#issuecomment-1163019805)? I could see how we co

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-22 Thread Eric Lunderberg
Writing out some of my thoughts, to see if there's a way to express the constraints while only using existing TIR features. The main goals would be as follows. 1. Allow simplification of expressions based on the values present in the padding. 2. Allow local simplifications to take advantage of

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-22 Thread Eric Lunderberg
> It doesn't add additional semantic, the computation semantic stays the same, > it is a hint to the graph compiler. My apologies, I had meant the semantics of a node from the perspective of a TIR transformation, not the semantics from the perspective of the computation being described. For a

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-22 Thread Eric Lunderberg
> Indeed it is important to avoid having a separate compute definition for each > workload on a new target. In this particular case, all computation definition > would start with the original layout. Then there is a "schedule > transformation" like transform layout which will generate the new st

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-21 Thread Eric Lunderberg
> Introducing changes to TIR would needs some additional thoughts that deserves > some extra consideration. Due to the N*M complexity (where N is the TIR > possibilities and M is the number of primitives to be supported) that needs > to be handled in implementation (by backend implementers and p

[apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-06 Thread Eric Lunderberg
This RFC introduces a method to specify padding to be applied as part of a buffer layout transformation, to be used when the desired layout does not evenly tile the buffer being transformed, and simplifications that can be performed based on these padded buffers. The motivating examples are pri

Re: [apache/tvm-rfcs] Add Target Pre-processing RFC (PR #71)

2022-05-18 Thread Eric Lunderberg
> Based on my previous re-review of LLVM, thanks to @tqchen, it might help to > use my_target.features.dsp rather than my_target.arch.has_dsp and clarifying > these are features available to the Target? What do you think? I like that, and the renaming makes it clear which are boolean parameters

Re: [apache/tvm] [VOTE] Replace codeowners with more relevant automation (Issue #10471)

2022-03-07 Thread Eric Lunderberg
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/10471#issuecomment-1060835861 You are receiving this because you are subscribed to this thread. Message ID:

[Apache TVM Discuss] [Development/pre-RFC] [pre-RFC] Vectorized TIR Buffers

2021-07-29 Thread Eric Lunderberg via Apache TVM Discuss
@masahi Tagging following comments on https://github.com/apache/tvm/pull/8528#pullrequestreview-718506978 --- [Visit Topic](https://discuss.tvm.apache.org/t/pre-rfc-vectorized-tir-buffers/10615/5) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe f

[Apache TVM Discuss] [Development/pre-RFC] [docs][discuss] Convert ReStructuredText docs to Markdown?

2021-06-17 Thread Eric Lunderberg via Apache TVM Discuss
I think I'd lean towards markdown for consistency with other services, but that's only if all other features were equal. Markdown would be nicer for reviewing, since it can be viewed from github in the browser, but the I think cross-references are the more important feature. Would either md

[Apache TVM Discuss] [Development/RFC] [RFC] Parametrized Unit Tests

2021-05-17 Thread Eric Lunderberg via Apache TVM Discuss
Correct, the different cases are intended to show the entire contents of a test file. The names in this example are chosen so that it can be run with minimal interaction between cases. For the `fixture(scope="module")`, this indicates when pytest should clean up a fixture, but it is only ava

[Apache TVM Discuss] [Development/RFC] [RFC] Parametrized Unit Tests

2021-05-11 Thread Eric Lunderberg via Apache TVM Discuss
Adding notes from a few video chats, so that there is a record of the discussion >From @tkonolige , confirmed that the current implementation of >`@tvm.testing.parametrize_targets` shows skipped targets if they are >explicitly listed in the decorator, but not if they come from >`TVM_TEST_TARG