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

[Notebook 5] tune_tir is not working. API might be changed. #35

Open
wonseokjeon opened this issue Jul 12, 2024 · 0 comments
Open

[Notebook 5] tune_tir is not working. API might be changed. #35

wonseokjeon opened this issue Jul 12, 2024 · 0 comments

Comments

@wonseokjeon
Copy link

from tvm import meta_schedule as ms

database = ms.tune_tir(
    mod=MyModule,
    target="llvm --num-cores=1",
    max_trials_global=64,
    num_trials_per_iter=64,
    space=ms.space_generator.ScheduleFn(stochastic_schedule_mm),
    work_dir="./tune_tmp",
    task_name="main"
)

When I was trying to run this block, It gave an error "TypeError: tune_tir() got an unexpected keyword argument 'task_name'".
API might be changed.

So I'm trying to fix this by,

from tvm import meta_schedule as ms

database = ms.tune_tir(
    mod=MyModule,
    target="llvm --num-cores=1",
    max_trials_global=64,
    num_trials_per_iter=64,
    space=ms.space_generator.ScheduleFn(stochastic_schedule_mm),
    work_dir="./tune_tmp",
)

Then the error "ValueError: TensorIntrin 'dot_4x4_i8i8s32_neon' is not registered" came out.
I'm running this notebook on M1 Max Macbook Pro, python 3.10.

How can i fix it? Did anyone resolve this issue? Pleas give me some hints.

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

No branches or pull requests

1 participant