rickchengx opened a new pull request #4168:
URL: https://github.com/apache/zeppelin/pull/4168


   
   ### What is this PR for?
   Currently, the interpreter pod created by 
`k8s/interpreter/100-interpreter-spec.yaml` cannot request the GPU resources. 
So this PR adds two properties:
   * `zeppelin.k8s.interpreter.gpu.type`, to specify the type of GPU, e.g., 
`nvidia.com/gpu`.
   * `zeppelin.k8s.interpreter.gpu.nums`, to set the number of requested GPU.
   
   Users can set these two properties directly in the interpreter settings, 
such as:
   ```
   %spark.conf
   zeppelin.k8s.interpreter.gpu.type nvidia.com/gpu
   zeppelin.k8s.interpreter.gpu.nums 1
   ```
   , which makes the interpreter pod be scheduled to a machine with GPU 
resources.
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * <https://issues.apache.org/jira/browse/ZEPPELIN-5443>
   
   ### How should this be tested?
   * CI pass and manually tested
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to