Skip to content

why tensorflow backend is 4x slower than theano when i training a word vector level lstm. #2869

@yanyuxiaoxiao

Description

@yanyuxiaoxiao

Same comments say that tensorflow backend is slower than theano when training lstm.I meet the same question. I want to know why this happen? @fchollet

Activity

talpay

talpay commented on Jun 1, 2016

@talpay
Contributor

Are you using TF 0.8+? The main reason that TF is sometimes slower than theano is that it is newer. It's currently much faster than after release but there's still room for optimization. This takes time, though.

yanyuxiaoxiao

yanyuxiaoxiao commented on Jun 2, 2016

@yanyuxiaoxiao
Author

@talpay Yes, the latest version. Interesting, hope the time will be short.

jonilaserson

jonilaserson commented on Jun 7, 2016

@jonilaserson

Also experiencing extreme slowness on TF side.

On Thu, Jun 2, 2016 at 5:21 AM, yanyuxiaoxiao notifications@github.com
wrote:

@talpay https://github.com/talpay Yes, the latest version. Interesting,
hope the time will be short.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2869 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFdLCGQRRVi2gtR4qj2kd45ygtWcPGijks5qHj4kgaJpZM4IrjXl
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jonilaserson@talpay@yanyuxiaoxiao

        Issue actions

          why tensorflow backend is 4x slower than theano when i training a word vector level lstm. · Issue #2869 · keras-team/keras