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

api.py kill 函数bug #213

Open
jianjew opened this issue Nov 29, 2024 · 0 comments
Open

api.py kill 函数bug #213

jianjew opened this issue Nov 29, 2024 · 0 comments

Comments

@jianjew
Copy link

jianjew commented Nov 29, 2024

版本:secretflow-rayfed==0.2.1a2
api.py 中kill函数中有个handler = actor._actor_handle,但是FedActorHandle没有_actor_handle这个属性,是_ray_actor_handle这个属性,这里应该是个bug,导致
File "/root/miniconda3/lib/python3.10/site-packages/secretflow/distributed/primitive.py", line 169, in kill
2024-11-29T11:15:58.050069673+08:00 stderr F return fed.kill(actor, no_restart=no_restart)
2024-11-29T11:15:58.05007398+08:00 stderr F File "/root/miniconda3/lib/python3.10/site-packages/fed/api.py", line 646, in kill
2024-11-29T11:15:58.050174381+08:00 stderr F handler = actor._actor_handle
2024-11-29T11:15:58.050183443+08:00 stderr F File "/root/miniconda3/lib/python3.10/site-packages/fed/_private/fed_actor.py", line 49, in getattr
2024-11-29T11:15:58.050612659+08:00 stderr F getattr(self._body, method_name)
2024-11-29T11:15:58.050635847+08:00 stderr F AttributeError: type object 'SPURuntime' has no attribute '_actor_handle'

@jianjew jianjew changed the title pai api.py Nov 29, 2024
@jianjew jianjew changed the title api.py api.py kill Nov 29, 2024
@jianjew jianjew changed the title api.py kill api.py kill 函数bug Nov 29, 2024
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

No branches or pull requests

1 participant