You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -290,5 +291,24 @@ Authors from Peking University: Bizhao Shi ([email protected]), Yuxin Yang (yxyang
290
291
291
292
We would like to thank Tuo Dai, Shanni Li, and all of the project maintainers from Huawei Technologies Co., Ltd for their help during the code development and pull request.
292
293
294
+
## Environment variable setup
295
+
296
+
### GGML_CANN_ASYNC_MODE
297
+
298
+
Enables asynchronous operator submission. Disabled by default.
299
+
300
+
### GGML_CANN_MEM_POOL
301
+
302
+
Specifies the memory pool management strategy:
303
+
304
+
- vmm: Utilizes a virtual memory manager pool. If hardware support for VMM is unavailable, falls back to the legacy (leg) memory pool.
305
+
306
+
- prio: Employs a priority queue-based memory pool management.
307
+
- leg: Uses a fixed-size buffer pool.
308
+
309
+
### GGML_CANN_DISABLE_BUF_POOL_CLEAN
310
+
311
+
Controls automatic cleanup of the memory pool. This option is only effective when using the prio or leg memory pool strategies.
0 commit comments