require(torch) A = nnf_one_hot(rep(1:10, 31:40)) A$to_sparse() Then the session will be aborted. It should not be a memory overflow. Session information is attached. <img width="758" alt="Image" src="https://github.com/user-attachments/assets/a39eca00-a582-4d6b-a13f-e36da5207fbb" />