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

Conversation

@yao-matrix
Copy link
Contributor

@yao-matrix yao-matrix commented Aug 6, 2025

@BenjaminBossan, pls help review, thx very much

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
parser.add_argument("--oft_r", type=int, default=8, help="OFT rank, only used if use_oft is True")
parser.add_argument("--oft_alpha", type=int, default=32, help="OFT alpha, only used if use_oft is True")
parser.add_argument("--oft_r", type=int, default=0, help="OFT rank, only used if use_oft is True")
parser.add_argument("--oft_block_size", type=int, default=32, help="OFT block size, only used if use_oft is True")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

oft doesn't have alpha, it's oft_block_size, and align default value of r to OFTConfig

@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.

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 OFT dreambooth examples work with XPU and for fixing the argument name issue.

@BenjaminBossan BenjaminBossan merged commit a7781aa into huggingface:main Aug 7, 2025
2 of 14 checks passed
@yao-matrix yao-matrix deleted the oft-xpu branch August 7, 2025 17:45
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