Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1330

DL: Do not compile model for predict and add GPU support

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.16
    • Deep Learning
    • None

    Description

      In internal_keras_predict, we compile the model for every row. Starting from keras 1.0.3, keras predict does not need a compiled model. This will make our current predict code(which does not use SD) easier and hopefully slightly faster even with CPU. See more details here https://github.com/keras-team/keras/issues/3074

      Acceptance:
      1. Validate that removing the compile code does not impact the accuracy of the results
      2. Add new optional param named use_gpu in predict interface.

      Attachments

        Activity

          People

            njayaram Nandish Jayaram
            njayaram Nandish Jayaram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: