【持续更新】微信群 Q&A 汇总 #53
Unanswered
antonia0912
asked this question in
Q&A
Replies: 2 comments
-
你好,微信群如何添加 |
Beta Was this translation helpful? Give feedback.
0 replies
-
请问问题6中我的python版本已经是3.8了依然报这个错怎么解决呀 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Q:跑 CPU ResNet18,TVM 比 PyTorch 慢了近一倍,合理吗?

A:应该是哪里出了点问题,ResNet50 上的结果应该是比 torch 快 3 倍左右
Q:请问 TVM 使用 cuda 跑一个结果后,如何保证运行完呢,类似于 PyTorch 里 torch.cuda.synchronize,我想测试耗时
A:TVM cuda 是非阻塞式的,你拿到 output 里面值的时候就运行完了。可以用 module.benchmark API 测量标准运行时间
Q:如何跑通带 metal 的 iOS Demo?我这边带 bitcode 的 runtime 库还没有编译出来
A:可以参考 Using Swift and Apache TVM to Develop ML Apps for the Apple Ecosystem
Q:为什么会出现这个报错:

ERROR: Could not install packages due toan OSError: HTTPSConnectionPool (host=' github.com', port=443)……
A:GitHub 被墙了
Q:大家都是如何调试 TVM 的,像这种不会说到底第几行出错了:

A:目前在 notebook 中的报错信息还有些问题,在 Python 中运行是没有问题的
Q:环境安装遇到这个报错:

A:python 升级到 3.7 及以上
Q:出现报错

DiagnosticError: Traceback (most recent call last)...
A:函数里面有使用的
max
函数,应该用tir.max
,且与 0 比较时要用tir.float(0)
Q:schedule 中的 vectorize 和 parallel 有什么区别?
A:数据级并行和线程级并行
Q:类似这样的函数,必须要指明 A B C 的 shape 吧?

A:是的,必须要给定 shape
更多相关讨论,持续更新中 🙌🏻
Beta Was this translation helpful? Give feedback.
All reactions