facebookresearch/fairseq

Removing logs of Fairseq

Akhil-VSSG opened this issue · 0 comments

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: