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

Change GPU related hardcoded things in madlib_keras.py_in

    XMLWordPrintableJSON

Details

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

    Description

      Based on the code in PR https://github.com/apache/madlib/pull/355:

      1. Currently in madlib_keras.py_in , we hardcod the following things
        1. gpus_per_host = 4
        2. device_name = '/cpu:0' or '/gpu:0' ( can the device ever be not named gpu0 or cpu0 ? )
      2. Look into and document the usage of CUDA_VISIBLE_DEVICES when gpu_only is set to TRUE. Currently we set it to str(current_seg_id % gpus_per_host). How does this logic work and will it always work? How would this logic change for Postgres, since it has no segment_id.
      3. What happens if
        no of gpus < no of segments
        no of gpus > no of segments

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: