Skip to content

Conversation

@MasterJH5574
Copy link
Contributor

This PR enhances the symbolic expression upper bound estimation in static memory planning.

Prior to this PR, we are not able to estimate the upper bound of a * b when a has an upper bound while b does not. This PR enhances the estimation with arith::IntSet.

We introduce another TIR attribute tir_non_negative_var to indicate the non-negative TIR variables for memory planning use.

A new unit test is introduced for this enhancement.

This PR enhances the symbolic expression upper bound estimation in
static memory planning.

Prior to this PR, we are not able to estimate the upper bound of
`a * b` when `a` has an upper bound while `b` does not. This PR
enhances the estimation with arith::IntSet.

We introduce another TIR attribute `tir_non_negative_var` to indicate
the non-negative TIR variables for memory planning use.

A new unit test is introduced for this enhancement.
@MasterJH5574 MasterJH5574 force-pushed the tvm-dev/2024-04-11-mem-plan-symbolic branch from 7847d74 to 958ca0c Compare April 11, 2024 21:18
@tqchen tqchen merged commit 0a3fe22 into apache:main Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants