Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] enable cuda-only tests in test_common_gpu.py to work on XPU #2031

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

faaany
Copy link
Contributor

@faaany faaany commented Aug 22, 2024

Below are the UT Results after the fix:

PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_adalora_bnb_quantization_from_pretrained_safetensors
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_apply_GS_hra_inference
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_dora_ephemeral_gpu_offload
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_dora_ephemeral_gpu_offload_multigpu
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_ia3_bnb_quantization_from_pretrained_safetensors
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_lora_bnb_quantization_from_pretrained_safetensors
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_r_odd_hra_inference
PASSED tests/test_common_gpu.py::PeftGPUCommonTests::test_serialization_shared_tensors

@faaany faaany marked this pull request as ready for review August 23, 2024 10:23
@faaany
Copy link
Contributor Author

faaany commented Aug 23, 2024

Hi @BenjaminBossan, pls have a review. I only enabled those that don't require BNB and auto-gptq, as BNB on XPU is not ready yet. I will submit a follow-up PR when BNB is ready on XPU.

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

@BenjaminBossan BenjaminBossan merged commit c3b63ce into huggingface:main Aug 23, 2024
14 checks passed
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