Comments (4)
@daxiongshu That's weird. Actually I developed this software on machines without GPU card, and everything goes well. Moreover, the core operators I implemented in "cc/" folder is cpu version only. Could you please double-check the gpu usage actually comes from fast_tffm? It will be more helpful if you could identify which operators the gpu usage comes from. I will further investigate it. Thanks!
from fast_tffm.
@daxiongshu FYI, the tensorflow version I installed is "cpu only" version. I haven't run the code on the "gpu" version tensorflow yet. Is it possible that the "gpu" version tensorflow will consume some gpu no matter what mode is chosen?
from fast_tffm.
Thank you for the reply! Yeah, it seems CPU does all heavy lifting. The GPU process only uses 64 MB GPU memory. Previously i thought maybe that is due to the small batch size but when i increase batch size 10x the GPU process still uses 64MB. I installed the GPU version tensorflow and the code runs very well. Thank you!
I saw the nested loops in cc/fm_grad_op.cc so yeah it is CPU-like implementation. Do you happen to know where i can find some guides for implementing GPU ops? I'd like to contribute to this repo with a GPU version.
Thank you very much!
from fast_tffm.
Welcome to contribute :) There are numerous operator implementations in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/kernels . You can check how they work.
However, when I print the timeline for each operators, it seems that currently the most time consuming operators is the parse operator; therefore, the gpu implementation might not bring any difference. You can verify that. Thanks.
from fast_tffm.
Related Issues (7)
- Shape function is needed for every op HOT 5
- canot run HOT 7
- how to get this results? HOT 4
- Multinomial logloss HOT 1
- is ffm model will support?
- what is the weight file? HOT 1
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 fast_tffm.