madlib-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [madlib] kaknikhil opened a new pull request #455: DL: Add new helper function for gpu_configuration
Date Wed, 06 Nov 2019 19:34:42 GMT
kaknikhil opened a new pull request #455: DL: Add new helper function for gpu_configuration
URL: https://github.com/apache/madlib/pull/455
 
 
   JIRA: MADLIB-1390
   
   This commit adds a new helper function to query the gpu configuration of
   the cluster. The purpose of this function is to list the state of the
   cluster w.r.t GPUs, however it is configured. This will be useful in
   case of supporting asymmetric clusters.
   
   Also takes in a source param which can be one of 'tensorflow' or
   'nvidia'. Defaults to 'tensorflow'.
   
   Example for gpdb
   ```
   List the state of the cluster, however it is configured:
   
   SELECT * FROM madlib.gpu_configuration();
       gpu_descr     | hostname
   
   -----------------+-------------------------
   
   NVIDIA Tesla P100 | host1
   
   NVIDIA Tesla P100 | host1
   
   Super Duper GPU   | host2
   
   Super Duper GPU   | host2
   
   (4 rows)
   ```
   
   Example for postgres
   ```
   select * from madlib.gpu_configuration();
   
   hostname | gpu_descr
   
   ---------+-----------
   
   localhost | NVIDIA Tesla P100
   
   (1 row)
   ```
   Co-authored-by: Ekta Khanna <ekhanna@pivotal.io>
   
   <!--  
   
   Thanks for sending a pull request!  Here are some tips for you:
   1. Refer to this link for contribution guidelines https://cwiki.apache.org/confluence/display/MADLIB/Contribution+Guidelines
   2. Please Provide the Module Name, a JIRA Number and a short description about your changes.
   -->
   
   - [ ] Add the module name, JIRA# to PR/commit and description.
   - [ ] Add tests for the change. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message