Error Running Slurm job

The job (Patch motion correction (multi)) is getting submitted properly via cluster in GPU nodes. However, the job exists with the following error:

------------------
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 
15561290 class queue_su sxg125 PD 0:00 1 (None)

[CPU: 83.4 MB] Project P4 Job J24 Started
...
[CPU: 225.1 MB] parent process is 5232
[CPU: 172.1 MB] Calling CUDA init from 5281
[CPU: 225.5 MB] Outputting partial results now...
[CPU: 223.6 MB] Traceback (most recent call last): 
    File "cryosparc_worker/cryosparc_compute/run.py", line 84, in cryosparc_compute.run.main 
    File "cryosparc_worker/cryosparc_compute/jobs/motioncorrection/run_patch.py", line 402, in cryosparc_compute.jobs.motioncorrection.run_patch.run_patch_motion_correction_multi 
AssertionError: Child process with PID 2647 has terminated unexpectedly!
-------

The same job runs fine in Default lane with GPU nodes (without using cluster lane).