Project

General

Profile

Feature #18324

Updated by Peter Amstutz over 2 years ago

https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=features-enabling-jobs-use-gpu-resources 

 According to this, GPUs can be configured at the job level, but also at the queue level, so depending on the site, you might need to request a specific queue. 

 Customer email: 

 > these are the parameters we're using to request GPUs: 
 > 
 > -gpu "num=1:j_exclusive=yes" 
 > 
 > The exclusive part should probably be configurable as it's not mandatory, but on our cluster the default is that GPUs are shared, so we recommend our users to request them exclusively. 
 > 
 > Maybe having a parameter for the GPU string with a placeholder for the number of GPUs similar to the Memory or CPUs. 

 Proposed design: 

 Add new option "LSF.BsubCUDAArguments".    It is appended to the end of "BsubArgumentsList" when CUDA.DeviceCount > 0 in the container runtime constraints.    Introduce a new template variable %G with for the value of DeviceCount. 

 Example: 

 BsubCUDAArguments: ["-gpu", "num=%G:j_exclusive=yes"] 

Back