uptrain-ai / uptrain

UpTrain is an open-source unified platform to evaluate and improve Generative AI applications. We provide grades for 20+ preconfigured checks (covering language, code, embedding use-cases), perform root cause analysis on failure cases and give insights on how to resolve them.
https://uptrain.ai/
Apache License 2.0
2.09k stars 174 forks source link

docker image to multi architecture #691

Closed DrinkingMilktea closed 1 month ago

DrinkingMilktea commented 2 months ago

I'm try to use uptrain in M3 macbook laptop. But

bash run_uptrain.sh

it gave me following error message.

server-1     | exec /usr/local/bin/python: exec format error

I searched it and find out that it is architecture problem. I'm trying to use QEMU to emulating x86 architecture in my M3(arm) laptop. But it's very difficult to use it. Please Make image to multi architecture.


I found that uptrain/dashboard folder has DockerFile which can build image myself. but I have a suggestion that DockerFile to Dockerfile which can detact docker to Dockerfile


I hope to commit about this problem. but there is no permission to me. so I can't push my commit to repo (sad)


I read the contribution docs and make PR

ashish-1600 commented 1 month ago

Hey @DrinkingMilktea , We've tested the images on both M1 and M2, and they're working perfectly. Additionally, I've reviewed the PR and it looks good to me.

ashish-1600 commented 1 month ago

I have merged the PR. :)