MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / setUp

Method setUp

tests/eplb/test_async_expert_loader.py:36–44  ·  view source on GitHub ↗

Set up test fixtures

(self)

Source from the content-addressed store, hash-verified

34 """Test cases for async_expert_loader.py"""
35
36 def setUp(self):
37 """Set up test fixtures"""
38 self.temp_dir = tempfile.mkdtemp()
39 args = {
40 "redundant_expert_async_load_model_shmem_size_gb": 1,
41 "model_use_safetensors": False,
42 "moe_quant_type": "",
43 }
44 self.eplb_config = EPLBConfig(args)
45
46 def tearDown(self):
47 """Clean up test fixtures"""

Callers

nothing calls this directly

Calls 1

EPLBConfigClass · 0.90

Tested by

no test coverage detected