has anyone else encountered something similar? Is ...
# flyte-support
l
has anyone else encountered something similar? Is there a way to provision more shared memory to a specific task?
t
cc @high-accountant-32689 @freezing-boots-56761
you’re right we should probably address this along with gpus
l
Thanks for the quick reply. We added a
pod_template_name
that volumes it in. A feature request could be to control this via the resource requests 😛
t
yeah we’re seeing if there’s anything common between migs and shm
🙏 1
f
👍
shm is basically set at as a volume (memory-backed
emptyDir
with an optional
sizeLimit
) and a corresponding volume mount to the primary container. i think the only thing it has in common with migs is that it requires an update to the pod spec. 😅
t
well, and maybe how it’s specified by the user.
f
in flytekit? there might also validations we need to do where shm size limit has to be less than memory limit - shm usage counts towards container memory usage. and sizelimit is also optional - uses up to container memory limit.
h
Hey @thankful-minister-83577 @freezing-boots-56761 @loud-oil-9899 Did you guys solve it in any easy way or any example for pod_template for that? I’m encountering it when working with DataLoaders 😛
h
Thanks!