C0untFloyd / roop-unleashed

Evolved Fork of roop with Web Server and lots of additions
GNU Affero General Public License v3.0
2.24k stars 522 forks source link

Stopped working on both Kaggle and Colab #812

Closed arafatshawon closed 1 month ago

arafatshawon commented 3 months ago

Roop Unleashed stopped working on both Kaggle and Colab few hours ago...

Screenshohmgt_1

Kingkladzemcr commented 3 months ago

Yes I had the same issue come up on paperspace at around 6pm GMT 16/7/24 after it had been working fine that day.

Traceback (most recent call last): File "/content/roop-unleashed/run.py", line 3, in from roop import core File "/content/roop-unleashed/roop/core.py", line 15, in import onnxruntime ModuleNotFoundError: No module named 'onnxruntime'

lihua202406 commented 3 months ago

I can run it on kaggle,with the error Failed to load library libonnxruntime_providers_cuda.so with error: libcufft.so.10: cannot open shared object file: No such file or directory.and it couldn't use gpu to inference.

Kingkladzemcr commented 3 months ago

error on colab

!apt-get -y update !apt-get -y install cuda-toolkit-11-8 import os os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11/lib64" os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11.8/lib64"

Hit:1 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:7 https://r2u.stat.illinois.edu/ubuntu jammy InRelease Hit:8 https://r2u.stat.illinois.edu/ubuntu jammy Release Hit:9 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease Hit:10 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease Hit:11 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease Reading package lists... Done W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu jammy InRelease' does not seem to provide it (sources.list entry misspelt?) Reading package lists... Done Building dependency tree... Done Reading state information... Done cuda-toolkit-11-8 is already the newest version (11.8.0-1). 0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.

!git clone https://github.com/C0untFloyd/roop-unleashed.git %cd roop-unleashed !mv config_colab.yaml config.yaml !pip install pip install -r requirements.txt

Cloning into 'roop-unleashed'... remote: Enumerating objects: 3018, done. remote: Counting objects: 100% (37/37), done. remote: Compressing objects: 100% (30/30), done. remote: Total 3018 (delta 9), reused 30 (delta 5), pack-reused 2981 Receiving objects: 100% (3018/3018), 104.04 MiB | 16.55 MiB/s, done. Resolving deltas: 100% (1897/1897), done. /content/roop-unleashed/roop-unleashed Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Ignoring torch: markers 'sys_platform == "darwin"' don't match your environment Ignoring torchvision: markers 'sys_platform == "darwin"' don't match your environment Ignoring onnxruntime: markers 'sys_platform == "darwin" and platform_machine != "arm64"' don't match your environment Ignoring onnxruntime-silicon: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.1.2) ERROR: Could not find a version that satisfies the requirement install (from versions: none) ERROR: No matching distribution found for install

lihua202406 commented 3 months ago

error on colab

!apt-get -y update !apt-get -y install cuda-toolkit-11-8 import os os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11/lib64" os.environ["LD_LIBRARY_PATH"] += ":" + "/usr/local/cuda-11.8/lib64"

Hit:1 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:7 https://r2u.stat.illinois.edu/ubuntu jammy InRelease Hit:8 https://r2u.stat.illinois.edu/ubuntu jammy Release Hit:9 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease Hit:10 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease Hit:11 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease Reading package lists... Done W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu jammy InRelease' does not seem to provide it (sources.list entry misspelt?) Reading package lists... Done Building dependency tree... Done Reading state information... Done cuda-toolkit-11-8 is already the newest version (11.8.0-1). 0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.

!git clone https://github.com/C0untFloyd/roop-unleashed.git %cd roop-unleashed !mv config_colab.yaml config.yaml !pip install pip install -r requirements.txt

Cloning into 'roop-unleashed'... remote: Enumerating objects: 3018, done. remote: Counting objects: 100% (37/37),o done.ook remote: Compressing objects: 100% (30/30), done. remote: Total 3018 (delta 9), reused 30 (delta 5), pack-reused 2981 Receiving objects: 100% (3018/3018), 104.04 MiB | 16.55 MiB/s, done. Resolving deltas: 100% (1897/1897), done. /content/roop-unleashed/roop-unleashed Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Ignoring torch: markers 'sys_platform == "darwin"' don't match your environment Ignoring torchvision: markers 'sys_platform == "darwin"' don't match your environment Ignoring onnxruntime: markers 'sys_platform == "darwin" and platform_machine != "arm64"' don't match your environment Ignoring onnxruntime-silicon: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.1.2) ERROR: Could not find a version that satisfies the requirement install (from versions: none) ERROR: No matching distribution found for install

U can skip this step,the clone repo.run the pip install -r requirements.txt Install the coda or the libs that aren't installed. I solved the problem that I faced successfully.

arafatshawon commented 3 months ago

I am not expert on this matter... can u please show me how to fix on kaggle... Or can u please share me ur kaggle notebook file/setup...

Kingkladzemcr commented 3 months ago

added !pip install onnxruntime-gpu and seemed to work but not very quick on processing

!git clone https://github.com/C0untFloyd/roop-unleashed.git %cd roop-unleashed !mv config_colab.yaml config.yaml !pip install pip install -r requirements.txt !pip install onnxruntime-gpu

Kingkladzemcr commented 3 months ago

was working earlier now throwing back following error

Traceback (most recent call last): File "/content/roop-unleashed/roop-unleashed/run.py", line 3, in from roop import core File "/content/roop-unleashed/roop-unleashed/roop/core.py", line 22, in import roop.utilities as util File "/content/roop-unleashed/roop-unleashed/roop/utilities.py", line 11, in import gradio ModuleNotFoundError: No module named 'gradio'

Marv761125 commented 3 months ago

Same issue on colab. Screen

zachysaur commented 3 months ago

https://youtu.be/Pq9tiHp7wDI

LaggyN00b commented 3 months ago

same issue here, please help fix

C0untFloyd commented 3 months ago

https://youtu.be/Pq9tiHp7wDI

You know that most of the models prohibit commercial usage? No wonder you've got a cease and desist from face fusion...

zachysaur commented 3 months ago

which ones?

zachysaur commented 3 months ago

if youhelp me understand so i dont do them things i dont got any knowledge

zachysaur commented 3 months ago

facefusion didnt wanted me to post forks videos

C0untFloyd commented 3 months ago

which ones?

Actually most of them and the most important one, the insightface swapper too 😄 Take a look here: https://docs.facefusion.io/introduction/licenses

zachysaur commented 3 months ago

damn i can feel how hard it is for you to bring up update

On Tue, Jul 23, 2024 at 1:55 AM C0untFloyd @.***> wrote:

which ones?

Actually most of them and the most important one, the insightface swapper too 😄 Take a look here: https://docs.facefusion.io/introduction/licenses

— Reply to this email directly, view it on GitHub https://github.com/C0untFloyd/roop-unleashed/issues/812#issuecomment-2243799155, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5ZQYYTKMLEV2G74VZYDNTTZNVWURAVCNFSM6AAAAABK7SQ2EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTG44TSMJVGU . You are receiving this because you commented.Message ID: @.***>

Marv761125 commented 3 months ago

Hi C0untFloyd. Is there any chance that this amazing program will be working again on Colab? Thx. Marv

zachysaur commented 3 months ago

https://youtu.be/Iy0PaElchlg for google collab being a free user

C0untFloyd commented 3 months ago

Tried myself in a free colab session, skipped the first cell (I believe re-installing cuda is not needed anymore) and got it to launch. However Google seems to actively ban swapping apps and I was quickly disconnected from the runtime. It looked like it should work with a premium account.

LaggyN00b commented 3 months ago

It works now, just make sure you have google compute units and it will work fine. Thank you C0untyFloud.

zachysaur commented 3 months ago

[C0untFloyd]i made a notebook of it its working fine lol with free accounts

C0untFloyd commented 3 months ago

@zachysaur Except for the 2 codec lines there's nothing different in "your" notebook. It will run the same as my one...

zachysaur commented 3 months ago

yes but as free user google collab dont allow this code and on kaggle they banned accounts if you run deepfake any software only with rot-13 you can use it .

zachysaur commented 3 months ago

is there a way you can add voice cloning to your gui?

Kingkladzemcr commented 3 months ago

all working on paperspace now

sparking-meteor commented 2 months ago

If any of you still got problems on kaggle you can use the fork i made instead, it's an older version but works fine regardless

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.