langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
52.6k stars 7.69k forks source link

fix: dify-api startup issues in ARM env. #10942

Open AlphaHinex opened 4 days ago

AlphaHinex commented 4 days ago

Summary

Upgrade pypdfium2 version from ~4.17.0 to ~4.30.0 to fix dify-api startup issues in ARM env .

[FATAL:partition_root.cc(863)] Check failed: (internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14)).

[!Tip] Close issue syntax: Fixes #<issue number> or Resolves #<issue number>, see documentation for more details.

Screenshots

Before: After:
... ...

Checklist

[!IMPORTANT]
Please review the checklist below before submitting your pull request.

crazywoola commented 4 days ago

Please fix the lint errors.