Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multinomial_from_uniform dispatch #17010

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

Hzfengsy
Copy link
Member

This PR aims to support backend dispatching for multinomial_from_uniform, which includes:

  • Relax Op multinomial_from_uniform
  • TIR gpu kernel for multinomial_from_uniform
  • dispatching pass
  • TVMScript parser support for pure-python If branch

cc @tqchen

@github-actions github-actions bot requested a review from tqchen May 20, 2024 05:25
Copy link
Member

@tqchen tqchen left a comment

Choose a reason for hiding this comment

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

two minor nits, otherwise LGTM

python/tvm/relax/op/index.py Outdated Show resolved Hide resolved
include/tvm/relax/attrs/index.h Outdated Show resolved Hide resolved
@Hzfengsy Hzfengsy force-pushed the tir_sampling branch 2 times, most recently from 9896a6b to 939663d Compare May 21, 2024 12:20
@tqchen
Copy link
Member

tqchen commented May 21, 2024

@tvm-bot rerun

@Hzfengsy Hzfengsy force-pushed the tir_sampling branch 2 times, most recently from 01805e3 to d390547 Compare May 22, 2024 09:10
@tqchen
Copy link
Member

tqchen commented May 22, 2024

@tvm-bot rerun

5 similar comments
@tqchen
Copy link
Member

tqchen commented May 23, 2024

@tvm-bot rerun

@yongwww
Copy link
Member

yongwww commented May 23, 2024

@tvm-bot rerun

@tqchen
Copy link
Member

tqchen commented May 23, 2024

@tvm-bot rerun

@tqchen
Copy link
Member

tqchen commented May 23, 2024

@tvm-bot rerun

@tqchen
Copy link
Member

tqchen commented May 24, 2024

@tvm-bot rerun

@tqchen tqchen merged commit 604fbbd into apache:main May 24, 2024
18 checks passed
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.

None yet

3 participants