这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kaixuanliu
Copy link
Contributor

No description provided.

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
@kaixuanliu kaixuanliu marked this pull request as draft August 6, 2025 01:18
@kaixuanliu kaixuanliu marked this pull request as ready for review August 6, 2025 05:38
@kaixuanliu kaixuanliu changed the title fix bug for argument parsing in sft example Add XPU support for sft example Aug 6, 2025
Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the sft scripts to also support DeepSpeed training with XPU. Could you please add a small section to the documentation, otherwise this will be hard to find for users.

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
@kaixuanliu
Copy link
Contributor Author

@BenjaminBossan Hi, right now DeepSpeed for XPU depends on IPEX which we will deprecate soon. And to make it work on XPU, we need to make small adjustment to DeepSpeed code, hence I suggest do not add this to the doc. And I can delete the deepspeed_xpu_config.yaml file. WDYT?

@BenjaminBossan
Copy link
Member

If it's deprecated, I agree that it's better to remove it for now.

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
@BenjaminBossan
Copy link
Member

@kaixuanliu Could you please run make style?

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@kaixuanliu
Copy link
Contributor Author

@BenjaminBossan Done.

Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the SFT example work with XPU.

@BenjaminBossan BenjaminBossan merged commit 06b54d8 into huggingface:main Aug 11, 2025
2 of 14 checks passed
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants