Closed joehoover closed 1 year ago
@joehoover I had the same issue in current pip release. Fortunately this issue is solved at master branch. Please try the GPT2 inference with master version pip install. It works for me.
pip install git+https://github.com/microsoft/DeepSpeed
This issue is solved since they changed the tensor copy logic https://github.com/microsoft/DeepSpeed/pull/1705/commits/1477c02d98344b8c7dcc026ed623eec4a77a34c0
As mentioned by @codertimo - this is resolved in all subsequent releases, closing this issue for now.
Describe the bug I cannot initialize an inference engine from Hugging Face's GPT2 implementation.
To Reproduce
Expected behavior An inference engine should be returned.
ds_report output
System info (please complete the following information):
Launcher context Notebook, single GPU
Docker context Just
pip install deepspeed
Additional context Here's the output from
init_inference
: