Fix GPU OOM (#6564)

Co-authored-by: michael <michael.zhang@amd.com>
This commit is contained in:
kkandmichael authored and GitHub committed 2025-05-24 16:38:39 -07:00
1 parent 24c035f2e3
commit 7a5e6ce1cb
8 files changed
+15 -16

No files matched your search

@@ -412,6 +412,10 @@ class ModelRunner:
if not server_args.disable_chunked_prefix_cache:
logger.info("Chunked prefix cache is turned on.")
if server_args.attention_backend == "aiter":
if self.model_config.context_len > 8192:
self.mem_fraction_static *= 0.85
def init_torch_distributed(self):
logger.info("Init torch distributed begin.")