Skip to content
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

diagnose produces corrupted jsonl #232

Open
mrdrprofuroboros opened this issue Oct 23, 2024 · 1 comment
Open

diagnose produces corrupted jsonl #232

mrdrprofuroboros opened this issue Oct 23, 2024 · 1 comment

Comments

@mrdrprofuroboros
Copy link

mrdrprofuroboros commented Oct 23, 2024

Describe the bug
trainer.diagnose has been run with 4 workers, the output generator_call.jsonl file contained:
3T14:07:39.053704"}{"prompt_kwargs": {"s
on one of the lines

To Reproduce
rather sporadic, but I assume some multithreading race condition

Expected behavior
one json per line

@liyin2015
Copy link
Member

@mrdrprofuroboros Try to delete all files under this path, and rerun the diagnose. Often it is just invalid json format

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

No branches or pull requests

2 participants