On 05/05/2021 02:00, Janardhan wrote:
> Hi all,
> 

Hi! Thank you Janardhan, to take care of this.

> I am planning to add GPU docs like [1]. Essentially the document should
> answer
> the following questions. Please, feel free to add new points or contribute
> to
> the discussion. thanks.
> 
> 1. What are the ways in which to run SystemDS with gpu?
> For example,
> with -gpu flag
>> spark-submit --jars ./systemds-2.1.0-SNAPSHOT-extra.jar ./SystemDS.jar 
-f
> test.dml -gpu
> 

Python is on the todo list now (see Sebastian Baunsgaard's response),
JMLC should work if you set the config but I don't know if we have an
example of that somewhere and for script execution from shell it's the
-gpu flag. There's also a force option. About that spark-submit: Is
running gpu instructions through spark supported (never tried it myself)?

> 2. What are the CUDNN and CUDA versions supported?
> For example, which SDK[2] version to download
> 

At the moment we're tied to CUDA 10.2 and CUDNN 7.x due to API changes
in CUDNN 8.x.


> 3. About JCUDA, do we need to download anything or pom.xml will take care
> of it?
> 

From source should be handled by mvn. If the binary release is used,
everything that is needed should be in the extra jar.

> 4. How do the python users invoke gpu?
> 

See answer to 1. and Sebastians answer.

> 5. What is the default precision behaviour (single or double)?
> 

See Arnab's answer. The defaults can be viewed in the
SystemDS-config.xml.template and in DMLConfig.java.

> 6. Default memory allocation - Unified memory[3]?
> For example, we use `cuda`[4]
> 

See Arnab's response.

> --
> [1] http://systemds.apache.org/docs/1.2.0/gpu
> [2] https://developer.nvidia.com/cuda-downloads
> [3]
> https://developer.nvidia.com/blog/unified-memory-cuda-beginners/#:~:text=What%20is%20Unified%20Memory
> ?
> [4]
> https://github.com/apache/systemds/blob/5af203a001229a6f4608040ed7e558f59ffe937c/conf/SystemDS-config.xml.template#L95
> [SYSTEMDS-2970] https://issues.apache.org/jira/browse/SYSTEMDS-2970
> 
> Thank you,
> Janardhan
> 

hth, Mark

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to