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

[Tracking Issue] Scalable Vector Extension (SVE) upstreaming #16455

Open
11 of 12 tasks
ekalda opened this issue Jan 23, 2024 · 4 comments
Open
11 of 12 tasks

[Tracking Issue] Scalable Vector Extension (SVE) upstreaming #16455

ekalda opened this issue Jan 23, 2024 · 4 comments
Labels
backend:llvm tir:ir src/tir/ir, and wrappers in python/tvm/tir type:rfc-tracking RFC progress tracking. Ref: https://github.com/apache/tvm-rfcs

Comments

@ekalda
Copy link
Contributor

ekalda commented Jan 23, 2024

This issue is to track progress for SVE upstreaming

@ekalda ekalda added type:rfc-tracking RFC progress tracking. Ref: https://github.com/apache/tvm-rfcs backend:llvm tir:ir src/tir/ir, and wrappers in python/tvm/tir labels Jan 23, 2024
@MrJungle1
Copy link

@ekalda Hello! I used the latest code and when I tried relay.build(mod, target=target, params=params), I encountered the following error, TVMError: Can't fetch the lanes of a scalable vector at a compile time. Please tell me how to solve it

@ekalda
Copy link
Contributor Author

ekalda commented May 20, 2024

Hi @MrJungle1, yes that sounds like a problem related to the SVE implementation. Can you tell me more about what is in the mod and what is the target you are compiling for? This error is triggered when we try to do a.lanes() for a an object a which dtype is a scalable vector (we should do a.vscale_factor() in this case instead). This error can be triggered from many places in the codebase, so the stack trace that accompanies the error would help to diagnose it.

@MrJungle1
Copy link

@ekalda Hello, thank you for your reply. My model is an onnx model converted from HIFIGAN. target = "llvm -mtriple=arm64-linux-android -mattr=+neon"

@ekalda
Copy link
Contributor Author

ekalda commented May 20, 2024

Could you provide a stack trace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:llvm tir:ir src/tir/ir, and wrappers in python/tvm/tir type:rfc-tracking RFC progress tracking. Ref: https://github.com/apache/tvm-rfcs
Projects
None yet
Development

No branches or pull requests

2 participants