chore: display vllm distributed info

This commit is contained in:
jialin
2025-03-10 15:11:48 +08:00
parent 06d6732ab2
commit 12707793b1
6 changed files with 162 additions and 125 deletions
+9 -6
View File
@@ -66,6 +66,13 @@ interface ComputedResourceClaim {
ram: number;
vram: Record<string, number>;
}
interface DistributedServerItem {
pid: number;
port: number;
worker_id: string;
computed_resource_claim: ComputedResourceClaim;
}
export interface ModelInstanceListItem {
backend?: string;
backend_version?: string;
@@ -74,12 +81,8 @@ export interface ModelInstanceListItem {
huggingface_filename: string;
ollama_library_model_name: string;
distributed_servers?: {
rpc_servers: {
pid: number;
port: number;
worker_id: string;
computed_resource_claim: ComputedResourceClaim;
}[];
rpc_servers: DistributedServerItem[];
ray_actors: DistributedServerItem[];
};
computed_resource_claim?: ComputedResourceClaim;
s3_address: string;