Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit number of sequences #220

Merged
merged 11 commits into from
Feb 23, 2024
Prev Previous commit
Next Next commit
Fix dataclass
  • Loading branch information
yelite committed Feb 23, 2024
commit 48af6d5b263b26b86750bc650d136188bfd316ab
2 changes: 1 addition & 1 deletion serve/mlc_serve/engine/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MLCServeEngineConfig:
init_timeout: int = 120
model_type: str = "tvm" # "tvm", "torch"
num_shards: Optional[int] = None # Need to be specified for if model_type is "torch"
gpu_memory_utilization=0.9
gpu_memory_utilization: float = 0.9

@classmethod
def _from_json(config_cls, json_obj: Dict[Any, Any]):
Expand Down