Skip to content

[BUG] As there are no _tensor_to_tiled in GraphActor, referencing it will lead to AttributeError #124

@wjsi

Description

@wjsi

Describe the bug
As there are no _tensor_to_tiled in GraphActor, referencing it in

return OrderedDict((c.key, c.index) for c in self._tensor_to_tiled[tensor_key][-1].chunks)
will lead to AttributeError

Expected behavior
Use _get_tensor_by_key() instead. Cases are also recommended. Currently the line https://coveralls.io/builds/21024102/source?filename=mars/scheduler/graph.py#L773 is not covered.

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions