Comments (6)
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.
@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.
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.
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.
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.
wasn't Caffe2 already there by that time ? :D
Anyways, awesome library !
from flashlight.
Related Issues (20)
- Add Module and Container deep copy/cloning
- flashlight allocate memory on every gpu even when only using one in multigpu setup HOT 3
- terminate called after throwing an instance of 'std::invalid_argument' HOT 1
- Google Colab Fails to Launch HOT 1
- Help Installing HOT 5
- flashlight crashes under UHD opencl HOT 1
- Flashlight on Raspberry Pi with Ubuntu
- Transpose Implementation improvement for oneDNN backend
- Fixing Typos in autograd.rst file
- APP BUILD ISSUE HOT 7
- FL Applications
- Transpose2D not included?
- fl_asr_train with ASG criterion fails
- Is there a Pytorch friendly way to access this work? Is it through torch-audio?
- [Your bug title]
- NameError: name 'CriterionType' is not defined HOT 4
- flashlight/flashlight/fl/tensor/backend/af/ArrayFireReductions.cpp:271:35: error: HOT 1
- no tensor extensions error when trying to run ./Mnist data/mnist
- OneDNN Backend - Perceptron Example throws exception HOT 1
- Flashlight Incompatible with Clang and std 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flashlight.