Skip to content

Conversation

@CSY-ModelCloud
Copy link
Collaborator

if intel_extension_for_pytorch was installed, @torch.jit.script in transformers/models/gpt_bigcode/modeling_gpt_bigcode.py will try to use ipex as torchScript interpreter.
However, in quantization, tensor were on gpu, which will throw RuntimeError: itensor_view_from_dense expects CPU tensor input

@Qubitium Qubitium merged commit 5052421 into main Dec 31, 2024
4 checks passed
@CSY-ModelCloud CSY-ModelCloud deleted the CSY/fix-gptbigcode branch December 31, 2024 09:29
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