Skip to content

Conversation

yao-matrix
Copy link
Contributor

since hfquantizer now supports XPU too, so change get_cuda_warm_up_factor to a more device agnostic naming get_accelerator_warm_up_factor.

@Rocketknight1 , pls help review, thx very much.

@Rocketknight1
Copy link
Member

Hm, this might be breaking! cc @MekkCyber for quantization when he gets a chance

Copy link
Contributor

@MekkCyber MekkCyber left a comment

Choose a reason for hiding this comment

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

Sounds good ! Thanks

@MekkCyber MekkCyber requested a review from SunMarc August 25, 2025 12:43
@SunMarc SunMarc enabled auto-merge (squash) August 25, 2025 12:57
@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
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: finegrained_fp8

@SunMarc SunMarc merged commit 32fcc24 into huggingface:main Aug 26, 2025
24 checks passed
@yao-matrix yao-matrix deleted the warmup-factor branch August 26, 2025 21:02
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.

5 participants