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

disable tpp for un-verified models #822

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

jiqing-feng
Copy link
Collaborator

@jiqing-feng jiqing-feng commented Jul 15, 2024

Fix #810

Hi @echarlaix . The tpp is only verified for llm in generation tasks, it may have some error when enabling it for a normal model like:

model = IPEXModel.from_pretrained('sentence-transformers/all-MiniLM-L6-v2', export=True)

The error will be:

free(): invalid pointer
free(): corrupted unsorted chunks                                                                                                                                                                            
LIBXSMM_VERSION: unconfigured (2147483647)
SPR/SP      TRY    JIT    STA    COL
   0..13      4      4      0      0
  14..23      0      0      0      0
  24..64     24     24      0      0                                                                                                                                                                         Registry and code: 13 MB + 336 KB (gemm=28 gemv=4 meltw=10)
Command: python tpp_bert.py
Uptime: 0.098529 s
Aborted (core dumped)

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

@echarlaix echarlaix merged commit 629a2e3 into huggingface:main Jul 15, 2024
13 of 17 checks passed
@jiqing-feng jiqing-feng deleted the tpp branch July 16, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants