You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Nikhil Kak (Jira)" <ji...@apache.org> on 2019/11/06 19:19:00 UTC
[jira] [Created] (MADLIB-1390) DL: helper function for asymmetric
cluster config
Nikhil Kak created MADLIB-1390:
----------------------------------
Summary: DL: helper function for asymmetric cluster config
Key: MADLIB-1390
URL: https://issues.apache.org/jira/browse/MADLIB-1390
Project: Apache MADlib
Issue Type: Improvement
Components: Deep Learning
Reporter: Nikhil Kak
Fix For: v1.17
h3. Helper function
*Interface*
gpu_configuration(source text) –- optional param. Can be one of 'tensorflow' and 'nvidia'. Default to 'tensorflow'
SELECT * FROM madlib.gpu_configuration();
SELECT * FROM madlib.gpu_configuration('tensorflow');
SELECT * FROM madlib.gpu_configuration('nvidia');
*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)
Can return results in a slightly different format, depending on what info can be returned about the GPU. But there should be 1 row per GPU.
Details:
# Ignore mirror segments and master host
*POSTGRES*
select * from madlib.gpu_configuration();
hostname | gpu_descr
----------+------------
locahost | NVIDIA Tesla P100
(1 row)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)