mars-project / mars

Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.
https://mars-project.readthedocs.io
Apache License 2.0
2.68k stars 325 forks source link

fix tiling of norm #3329

Closed yuyiming closed 1 year ago

yuyiming commented 1 year ago

What do these changes do?

In tile() of TensorNorm, input chunk will be copied before recursively tiling, which leads to unnecessary re-execution of historical DAG nodes or crashing when encountering Fetch OP.

This commit prevents the input chunk from copying.

Check code requirements