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.

Assessment

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

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.

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

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

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.

More from deepspeedai/DeepSpeedExamples

All issues in deepspeedai/DeepSpeedExamples

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.