Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

api.py kill 函数bug #213

@jianjew

Description

@jianjew

版本: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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions