Skip to content

Fix the inference-test.py script and update text-generation README#219

Merged
RezaYazdaniAminabadi merged 4 commits into
masterfrom
lekurile/fix_text_generation_ex
Nov 12, 2022
Merged

Fix the inference-test.py script and update text-generation README#219
RezaYazdaniAminabadi merged 4 commits into
masterfrom
lekurile/fix_text_generation_ex

Conversation

@lekurile
Copy link
Copy Markdown
Contributor

This PR fixes several issues with the inference-test.py text-generation script and updates the README to describe the purpose of the DSPipeline utility class.

The issues resolved are:

  • No local_rank argument
  • DSPipeline class doesn't support use_cache
  • Meta tensors not working due to missing base_dir and checkpoint arguments to the DeepSpeed init_inference API call.

@RezaYazdaniAminabadi @awan-10 @mrwyattii @jeffra

@RezaYazdaniAminabadi
Copy link
Copy Markdown
Contributor

Thanks @lekurile all LGTM :)

@RezaYazdaniAminabadi RezaYazdaniAminabadi merged commit 78ef018 into master Nov 12, 2022
hwchen2017 pushed a commit that referenced this pull request Jun 8, 2025
)

* Fix inference-test.py script and update README

* change init arg name to model to match HF

* revert to model_name

* Update README to point to proper header
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

Successfully merging this pull request may close these issues.

2 participants