cog icon indicating copy to clipboard operation
cog copied to clipboard

Delete output paths after upload

Open yorickvP opened this issue 2 years ago • 1 comments

Currently, you hand off the output file to cog and then none of your code runs and the file gets left in place. However, there's a class of bug where models can return outputs for previous predictions if some overwrite fails.

This also stops us from using tmp files as output files, since they never get deleted. Cog should probably delete those files (or even give the user a temp directory/overlay to work in).

yorickvP avatar Dec 14 '23 14:12 yorickvP

cc @technillogue working on async

yorickvP avatar Dec 14 '23 14:12 yorickvP