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

[Bug] relay parser not support var name contain "/" #16835

Open
sleepcoo opened this issue Apr 3, 2024 · 2 comments
Open

[Bug] relay parser not support var name contain "/" #16835

sleepcoo opened this issue Apr 3, 2024 · 2 comments
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug

Comments

@sleepcoo
Copy link

sleepcoo commented Apr 3, 2024

def test_simple():
    code = """
#[version = "0.0.5"]
def @simple[A, B](%fdd/ddsa: fn(A) -> B, %xs: A) -> B {
  %fdd/ddsa(%xs)
}
def @main(%l: Tensor[(5, 5), float32]) -> Tensor[(5, 5), float32] {
  %0 = fn[A](%x: A) -> A {
    %x
  };
  @simple(%0, %l)
}
"""
    # error
    mod = tvm.parser.fromtext(code)
@sleepcoo sleepcoo added needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug labels Apr 3, 2024
@xhmelon
Copy link
Contributor

xhmelon commented Apr 18, 2024

Your simple code works fine with the latest TVM. Any other error information?

@yongwww
Copy link
Member

yongwww commented Apr 24, 2024

it would be good if you can try out Relax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: bug
Projects
None yet
Development

No branches or pull requests

3 participants