Use more general heuristics to set the default value of --mem-fraction-static (#10975)

Co-authored-by: sglang-bot <sglangbot@gmail.com>
This commit is contained in:
Lianmin Zheng
2025-09-29 10:11:03 -07:00
committed by GitHub
co-authored by sglang-bot
parent 816b3a433a
commit a17e70f5cc
9 changed files with 167 additions and 151 deletions
-1
View File
@@ -1,6 +1,5 @@
# Adapted from qwen2.py
import logging
from functools import partial
from typing import Any, Dict, Iterable, List, Optional, Tuple
import torch