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

Error when inference with WizardCoder-33B-V1.1 #239

Open
azusa-li opened this issue Jan 23, 2024 · 0 comments
Open

Error when inference with WizardCoder-33B-V1.1 #239

azusa-li opened this issue Jan 23, 2024 · 0 comments

Comments

@azusa-li
Copy link

python inference_wizardcoder.py
--base_model "WizardLM/WizardCoder-15B-V1.0"
--input_data_path "./data.jsonl"
--output_data_path "./result.jsonl"

python inference_wizardcoder.py
--base_model "WizardLM/WizardCoder-33B-V1.1"
--input_data_path "./data.jsonl"
--output_data_path "./result_1.jsonl"

When I run the first command, everything is fine. But for 2, I encountered the mismatch in weight shape problem:
ValueError: Trying to set a tensor of shape torch.Size([1024, 7168]) in "weight" (which has shape torch.Size([7168, 7168])), this look incorrect.
Does the inference_wizardcoder.py file really support the 33B model?

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