-
Notifications
You must be signed in to change notification settings - Fork 825
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
LazyInterpret build LocalTensor if input is local #5582
Conversation
CI failed, removing label automerge |
CI failed, removing label automerge |
1 similar comment
CI failed, removing label automerge |
ConsistentOp支持输入Lazy Local Tensor? 看这里把loca 的input和variable都转成了Local,而不是单卡的consistent |
1 similar comment
ConsistentOp支持输入Lazy Local Tensor? 看这里把loca 的input和variable都转成了Local,而不是单卡的consistent |
ConsistentOp 跟 Tensor 没有任何关系。ConsistentOp 不需要 Tensor 这个概念,只需要 lbn 就行。 |
哦,这些Tensor只是存了一些必要的meta信息,方便在job外以一个统一的数据结构交换meta信息的。 |
是的~ |
Speed stats:
|
Speed stats:
|
LazyInterpret 在推导 output Tensor 时,根据 input tensor 是否是 Local 来创建 LocalTensor 或者 ConsistentTensor。
但是 LazyInterpret 调用 JobBuildAndInferCtx AddOp 时,永远是 ConsistentOp。