MCPcopy Create free account
hub / github.com/OpenDCAI/DataFlow-MM / __init__

Method __init__

test/test_data_selection.py:11–19  ·  view source on GitHub ↗
(self, model_path)

Source from the content-addressed store, hash-verified

9@ray.remote(num_gpus=1)
10class VLMModelActor:
11 def __init__(self, model_path):
12 self.model = LocalModelVLMServing_vllm(
13 hf_model_name_or_path=model_path,
14 vllm_tensor_parallel_size=1,
15 vllm_temperature=0.7,
16 vllm_top_p=0.9,
17 vllm_max_tokens=4096,
18 vllm_gpu_memory_utilization=0.85
19 )
20
21 def generate_from_input_with_message(self, *args, **kwargs):
22 return self.model.generate_from_input_with_message(*args, **kwargs)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected