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

Fail to execute quantized model on Ray #834

Open
sherrytonger opened this issue Jul 22, 2024 · 0 comments
Open

Fail to execute quantized model on Ray #834

sherrytonger opened this issue Jul 22, 2024 · 0 comments

Comments

@sherrytonger
Copy link

when execute the following code:

quantized_model = IPEXModel.from_pretrained(self.model_path).eval()
model_ref = ray.put(quantized_model )

Error message:

RuntimeError: Tried to serialize object __torch__.intel_extension_for_pytorch.quantization._quantize_utils.___torch_mangle_972.QuantizationDispatchModule which does not have a __getstate__ method defined!

Is there any workaround to this problem?

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

No branches or pull requests

1 participant