Skip to content

CPU 环境反向报错:While running Node (GroupNormGradNode) raises an EnforceNotMet exception #72357

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

Open
wangguan1995 opened this issue Apr 18, 2025 · 1 comment
Assignees

Comments

@wangguan1995
Copy link

bug描述 Describe the Bug

W0418 04:25:20.342784 80253 backward.cc:437] While running Node (GroupNormGradNode) raises an EnforceNotMet exception
Traceback (most recent call last):
File "/workspace/MathorCup/PaddleScience/competition/MathorCup2025/main.py", line 361, in
train(config_p)
File "/workspace/MathorCup/PaddleScience/competition/MathorCup2025/main.py", line 299, in train
loss.backward()
File "/usr/local/lib/python3.10/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/usr/local/lib/python3.10/dist-packages/paddle/base/wrapped_decorator.py", line 40, in impl
return wrapped_func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/paddle/base/framework.py", line 704, in impl
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/paddle/base/dygraph/tensor_patch_methods.py", line 358, in backward
core.eager.run_backward([self], grad_tensor, retain_graph)
ValueError: (InvalidArgument) Required tensor shall not be nullptr, but received nullptr.
[Hint: tensor should not be null.] (at ../paddle/phi/core/device_context.cc:141)

其他补充信息 Additional Supplementary Information

No response

@HydrogenSulfate
Copy link
Contributor

#72358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants