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

[TVMScript] Script namespace changes #9115

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Sep 25, 2021

Script namespace changes. Please see the RFC: apache/tvm-rfcs#36.

This PR would be extreme huge, but most of them are unittests refactoring.

Co-authored-by: Junru Shao junrushao1994@gmail.com
Co-authored-by: Zihao Ye zihaoye.cs@gmail.com

@Hzfengsy
Copy link
Member Author

cc @tqchen @junrushao1994 @tkonolige

@Hzfengsy Hzfengsy force-pushed the script_namesapce branch 2 times, most recently from 4e7784f to a0c3cf1 Compare September 26, 2021 05:05
Copy link
Contributor

@tkonolige tkonolige left a comment

Choose a reason for hiding this comment

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

Overall this looks good. I think I managed to read through all the files :). There's a couple of small changes that would be good to have. And I'd also like to understand why are change the return value of tvm.script.ir_module.

python/tvm/tir/function.py Outdated Show resolved Hide resolved
python/tvm/topi/arm_cpu/cortex_m7/micro_kernel/gemm.py Outdated Show resolved Hide resolved
python/tvm/script/parser.py Outdated Show resolved Hide resolved
tests/python/unittest/test_tvmscript_spans.py Outdated Show resolved Hide resolved
@junrushao
Copy link
Member

Thanks @Hzfengsy for the hard work, greatly improving the TVMScript syntax! Let's move quickly, address comments and get this PR merged :-)

@Hzfengsy Hzfengsy force-pushed the script_namesapce branch 3 times, most recently from b3b3287 to 67c2016 Compare September 30, 2021 09:13
@Hzfengsy Hzfengsy force-pushed the script_namesapce branch 6 times, most recently from d49d531 to f1cf815 Compare October 1, 2021 10:37
Co-authored-by: Junru Shao <junrushao1994@gmail.com>
Co-authored-by: Zihao Ye <zihaoye.cs@gmail.com>
Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com>
@junrushao junrushao merged commit e7af601 into apache:main Oct 1, 2021
@Hzfengsy Hzfengsy deleted the script_namesapce branch October 2, 2021 07:12
Mousius added a commit to Mousius/tvm that referenced this pull request Oct 12, 2021
Caused by apache#8469 being stale on merge when apache#9115 had changed the namespace for `tvm.script`.
mbaret pushed a commit that referenced this pull request Oct 12, 2021
Caused by #8469 being stale on merge when #9115 had changed the namespace for `tvm.script`.
Mousius added a commit to Mousius/tvm that referenced this pull request Oct 14, 2021
Seeing:
```
ERROR: Could not find a version that satisfies the requirement sphinx-gallery==0.4.1 (from versions: 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.10, 0.0.11.post1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0)
ERROR: No matching distribution found for sphinx-gallery==0.4.1
```

This was changed in apache#9115
masahi pushed a commit to Laurawly/tvm-1 that referenced this pull request Oct 14, 2021
Caused by apache#8469 being stale on merge when apache#9115 had changed the namespace for `tvm.script`.
tqchen pushed a commit that referenced this pull request Oct 14, 2021
Seeing:
```
ERROR: Could not find a version that satisfies the requirement sphinx-gallery==0.4.1 (from versions: 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.10, 0.0.11.post1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0)
ERROR: No matching distribution found for sphinx-gallery==0.4.1
```

This was changed in #9115
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
Co-authored-by: Junru Shao <junrushao1994@gmail.com>
Co-authored-by: Zihao Ye <zihaoye.cs@gmail.com>
Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com>
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
Caused by apache#8469 being stale on merge when apache#9115 had changed the namespace for `tvm.script`.
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
Seeing:
```
ERROR: Could not find a version that satisfies the requirement sphinx-gallery==0.4.1 (from versions: 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.10, 0.0.11.post1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0)
ERROR: No matching distribution found for sphinx-gallery==0.4.1
```

This was changed in apache#9115
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
Co-authored-by: Junru Shao <junrushao1994@gmail.com>
Co-authored-by: Zihao Ye <zihaoye.cs@gmail.com>
Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com>
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
Caused by apache#8469 being stale on merge when apache#9115 had changed the namespace for `tvm.script`.
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
Seeing:
```
ERROR: Could not find a version that satisfies the requirement sphinx-gallery==0.4.1 (from versions: 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.10, 0.0.11.post1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0)
ERROR: No matching distribution found for sphinx-gallery==0.4.1
```

This was changed in apache#9115
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.

5 participants