Recovering a CUDA job after a network timeout on JetPack

I’m working through a problem with GPU jobs on JetPack devices: if the connection drops after submission, how do you tell whether the job ran before deciding to retry?

In my Cohesix work, I keep the original job ID, selected device, workload, and observed result together. Admission and a GPU lease are recorded separately from the native process result and checked output. That lets a reconnect inspect the original job.

For people running CUDA jobs across different JetPack boards, what device and process evidence do you trust when the result is uncertain?

Hi,

Not sure if we understand your question correctly.

Have you tried to run the task with a terminal multiplexer, like tmux?
So you can resume the session after the network timeout.

Thanks.

Thank you. I understand tmux makes sense for a job launched through SSH. I should have been clearer: what if the program submits the CUDA job to a service on the JetPack host, and the reply is lost after the service accepts it. The program then needs to know whether that specific job ran before retrying it. What is the best way to handle that scenario?

Hi,

If you create a specific CUDA stream for each job, you can use cudaStreamQuery() or cudaStreamSynchronize() to check if there are any remaining tasks on the stream.

Thanks.