Giter Site home page Giter Site logo

Comments (1)

nicolasvasilache avatar nicolasvasilache commented on August 15, 2024

Hello @SharonLi01,

My apologies for the long delay, I am sorry to say that the core TC team has moved on to other things.
As far as I know the project is not maintained anymore but someone from Facebook should voice in, I am not in a position to speak for them.

On to your specific question, it depends what language you want.

For C++ you essentially need to do 2 things:

  1. port tc/aten/ to your C++ tensor library (or just use Pytorch's ATen, but the caveat is you must use PyTorch 0.3's ATen version for);
  2. call TC directly using the interfaces in tc/aten/aten_compiler.h and tc/aten/aten_autotuner.h
    You can reproduce the above easily by just looking at how tc/examples/tensordot.cc works, it should be pretty straightforward.

For Python, you need to do the above and additionally port tensor_comprehensions/pybinds/ to your tensor library/framework as well as the python parts of tensor_comprehensions/

For my information, what is your framework of choice?

All the best!

N

from tensorcomprehensions.

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.