Git Product home page Git Product logo

Comments (6)

vineelpratap avatar vineelpratap commented on September 28, 2024 9

Hi,
flashlight is a 1 year effort, we started the project before PyTorch C++ API existed and we wanted C++ first design for our project - wav2letter.

Here are a few reasons we chose Arrayfire

  • C++11 fully-featured tensor library.
  • Easy to use API.
  • Good documentation and active community.
  • Works seamlessly on multiple devices - supports CPU, CUDA, OPENCL.
  • And more importantly, has a JIT compiler for efficiency.

from flashlight.

yxchng avatar yxchng commented on September 28, 2024 4

@vineelpratap Can you elaborate more on the reasons? Is PyTorch C++ the negations of the reasons you stated, i.e.

  • Not a C++11 fully-featured tensor library
  • Bad to use API
  • Bad documentation and inactive community
  • Works bad on multiple devices
  • Has no JIT compiler

You make it sounds so bad.

from flashlight.

vineelpratap avatar vineelpratap commented on September 28, 2024 4

As mentioned, there was no C++ API for PyTorch when we started the project and we found Arrayfire to be good Tensor library to be used in our projects.

Please do not draw any further conclusions !

from flashlight.

vineelpratap avatar vineelpratap commented on September 28, 2024

Hi,
The notable difference is that flashlight use arrayfire as it's tensor library and pytorch uses Torch/ATen.
You can find the API for flashlight here - https://fl.readthedocs.io/en/latest/ .

from flashlight.

eric-nok avatar eric-nok commented on September 28, 2024

Can you expand a bit why ArrayFire was chosen? Why might a user prefer an ArrayFire-backed library over Torch/ATen or other alternatives?

from flashlight.

edgarriba avatar edgarriba commented on September 28, 2024

wasn't Caffe2 already there by that time ? :D
Anyways, awesome library !

from flashlight.

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.