Hello
I have pretrained a small model using GPT NEO X but i am facing problems with inference. I am using docker image. Training runs fine, but when i try inference i get the following error
Can anyone please run this on their machine and see if they get the same error?
Thanks
I have pretrained a small model using GPT NEO X but i am facing problems with inference. I am using docker image. Training runs fine, but when i try inference i get the following error
Can anyone please run this on their machine and see if they get the same error?
Thanks
File "generate.py", line 93, in <module>
Traceback (most recent call last):
File "generate.py", line 93, in <module>
main()
File "generate.py", line 75, in main
generate_samples_interactive(
File "/home/mchorse/gpt-neox/megatron/text_generation_utils.py", line 777, in generate_samples_interactive
main()
File "generate.py", line 75, in main
generate_samples_interactive(
File "/home/mchorse/gpt-neox/megatron/text_generation_utils.py", line 777, in generate_samples_interactive
for (
File "/home/mchorse/gpt-neox/megatron/text_generation_utils.py", line 319, in stream_tokens
logits[:, -1].view(batch_size, -1).contiguous()
TypeError: tuple indices must be integers or slices, not tuple
for (
File "/home/mchorse/gpt-neox/megatron/text_generation_utils.py", line 319, in stream_tokens
logits[:, -1].view(batch_size, -1).contiguous()
TypeError: tuple indices must be integers or slices, not tuple