mars-project / mars-project/mars

[BUG] Mutable tensor doesn't work with mt.concatenate

Open
#713 0 comments 0 reactions 1 assignee View on GitHub

@sighingnow is already working on this.

Since Sep 9, 2019.

mod: mutable tensor mod: tensor type: bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.