# GPUs can not be shared, but GPUs must be shared

**URL:** <https://discourse.jupyter.org/t/gpus-can-not-be-shared-but-gpus-must-be-shared/1348>\
**Category:** HPC meeting 2019\
**Created:** [June 12, 2019, 4:45pm UTC](https://discourse.jupyter.org/t/gpus-can-not-be-shared-but-gpus-must-be-shared/1348 "2019-06-12T16:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![craja\_kumar](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/craja_kumar/32/2050_2.png) [@craja\_kumar](https://discourse.jupyter.org/u/craja_kumar)\
**Post date:** [May 30, 2020, 6:28am UTC](https://discourse.jupyter.org/t/gpus-can-not-be-shared-but-gpus-must-be-shared/1348/7 "2020-05-30T06:28:30Z")

</div>

Dear stv0g,

Need Help …

we are trying to use “gpushare-scheduler-extender” from Alibaba in our on-premise Z2JH cluster. Getting the following error.

“Error: failed to start container “notebook”: Error response from daemon: OCI runtime create failed: container\_linux.go:349: starting container process caused “process\_linux.go:449: container init caused “process\_linux.go:432: running prestart hook 0 caused \“error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: device error: no-gpu-has-1MiB-to-run: unknown device\\n\”””: unknown”

configuration used in config.yaml: (snippet)

singleuser:  
image:  
name: jupyter/base-notebook  
tag: 2343e33dec46  
profileList:  
- display\_name: “Learning Data Science - with ONE GPU - shared 1GB”  
description: “Datascience Environment with Sample Notebooks - with one gpu - shared 1GB”  
kubespawner\_override:  
image: jupyter/datascience-notebook:2343e33dec46  
extra\_resource\_limits:  
# GiB  
[aliyun.com/gpu-mem:](http://aliyun.com/gpu-mem:) 1

Please kindly assist us to configure Z2JH to use “gpushare-scheduler-extender” from Alibaba in our on-premise cluster. can you share config.yaml syntax to configure Z2JH to use “[aliyun.com/gpu-mem:](http://aliyun.com/gpu-mem:) 1” resource limit …

Thanks in advance …

 ![confit_yaml_snipp](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/6/6b9d0c8b221c9e6675496c35284e965520acafbc.jpeg) ![gpu_share_schedule](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/c/cc91a5839fd1f47ec0806df65659963c64012696.jpeg)![gpu\_share\_schedule\_error|690x240]! ![gpu_schedule_error_new](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/4/414ce7f0ca4321b75714312794a917e5ec356dbf.jpeg)

---

_[View the full topic](https://discourse.jupyter.org/t/gpus-can-not-be-shared-but-gpus-must-be-shared/1348)._
