mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[FDConfig]Remove splitwise_role and engine_worker_queue_port in FDConfig (#4147)
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled
* remove splitwise_role and engine_worker_queue_port * fix xpu * fix xpu * fix xpu * fix unittest * resolve conflct
This commit is contained in:
@@ -47,6 +47,7 @@ class FakeModelConfig:
|
||||
self.max_position_embeddings = 512
|
||||
self.tie_word_embeddings = True
|
||||
self.model_format = "auto"
|
||||
self.enable_mm = False
|
||||
|
||||
|
||||
def get_default_test_fd_config():
|
||||
@@ -56,12 +57,13 @@ def get_default_test_fd_config():
|
||||
parallel_config = ParallelConfig(args={})
|
||||
parallel_config.data_parallel_rank = 1
|
||||
cache_config = CacheConfig({})
|
||||
model_config = FakeModelConfig()
|
||||
fd_config = FDConfig(
|
||||
graph_opt_config=graph_opt_config,
|
||||
parallel_config=parallel_config,
|
||||
cache_config=cache_config,
|
||||
scheduler_config=scheduler_config,
|
||||
model_config=model_config,
|
||||
test_mode=True,
|
||||
)
|
||||
fd_config.model_config = FakeModelConfig()
|
||||
return fd_config
|
||||
|
Reference in New Issue
Block a user