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

armv7 docker builds #2584

Open
geedubess opened this issue Jan 19, 2025 · 3 comments
Open

armv7 docker builds #2584

geedubess opened this issue Jan 19, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@geedubess
Copy link

The current docker image tagged latest-armv7 seems to be based on 0.3.9.1 (currently a month old), while there seem to be regular arm64 builds. Am I missing something or is armv7 just not part of the typical build? Can you add it?

https://hub.docker.com/r/hlohaus789/g4f/tags?name=armv7

(this is a bigger issue because the armv7 docker image fails, though I don't want to open this as an issue until it's tracking github latest!:
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 5.3.0.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
)

@geedubess geedubess added the bug Something isn't working label Jan 19, 2025
@hlohaus
Copy link
Collaborator

hlohaus commented Jan 23, 2025

The builds are crashing, but you can build it yourself. The Dockerfile is here: https://github.com/xtekky/gpt4free/blob/main/docker%2FDockerfile-armv7

@geedubess

@geedubess
Copy link
Author

Thanks! Is there another issue to track the builds crashing or would you like to use this issue #?
I'll kick off a build myself to test.

@hlohaus
Copy link
Collaborator

hlohaus commented Jan 24, 2025

Hey @geedubess, it doesn't crash, it just times out building packages. g4f uses a ton of them, so there are a lot of issues. But you could install it with min or slim requirements. I don't see why we need to build new images anymore.

Edit: I enabled the armv7 build again. I added a timeout to the installation of packages. Now its working so far. (the build needs a half hour)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants