Tensors of the same index must be on the same device and the same dtype except `step` tensors that can be CPU and float32 notwithstanding

Author: wurevvcCreated Mar 18, 2024Updated Jan 13, 2025

When I was training, this error occurred

Source: tatsu-lab/stanford_alpaca