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

[Question]: Have trouble configuring Ragflow on mac #4514

Open
Anqunan opened this issue Jan 16, 2025 · 1 comment
Open

[Question]: Have trouble configuring Ragflow on mac #4514

Anqunan opened this issue Jan 16, 2025 · 1 comment
Labels
question Further information is requested

Comments

@Anqunan
Copy link

Anqunan commented Jan 16, 2025

Describe your problem

2025-01-17 02:28:11 2025-01-17 02:28:11,913 WARNING 658 /ragflow/.venv/lib/python3.10/site-packages/polars/_cpu_check.py:259: RuntimeWarning: Missing required CPU features.
2025-01-17 02:28:11
2025-01-17 02:28:11 The following required CPU features were not detected:
2025-01-17 02:28:11 avx, avx2, fma, bmi1, bmi2, lzcnt, movbe
2025-01-17 02:28:11 Continuing to use this version of Polars on this processor will likely result in a crash.
2025-01-17 02:28:11 Install the polars-lts-cpu package instead of polars to run Polars with better compatibility.
2025-01-17 02:28:11
2025-01-17 02:28:11 Hint: If you are on an Apple ARM machine (e.g. M1) this is likely due to running Python under Rosetta.
2025-01-17 02:28:11 It is recommended to install a native version of Python that does not run under Rosetta x86-64 emulation.
2025-01-17 02:28:11
2025-01-17 02:28:11 If you believe this warning to be a false positive, you can set the POLARS_SKIP_CPU_CHECK environment variable to bypass this check.

I have installed polars-lts-cpu and set POLARS_SKIP_CPU_CHECK but still get this waring. cpu is m2

@Anqunan Anqunan added the question Further information is requested label Jan 16, 2025
@yuzhichang
Copy link
Member

@Anqunan Please update the code to the latest. This issue should be gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants