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

fix resolve_name bug #66

Merged
merged 2 commits into from
Oct 16, 2024
Merged

fix resolve_name bug #66

merged 2 commits into from
Oct 16, 2024

Conversation

zhaoguochun1995
Copy link
Collaborator

@zhaoguochun1995 zhaoguochun1995 commented Oct 16, 2024

  1. torch.randn(3, 4, 5, dtype=torch.float32, device="cuda", requires_grad=True)类算子(如torch.ones_like, torch.full等)实际上是设备上的算子,误被解析为cpu上的算子而被忽略
  2. torch 原生的resolve_name 对有些接口返回None,导致该接口被忽略。返回None的原因是国产框架内使用装饰器对该类算子做了mock,导致返回值异常

@yangbofun yangbofun merged commit 1811166 into main Oct 16, 2024
13 checks passed
@yangbofun yangbofun deleted the zgc/ditorch_fix_resolve_name_bug branch October 16, 2024 10:50
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.

2 participants