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

ENH Make hotswap error on compile optional #2393

Conversation

BenjaminBossan
Copy link
Member

Users may actually want to call prepare_model_for_compiled_hotswap with a compiled model, even though that leads to recompilation. To allow this, we give the option to only warn, or even ignore, this fact when we detect the model to be compiled. By default, we still error.

Users may actually want to call prepare_model_for_compiled_hotswap with
a compiled model, even though that leads to recompilation. To allow
this, we give the option to only warn, or even ignore, this fact when we
detect the model to be compiled. By default, we still error.
@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.

@BenjaminBossan BenjaminBossan merged commit 3dd2668 into huggingface:main Feb 24, 2025
14 checks passed
@BenjaminBossan BenjaminBossan deleted the hotswap-make-error-on-compile-optional branch February 24, 2025 11:06
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