You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
你好,请问sft_train.py支持在Mac M2机器上对CodeLlama-13b-Instruct-hf进行训练吗。我这边尝试了一下,有如下错误信息:
attn_output = torch.nn.functional.scaled_dot_product_attention(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Expected attn_mask dtype to be bool or to match query dtype, but got attn_mask.dtype: c10::Half and query.dtype: float instead.
请问要如何调整一下代码以便可以支持在M2上进行训练,谢谢。
The text was updated successfully, but these errors were encountered:
你好,请问sft_train.py支持在Mac M2机器上对CodeLlama-13b-Instruct-hf进行训练吗。我这边尝试了一下,有如下错误信息:
attn_output = torch.nn.functional.scaled_dot_product_attention(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Expected attn_mask dtype to be bool or to match query dtype, but got attn_mask.dtype: c10::Half and query.dtype: float instead.
请问要如何调整一下代码以便可以支持在M2上进行训练,谢谢。
The text was updated successfully, but these errors were encountered: