Torch not compiled with CUDA enabled #69
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Torch not compiled with CUDA enabled 这
Do everything exactly as it says here: https://github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md
no GPU How do you use it? cpu
no GPU How do you use it? cpu
At the end of the link provided by ftaker887:
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
2Gb Nvidia GPU working for me.
CPU will be sloooooow...
If you don't have compatible GPU, just use CPU. Install dependencies:
conda create -n simswap python=3.6conda activate simswapconda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cpuonly -c pytorchpip install --ignore-installed imageiopip install insightface==0.2.1 onnxruntime moviepyThen place this powershell script in SimSwap directory and run.
Script makes SimSwap CPU-compatible.
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.
@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
The link works fine here.
Ahh Adblocker was getting in my way..
Thanks @andrewrush! I could finally make it work! You are a king 😀