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

Removing logs of Fairseq #5476

Open
Akhil-VSSG opened this issue Apr 15, 2024 · 0 comments
Open

Removing logs of Fairseq #5476

Akhil-VSSG opened this issue Apr 15, 2024 · 0 comments

Comments

@Akhil-VSSG
Copy link

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?

  • fairseq Version (e.g., 1.0 or main): 0.12.2
  • PyTorch Version (e.g., 1.0) : 1.13.1
  • OS (e.g., Linux):Linux
  • How you installed fairseq (pip, source): pip and source as i use it with indicTrans
  • Build command you used (if compiling from source): pip install sacremoses pandas mock sacrebleu tensorboardX pyarrow indic-nlp-library
    !git clone https://github.com/pytorch/fairseq.git
    %cd fairseq
    !pip install ./
    ! pip install xformers
  • Python version: 3.8.10
  • CUDA/cuDNN version: CUDA Version: 11.6
  • GPU models and configuration: Tesla T4 (16 gb)
  • Any other relevant information:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant