昇腾910B报错The context is empty. Check whether acl.rt.set_context or acl.rt.set_device is called. #7727
Unanswered
KnightKKOP
asked this question in
Q&A
Replies: 0 comments
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.
-
使用910B微调DeepSeekR1-distill-7B,微调结束后报错如下,如何解决呢?
[ERROR] 2025-04-14-12:53:43 (PID:9482, Device:0, RankID:-1) ERR00100 PTA call acl api failed
[Error]: The context is empty.
Check whether acl.rt.set_context or acl.rt.set_device is called.
EE1001: [PID: 9482] 2025-04-14-12:53:43.313.114 The argument is invalid.Reason: rtDeviceSynchronizeWithTimeout execute failed, reason=[context pointer null]
Solution: 1.Check the input parameter range of the function. 2.Check the function invocation relationship.
TraceBack (most recent call last):
ctx is NULL![FUNC:DeviceSynchronize][FILE:api_impl.cc][LINE:2981]
The argument is invalid.Reason: rtDeviceSynchronizeWithTimeout execute failed, reason=[context pointer null]
wait for compute device to finish failed, runtime result = 107002.[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]
Beta Was this translation helpful? Give feedback.
All reactions