Skip to content

Conversation

@yao-matrix
Copy link
Contributor

@yao-matrix yao-matrix commented Apr 9, 2025

make pytest -rA tests/lora/test_lora_layers_sd.py::LoraIntegrationTests::test_vanilla_funetuning pass on XPU and A100.

before this PR: XPU fail, A100 fail
after this PR: XPU pass, A100 pass

I've checked the output of 2 device, since this case's step is 2, so basically they are still noise at this timestep. But still can see perceptually similar.

@hlky , pls help review, thx. and also I changed the test_float16_inference's expected_max_diff back to 5e-2.

Copy link
Contributor

@hlky hlky left a comment

Choose a reason for hiding this comment

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

Thanks @yao-matrix, the additional slice for A100 is appreciated!

@hlky
Copy link
Contributor

hlky commented Apr 10, 2025

Failing test is unrelated.

@hlky hlky merged commit 68663f8 into huggingface:main Apr 10, 2025
24 of 25 checks passed
@yao-matrix yao-matrix deleted the issue122 branch April 10, 2025 04:59
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.

2 participants