-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Python 3.8 & Ubuntu20.04 support #148
Comments
Got it. The deeppavlov library seems to only run with CUDA. so this seems to be an error in the README instead of an error in the app, as it only says the CUDA Library is preferred |
@Achyut-BK I'm having hard-time to support Ubuntu 20.04 because there are too many dependency issues. I've removed several dependencies and lost some features on |
@mertyildiran I can try my luck with it. IDK how well I can do though, as like I mentioned, I don't have an Nvidia CUDA supporting GPU. Perhaps we can make another branch for AMD and intel-integrated GPUs that uses OpenCL or installs the CUDA drivers, like mentioned here.I was actually also wondering, can we support more TTS engines, like mycroft does. Mimic2 seems Nice. |
I dug around a bit more in the source code. I uninstalled the deb package and built the master branch from source. It still didn't compile the realhud library, so I tried manually compiling the realhud library, and got the following error
So this seems to be the problem with the builiding of Realhud. I checked the source again, but the compile instructions given there didn't work. I fixed it with
I renamed it realhud.so and copied it to the root Dragonfire directory. |
Fixed thinc |
We seem to be in dependency hell. Thinc version 8.0.0a11 is required by spacy, but thinc version 7.0.0 is required for someother scripts.
with Thinc 8 : |
Fixed the aforementioned problem |
@Achyut-BK I'm sorry for my late reply.
I hit that It's great that you've overcome all the dependency issues. I'm looking forward to receive your pull request. Remember that it should pass the GitHub workflow in here. Feel free to modify and/or remove the problematic tests located in here. |
@mertyildiran That sounds great. However, it seems to have a problem with tensorflow 2 ( |
@Achyut-BK yeah they drop support for TensorFlow 1.x as of Python 3.8. Therefore we should instead migrate to TensorFlow 2 and replace or remove the models broken in TensorFlow 2. An alternative approach would be making this project rely on |
@mertyildiran That would actually be good, as currently, when it is using my systems pip, its basically locked all my ML libraries at one version. Not much of a problem for me, but I'm pretty sure this can get annoying if you use these frameworks regularly. Also, if we succeed with pyenv, we could probably try for packaging it as a snap or appimage for anyone who doesn't want to get down and dirty with the source code. Also, we could maybe update the code itself too. I don't know Coding AI, but I can help out with pyenv. |
@Achyut-BK it's good to hear that you can help. Distributing with snap, flatpak and appimage is also in the plan. I don't have enough time to focus on this repository right now. If you can fix these dependency issues, I would be so grateful. I'm ready to answer all kinds of questions of yours and help to you using this discussion chain. |
I was installing the deb binary for Dragonfire, but it kept saying that I need python version less that 3.7. So, I tried the Debian package build instructions, but it errors out after a few seconds. I tried building it from source, but it didn't create the dragonfire command (I ran it with
python3 -m dragonfire
), or install most of the required deps. I tried installing the deps manually, but realhud doesn't look like it can be built manually. I then gave up and triedsudo dpkg -i --force-all dragonfire_1.1.1_amd64.deb
. This time it built everything, and formed the dragonfire command. Only problem is that when running dragonfire, it tells me it needsdeeppavlov==0.7.1
, which is incompatible with 3.8. Is there any way we can get it to run under python 3.8 ? Also, it doesn't look like it installs into a virtualenv during manual building, not sure if this is just me or it is supposed be like that.EDIT my GPU doesn't support CUDA, but I'm hoping that it will work. Not sure if this has any relationship to the problems
The text was updated successfully, but these errors were encountered: