Sorry, I didn’t understand you. Are you just trying to give me an example that can lead to the error I run into?
Are there any general principles to locate the undetached tensors when running into this kind of error?