deepspeedai / deepspeedai/DeepSpeedExamples

can not run the test-gpt.sh because of assertionError

Open
#902 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6.8k
Forks
1.1k
Avg merge
2d 16h
Merged PRs (30d)
1

Description

hi,
I meet a problem when I run the DeepSpeedExamples/inference/huggingface/text-generation/run-generation-script/test-gpt.sh.

The error is :

assert not config.replace_with_kernel_inject, "Cannot use both user specified injection policy and kernel injection"
AssertionError: Cannot use both user specified injection policy and kernel injection

How can I solve this problem?
Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with DeepSpeedExamples/inference/huggingface/text-generation/run-generation-script/test-gpt.sh and reproduce the reported AssertionError. Trace how that script configures kernel injection and the user-specified injection policy; done means the test script runs without the conflicting configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.