When I tried running the function runpod.serverless.progress_update(job)
, I got the error module 'runpod.serverless' has no attribute 'progress_update'.
I copied the code from the official documentation Click Here
The code in the documentation to "Send progress updates during job execution" is as follows:
import runpod
def handler(job):
for update_number in range(0, 3):
runpod.serverless.progress_update(job, f"Update {update_number}/3")
return "done"
runpod.serverless.start({"handler": handler})