R
RunPod3mo ago
CR-TZM

Dependencies version issue between gradio and runpod

Hello everyone, I'm trying to rebuild the docker image from the runpod-workers repository for a1111 to change the model available and possibly try to add ad detailer and open pose to it. https://github.com/runpod-workers/worker-a1111 When I'm building the image I got this dependencies conflict that I can't solve The conflict is caused by: gradio 4.42.0 depends on tomlkit==0.12.0 runpod 1.4.1 depends on tomlkit>=0.12.2 I tried runpod's version from last to 1.4.1 and gradio I put the last one as the original one wasn't working. Do you know what can I do? How was @Merrell able to build his image as I reused his code and didn't work.
GitHub
GitHub - runpod-workers/worker-a1111: Automatic1111 serverless worker.
Automatic1111 serverless worker. . Contribute to runpod-workers/worker-a1111 development by creating an account on GitHub.
2 Replies
Encyrption
Encyrption3mo ago
That is is nature of Python apps. With Python code unless every python module written into every piece of code specifies a specific version when you build an image, that image will be a brand new app, with completely different versions than the original. There is no easy way to fix the issues you are experiencing. All you can do is to try different versions of modules until you find a set that works together. You just have to address each error you find, whack a mole style, until it works. I wish I had a better answer for you.
CR-TZM
CR-TZMOP3mo ago
Ok thank you, I'll continue to test so
Want results from more Discord servers?
Add your server