Torch not compiled with CUDA enabled #69

Open
opened 2021-07-26 04:26:23 +02:00 by a2231698193 · 12 comments
a2231698193 commented 2021-07-26 04:26:23 +02:00 (Migrated from github.com)

Torch not compiled with CUDA enabled 这

Torch not compiled with CUDA enabled 这
ExponentialML commented 2021-07-26 07:12:39 +02:00 (Migrated from github.com)
Do everything exactly as it says here: https://github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md
a2231698193 commented 2021-07-26 07:35:29 +02:00 (Migrated from github.com)

no GPU How do you use it? cpu

no GPU How do you use it? cpu
a2231698193 commented 2021-07-26 07:45:42 +02:00 (Migrated from github.com)

完全按照这里说的做所有事情:https : //github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md

no GPU How do you use it? cpu

> 完全按照这里说的做所有事情:[https](https://github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md) : [//github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md](https://github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md) no GPU How do you use it? cpu
woctezuma commented 2021-07-26 08:28:29 +02:00 (Migrated from github.com)

no GPU How do you use it? cpu

At the end of the link provided by ftaker887:

We expect users to have GPU with at least 3G memory. For those who do not, we provide [Colab Notebook implementation].

> no GPU How do you use it? cpu At the end of the link provided by ftaker887: > We expect users to have GPU with at least 3G memory. For those who do not, we provide [Colab Notebook implementation].
andrewrush commented 2021-07-26 11:37:27 +02:00 (Migrated from github.com)

no GPU How do you use it? cpu

Just make a few changes and you can run without GPU. No NVIDIA card required or any card, just 3Gb RAM (or less) and any processor, you should build or find CPU-compatible dependencies

> no GPU How do you use it? cpu Just make a few changes and you can run without GPU. No NVIDIA card required or any card, just 3Gb RAM (or less) and any processor, you should build or find CPU-compatible dependencies
instant-high commented 2021-07-26 11:44:15 +02:00 (Migrated from github.com)

2Gb Nvidia GPU working for me.
CPU will be sloooooow...

2Gb Nvidia GPU working for me. CPU will be sloooooow...
andrewrush commented 2021-07-26 11:45:11 +02:00 (Migrated from github.com)

Torch not compiled with CUDA enabled 这

If you don't have compatible GPU, just use CPU. Install dependencies:

conda create -n simswap python=3.6
conda activate simswap
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cpuonly -c pytorch
pip install --ignore-installed imageio
pip install insightface==0.2.1 onnxruntime moviepy

Then place this powershell script in SimSwap directory and run.
Script makes SimSwap CPU-compatible.

> Torch not compiled with CUDA enabled 这 If you don't have compatible GPU, just use CPU. Install dependencies: `conda create -n simswap python=3.6` `conda activate simswap` `conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cpuonly -c pytorch` `pip install --ignore-installed imageio` `pip install insightface==0.2.1 onnxruntime moviepy` Then place [this powershell script](https://pastebin.com/y1FxV8jA) in SimSwap directory and run. Script makes SimSwap CPU-compatible.
andrewrush commented 2021-07-26 11:50:14 +02:00 (Migrated from github.com)

2Gb Nvidia GPU working for me.
CPU will be sloooooow...

Yes, GPU backend is much better. But Windows users with AMD and Intel cards has no other choice. AMD cards runs in PyTorch with ROCm (Linux only). Colab usage only with quota limits. Kaggle-way cause an instant ban of profile.

> > > 2Gb Nvidia GPU working for me. > CPU will be sloooooow... Yes, GPU backend is much better. But Windows users with AMD and Intel cards has no other choice. AMD cards runs in PyTorch with ROCm (Linux only). Colab usage only with quota limits. Kaggle-way cause an instant ban of profile.
Hendiadyoin1 commented 2021-09-11 19:42:37 +02:00 (Migrated from github.com)

@andrewrush can you reupload the powershell script, the link seems to be dead
Also To the maintainers, an adjustment to the documentation, that these paths exist would be nice

@andrewrush can you reupload the powershell script, the link seems to be dead Also To the maintainers, an adjustment to the documentation, that these paths exist would be nice
woctezuma commented 2021-09-11 19:58:11 +02:00 (Migrated from github.com)

The link works fine here.

The link works fine here.
Hendiadyoin1 commented 2021-09-11 20:13:57 +02:00 (Migrated from github.com)

Ahh Adblocker was getting in my way..

Ahh Adblocker was getting in my way..
illtellyoulater commented 2021-12-09 10:51:11 +01:00 (Migrated from github.com)

Thanks @andrewrush! I could finally make it work! You are a king 😀

Thanks @andrewrush! I could finally make it work! You are a king 😀
Sign in to join this conversation.