[Feature] support adapter (#4180)
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

* [Feature] support adapter

* fix

* fix

* fix

* fix

* fix

* fix
This commit is contained in:
ltd0924
2025-09-22 19:32:24 +08:00
committed by GitHub
parent be98f6e950
commit f489c9f8ef
8 changed files with 499 additions and 177 deletions

View File

@@ -281,6 +281,9 @@ class LocalScheduler:
return requests
def get_unhandled_request_num(self):
return len(self.ids) - self.ids_read_cursor
def put_results(self, results: List[RequestOutput]):
"""
Add processing results back to the scheduler.