facebookresearch / fairseq

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
MIT License
29.75k stars 6.3k forks source link

Removing logs of Fairseq #5476

Open Akhil-VSSG opened 2 months ago

Akhil-VSSG commented 2 months ago

Hi, iam trying to resolve an issue , iam using indictrans and everytime i use it logging the fairseq logs like this:

Screenshot 2024-04-15 at 2 37 29 PM

and its taking a lot of space so i wanted to get rid of these logs so i want in to the fairseq_task.py present in tasks folder in fairseq folder.

Screenshot 2024-04-15 at 2 38 43 PM

Even though i commented out the logger commands in that specific file iam still able to see those logger commands getting logged . Can you please help me out to remove those logs from my log file so that it wont take up all the memory Thank you.

What's your environment?