Skip to content

[IR] Compact Functor vtable#17731

Merged
MasterJH5574 merged 1 commit intoapache:mainfrom
tqchen:vtable
Mar 11, 2025
Merged

[IR] Compact Functor vtable#17731
MasterJH5574 merged 1 commit intoapache:mainfrom
tqchen:vtable

Conversation

@tqchen
Copy link
Copy Markdown
Member

@tqchen tqchen commented Mar 11, 2025

This PR add a finalize routine to optionally compact functor vtable dynamically. Also updates child_slots for key types to make sure the IR node type index stay within range and such compact happens based on runtime.DumpTypeTable

This PR add a finalize routine to optionally compact functor vtable dynamically.
Also updates child_slots for key types to make sure the IR node type
index stay within range and such compact happens.
@tqchen
Copy link
Copy Markdown
Member Author

tqchen commented Mar 11, 2025

@tvm-bot rerun

Copy link
Copy Markdown
Contributor

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MasterJH5574 MasterJH5574 merged commit 148737b into apache:main Mar 11, 2025
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
This PR add a finalize routine to optionally compact functor vtable dynamically.
Also updates child_slots for key types to make sure the IR node type
index stay within range and such compact happens.
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