You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fairseq installation error can be fixed by upgrading from 0.10.2 to 0.12.2. This newer version although not claiming to support M1, can be installed without errors.
Since nlpo3 is still blocking the fix, I don't think I can open a fix PR for now.
In the meantime, For others who want to contribute to the project using Dockerfile on m1 macs, I found a hacky fix by upgrading/removing the above-listed affected dependencies in docker_requirements.txt and setup.py. Please note that this method causes errors when using functionality that requires nlpo3.
Description
Cannot build docker image with m1 macos
Expected results
Docker build succesfully
Current results
Steps to reproduce
git clone https://github.com/PyThaiNLP/pythainlp && cd pythainlp
docker build .
Context
Your environment
python:3.8-slim-buster
(dockerimage)Possible solution
I am trying to bump up the dependencies version of the affected package. Will open PR if able to solve the problem
Files
The text was updated successfully, but these errors were encountered: