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

Test tensor execution in distributed mode #71

Closed
hekaisheng opened this issue Dec 27, 2018 · 3 comments
Closed

Test tensor execution in distributed mode #71

hekaisheng opened this issue Dec 27, 2018 · 3 comments

Comments

@hekaisheng
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, our expressions test cases all run by thread-based executor, however the behavior changes when running in cluster, only a few cases in test_api and test_main works for end to end.

Several issues(#19 #64 #8 ) are related to this, maybe we need some tests to cover them in the future.

Describe the solution you'd like
At least, we can add cases in testGraphActor to test GraphActor with different input tensors.

@qinxuye
Copy link
Collaborator

qinxuye commented Dec 27, 2018

If most failures are due to the serialization, maybe we need to enhance the tests in tensor/expressions.

The e2e tests are quite heavy, I think we only need to test on some special and corner cases.

@qinxuye qinxuye added this to the v0.1.0rc1 milestone Dec 27, 2018
@wjsi
Copy link
Member

wjsi commented Dec 27, 2018

We may test under a mimic setting for the distributed cases in an actor-free environment. That is,

  1. Serialize / deserialize the tensor graph;
  2. Tile with the same code as GraphActor used;
  3. Extract operands by get_executable_operand_dag;
  4. Execute operands one by one.

@qinxuye
Copy link
Collaborator

qinxuye commented Jul 28, 2019

This issue would be replaced by #267 , close first.

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