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

Add ERROR logging prefix and sort the prefixes alphabetically #1308

Conversation

TheBatmanofButler
Copy link
Contributor

@TheBatmanofButler TheBatmanofButler commented Oct 17, 2024

When trying to run ./deepy.py train.py ... I got the following error:

NameError: name 'ERROR' is not defined

I tracked this down and found that we have a number of formatted logging prefixes with colors, but ERROR was missing. I added that (with the color red, same as for FAIL), sorted the prefixes alphabetically, and grouped them a bit for clearer organization. Tested and got an actual error message after the change.

@CLAassistant
Copy link

CLAassistant commented Oct 17, 2024

CLA assistant check
All committers have signed the CLA.

@Quentin-Anthony
Copy link
Member

Thanks for the catch!

@Quentin-Anthony Quentin-Anthony merged commit 59a5236 into EleutherAI:main Oct 17, 2024
1 check passed
@TheBatmanofButler TheBatmanofButler deleted the ganesh/missing-logging-color-for-ERROR branch October 18, 2024 18:25
jahatef pushed a commit that referenced this pull request Nov 5, 2024
* Add ERROR logging prefix and sort alphabetically

* fix comment
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.

3 participants