mars-project / mars-project/mars
[BUG] Mutable tensor doesn't work with mt.concatenate
@sighingnow is already working on this.
Since Sep 9, 2019.
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Mutable tensor doesn't work with `mt.concatenate` (under local cluster deployment). If `a` is a mutable tensor, `mt.concatenate([a, a])` will get stuck when executing but `mt.concatenate([a.T, a.T])` works pretty well...
I'm wondering if there is any special code path for `TensorConcatenate`, but failed to find it.
**To Reproduce**
To help us reproducing this bug, please provide information below:
1. Your Python version: python 3.7
2. The version of Mars you use: master
3. Versions of crucial packages, such as numpy, scipy and protobuf
4. Full stack of the error.
5. Minimized code to reproduce the error.
**Expected behavior**
Sealed mutable tensor should could be used for `mt.concatentate` (directly).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.