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

mismatch when inference #12

Open
ziyanxzy opened this issue Jun 18, 2024 · 1 comment
Open

mismatch when inference #12

ziyanxzy opened this issue Jun 18, 2024 · 1 comment

Comments

@ziyanxzy
Copy link

when i run the example for this repo:
image

it will have the issue:
image

@jpablomch
Copy link
Member

Thanks, @ziyanxzy, for your interest in Shears! Please check if your environment matches the setup described here. If you intend only to perform inference, apply the PEFT inference patch to PEFT.

git clone https://github.com/huggingface/peft.git
cd peft && git checkout v0.5.0 && git apply --ignore-space-change --ignore-whitespace peft-modifications-for-shears-inference-usage.patch&& pip install -e . && cd ..

Ref: https://huggingface.co/IntelLabs/shears-mpt-7b-50-gsm8k-heuristic-adapter#how-to-use.

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

2 participants