Skip to content

Commit dbd3f6b

Browse files
authored
Merge pull request #2038 from codalab/computeWorkerFix
Added back submissions files copy into prediction out that was removed in the Podman PR by accident
2 parents 78d369f + 30f0d8f commit dbd3f6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compute_worker/compute_worker.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ async def _run_program_directory(self, program_dir, kind):
632632
logger.warning(
633633
"Program directory missing metadata, assuming it's going to be handled by ingestion"
634634
)
635+
# Copy submission files into prediction output
636+
# This is useful for results submissions but wrongly uses storage
637+
shutil.copytree(program_dir, self.output_dir)
635638
return
636639
else:
637640
raise SubmissionException("Program directory missing 'metadata.yaml/metadata'")

0 commit comments

Comments
 (0)