tatsu-lab / stanford_alpaca

Code and documentation to train Stanford's Alpaca models, and generate the data.
https://crfm.stanford.edu/2023/03/13/alpaca.html
Apache License 2.0
29.56k stars 4.06k forks source link

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 #315

Open wurevvc opened 8 months ago

wurevvc commented 8 months ago

When I was training, this error occurred