This is an automated email from the ASF dual-hosted git repository. wuwei pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push: new ff9ebadf6a [wasm] Enlarge initial memory for emcc (#16485) ff9ebadf6a is described below commit ff9ebadf6ae6bdf2fbfe5eb220d770b0ed9550cd Author: Wuwei Lin <wu...@apache.org> AuthorDate: Mon Jan 29 15:59:21 2024 -0800 [wasm] Enlarge initial memory for emcc (#16485) --- python/tvm/contrib/emcc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tvm/contrib/emcc.py b/python/tvm/contrib/emcc.py index 7f0b16683d..d4624a3469 100644 --- a/python/tvm/contrib/emcc.py +++ b/python/tvm/contrib/emcc.py @@ -49,7 +49,7 @@ def create_tvmjs_wasm(output, objects, options=None, cc="emcc"): cmd += ["-s", "ERROR_ON_UNDEFINED_SYMBOLS=0"] cmd += ["-s", "STANDALONE_WASM=1"] cmd += ["-s", "ALLOW_MEMORY_GROWTH=1"] - cmd += ["-s", "TOTAL_MEMORY=80MB"] + cmd += ["-s", "TOTAL_MEMORY=160MB"] objects = [objects] if isinstance(objects, str) else objects