Error training images for AI art generation (create a .ckpt file)

I did not write the software that threw the error. I am trying to train some images for use as a model with AI generative art using an A6000 under Win 10 Pro. The developer of the software does not know how to handle this error. Hoping to get some info to pass along to him from this forum. Thanks for any help. The error I got while running the training function is: RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 4096, 77]], which is output 0 of SliceBackward, is at version 3; expected version 2 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

You are probably slicing a tensor and modiying it overiding the data directly.
It’s diff to help u without the source code.

Best
J

Thanks much. Afraid I can’t get my hands on the code.