Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

main: bump the AMD Windows VA quota to 4TB (#16199)

rattus6f3895ed8d1e
diff --git a/main.py b/main.py
index 37e40c31f..372c9aead 100644
--- a/main.py
+++ b/main.py
@@ -111,7 +111,7 @@ if __name__ == "__main__":
os.environ['CUBLAS_WORKSPACE_CONFIG'] = ":4096:8"
if "rocm" in cuda_malloc.get_torch_version_noimport():
- os.environ['OCL_SET_SVM_SIZE'] = '262144' # set at the request of AMD
+ os.environ['OCL_SET_SVM_SIZE'] = '4194304' # 4TB. Much larger than the ROCM 64GB/256GB defaults for Aimdos liberal VA use
def handle_comfyui_manager_unavailable():