Coder Social home page Coder Social logo

[TENSOR] eager mode support about mars HOT 2 CLOSED

mars-project avatar mars-project commented on August 17, 2024
[TENSOR] eager mode support

from mars.

Comments (2)

qinxuye avatar qinxuye commented on August 17, 2024

I think in order to reach the availability of eager mode, we can separate the develop process into a few steps.

  • Record which tensor has been executed in a specified session. (#80)
  • Update the shape and so forth after execute.(#120)
  • Handle the executed tensor by replacing it with tensor whose op is Fetch. Handling logic for local, local cluster and distributed session may be different.(#180)
  • Provide a base class for the TensorOperandMixin which has a new_tensors method, maybe we need to implement a new_entities for the base class, and call it inside the new_tensors. This is a preparation for the coming dataframe module. (#173)
  • If eager mode is on, make the new_tensor(maybe new_entity) trigger the execution when building expressions, we need to take care of the case cautiously, because new_tensor is also widely used in the tile, we need to make sure that the new_tensor in tile would not trigger the execution.(#200)

cc @NJUPole if there is any additional suggestion.

from mars.

qinxuye avatar qinxuye commented on August 17, 2024

As all steps have been achieved, this summary issue can be closed.

from mars.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.