diff --git a/opencompass/runners/volc.py b/opencompass/runners/volc.py index 5e9439e61..5381b2aaa 100644 --- a/opencompass/runners/volc.py +++ b/opencompass/runners/volc.py @@ -237,7 +237,8 @@ def _run_task(self, cmd, log_path, poll_interval): text=True, capture_output=True) try: - task_status = json.loads(ret.stdout)[0]['Status'] + task_status = json.loads( + ret.stdout.split()[-1])[0]['Status'] except JSONDecodeError: print('The task is not yet in the queue for ' f'{ret.stdout}, waiting...')