AI4Bharat / IndicTrans2

Translation models for 22 scheduled languages of India
https://ai4bharat.iitm.ac.in/indic-trans2
MIT License
214 stars 59 forks source link

Failed building wheel for fairseq #62

Closed dikshaseth closed 5 months ago

dikshaseth commented 5 months ago

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fairseq Failed to build fairseq ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects

PranjalChitale commented 5 months ago

These details are not sufficient for us to help you debug the issue.

Please provide details about your setup, CUDA version, PyTorch version, also the complete log which would contain details about why the build failed. Also ensure that the system CUDA version matches the CUDA version with which PyTorch was compiled.

Further, can you confirm if you used install.sh to setup your environment and install the requisite dependencies to ensure that there are no version conflicts ?

dikshaseth commented 5 months ago

Dear Sir,

Thank you for your mail.

I got this error while running install.sh file to upload the source code on GCP. Kindly find full log details in the docs file below. https://docs.google.com/document/d/1DlvAKWdbdovdVeLfXVBlYDIEVSBWGCRHY1i4SiuSAEs/edit?usp=sharing [https://lh7-us.googleusercontent.com/docs/AHkbwyIinonZ4I2e_IghTNfjxO0V0uhh5yc7L6wA_tbstH-WB-sF8gBybtlcVI_TNlXCsvo4V1XO6BttGgErzLgKw6U4qnnkjpUpDyNAPYKtN2Isdu81IIpa=w1200-h630-p]https://docs.google.com/document/d/1DlvAKWdbdovdVeLfXVBlYDIEVSBWGCRHY1i4SiuSAEs/edit?usp=sharing out_logshttps://docs.google.com/document/d/1DlvAKWdbdovdVeLfXVBlYDIEVSBWGCRHY1i4SiuSAEs/edit?usp=sharing docs.google.com Thank you in advance for helping out.

Diksha Seth


From: Pranjal Chitale @.> Sent: 06 April 2024 23:50 To: AI4Bharat/IndicTrans2 @.> Cc: Diksha Seth @.>; Author @.> Subject: Re: [AI4Bharat/IndicTrans2] Failed building wheel for fairseq (Issue #62)

External Email

These details are not sufficient for us to help you debug the issue.

Please provide details about your setup, CUDA version, PyTorch version, also the complete log which would contain details about why the build failed. Also ensure that the system CUDA version matches the CUDA version with which PyTorch was compiled.

Further, can you confirm if you used install.sh to setup your environment and install the requisite dependencies to ensure that there are no version conflicts ?

— Reply to this email directly, view it on GitHubhttps://github.com/AI4Bharat/IndicTrans2/issues/62#issuecomment-2041158957, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBVBQUUX4YZKCDTK3VUQ4TTY4A4ILAVCNFSM6AAAAABF2PR22WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGE2TQOJVG4. You are receiving this because you authored the thread.Message ID: @.***>

PranjalChitale commented 5 months ago

Looking at the logs, it seems this issue is arising due to the G++ compiler not being installed on your system.

Please refer https://github.com/facebookresearch/fairseq/issues/5196 for further information.

dikshaseth commented 5 months ago

Yes. It is resolved now. Thank you Sir.