-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
early stopping invalid #535
Labels
bug
Something isn't working
Comments
I found that some early stopping code was removed after v5.3. The code in ParallelGpt.cc which was removed:
|
This is a know issue, please refer this issue #487. |
Oh, I see that you have fixed this problem in the same way, but the fix causes another problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
python /workspace/FasterTransformer/examples/pytorch/gpt/multi_gpu_gpt_example.py --output_len 512 --max_batch_size 1 --end_id 13 --time
I set 13 as end_id, this id corresponds to full-stop punctuation in English. I expect to trigger the early stop mechanism.
Result. It takes 1543.90 ms. Seemed like there is no early stopping:
The text was updated successfully, but these errors were encountered: