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

为build-with-latex版本Docker构建新增arm64支持 #1994

Merged
merged 33 commits into from
Oct 13, 2024

Conversation

Menghuan1918
Copy link
Contributor

改进构建文件,改用uv进行安装包以加快构建速度(amd64版本镜像构建仅需要3分钟左右)。由于github action免费版本的磁盘容量限制,将arm64和amd64版本分为两个action构建。

注意由于使用了虚拟环境,build-with-latex版本启动指令从CMD ["python3", "-u", "main.py"]变为了CMD [".venv/bin/python3", "-u", "main.py"]

经过测试在树莓派4B上能正常编译出文件
图片

经群友测试Mac OS也可正常使用

@moxi000
Copy link

moxi000 commented Oct 8, 2024

8814d0169d61fa178b9f503f626af180
经过测试,可以在macos15.1下使用docker compose完美运行。

binary-husky and others added 4 commits October 11, 2024 13:32
* solve the pdf concatenate error.

* add legacy fallback option

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
@binary-husky binary-husky merged commit 2fe5feb into binary-husky:master Oct 13, 2024
1 check passed
@harrisonhxy
Copy link

改进构建文件,改用uv进行安装包以加快构建速度(amd64版本镜像构建仅需要3分钟左右)。由于github action免费版本的磁盘容量限制,将arm64和amd64版本分为两个action构建。

注意由于使用了虚拟环境,build-with-latex版本启动指令从CMD ["python3", "-u", "main.py"]变为了CMD [".venv/bin/python3", "-u", "main.py"]

经过测试在树莓派4B上能正常编译出文件 图片

经群友测试Mac OS也可正常使用

想请教一下,我拉取了最新的项目(3.9),然后用docker-compose方案4 (gpt_academic_with_latex),构建新的镜像后依然提示
image
我该如何获取arm版本的镜像。另外,我的电脑是mac m芯片 Sonoma14.5.

@jackeyzzz12138
Copy link

改进构建文件,改用uv进行安装包以加快构建速度(amd64版本镜像构建仅需要3分钟左右)。由于github action免费版本的磁盘容量限制,将arm64和amd64版本分为两个action构建。
注意由于使用了虚拟环境,build-with-latex版本启动指令从CMD ["python3", "-u", "main.py"]变为了CMD [".venv/bin/python3", "-u", "main.py"]
经过测试在树莓派4B上能正常编译出文件 图片
经群友测试Mac OS也可正常使用

想请教一下,我拉取了最新的项目(3.9),然后用docker-compose方案4 (gpt_academic_with_latex),构建新的镜像后依然提示 image 我该如何获取arm版本的镜像。另外,我的电脑是mac m芯片 Sonoma14.5.

确定pull对镜像了吗?gpt_academic_with_latex_arm

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

Successfully merging this pull request may close these issues.

6 participants