Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit 32831e4

Browse files
sprzystaDmitrii Kuvaiskii
authored and
Dmitrii Kuvaiskii
committed
[Examples] Fix out-of-memory error in PyTorch
Signed-off-by: Sebastian Przystawski <[email protected]>
1 parent 6362b11 commit 32831e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Examples/pytorch/pytorch.manifest.template

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ loader.insecure__use_host_env = true
1919
# Overwrite some environment variables
2020
loader.env.LD_LIBRARY_PATH = "/lib:/usr/lib:{{ arch_libdir }}:/usr/{{ arch_libdir }}"
2121

22+
# Set Graphene internal metadata size
23+
loader.pal_internal_mem_size = "128M"
24+
2225
# Default glibc files, mounted from the Runtime directory in GRAPHENEDIR
2326
fs.mount.lib.type = "chroot"
2427
fs.mount.lib.path = "/lib"

0 commit comments

Comments
 (0)