-
Notifications
You must be signed in to change notification settings - Fork 802
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
unset lazy&verbose env var when disabling mock torch by command line #9970
Conversation
daquexian
commented
Mar 10, 2023
•
edited
Loading
edited
- 修复通过命令行开启 mock 之后环境变量残留导致 api 方式的 mock 参数错误的问题
- 将 scaled_dot_product_attention 加入 lazy mock 的黑名单,让 hasattr(F, "scaled_dot_product_attention") 返回 False
Signed-off-by: daquexian <daquexian566@gmail.com>
Signed-off-by: daquexian <daquexian566@gmail.com>
Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally. |
Speed stats:
|
CI failed when running job: cuda-module. PR label automerge has been removed |
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/9970/ |
|