fooocus's People
fooocus's Issues
AssertionError: Torch not compiled with CUDA enabled
Hello, I do not have an NVIDIA GPU in my system, and instead I am using a CPU. However, I encountered an error and I believe that this error stems from the lack of an NVIDIA GPU in my system. I would like to continue using my current CPU for my operations. Below, I am providing the full error message I received and I would appreciate your assistance with this matter.
`Microsoft Windows [Version 10.0.22621.3007]
(c) Microsoft Corporation. Tüm hakları saklıdır.
C:\Users\Bulent\pinokio2\api\fooocus.git\app>C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\Scripts\activate C:\Users\Bulent\pinokio2\api\fooocus.git\app\env && python entry_with_update.py --preset realistic --disable-in-browser
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py', '--preset', 'realistic', '--disable-in-browser']
Loaded preset: C:\Users\Bulent\pinokio2\api\fooocus.git\app\presets\realistic.json
Python 3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)]
Fooocus version: 2.1.862
Downloading: "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/realisticStockPhoto_v10.safetensors" to C:\Users\Bulent\pinokio2\api\fooocus.git\app\models\checkpoints\realisticStockPhoto_v10.safetensors
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.46G/6.46G [1:05:56<00:00, 1.75MB/s]
Downloading: "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors" to C:\Users\Bulent\pinokio2\api\fooocus.git\app\models\loras\SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 222M/222M [02:06<00:00, 1.85MB/s]
Microsoft Windows [Version 10.0.22621.3007]
(c) Microsoft Corporation. Tüm hakları saklıdır.
C:\Users\Bulent\pinokio2\api\fooocus.git\app>C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\Scripts\activate C:\Users\Bulent\pinokio2\api\fooocus.git\app\env && python entry_with_update.py --preset realistic --disable-in-browser
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py', '--preset', 'realistic', '--disable-in-browser']
Loaded preset: C:\Users\Bulent\pinokio2\api\fooocus.git\app\presets\realistic.json
Python 3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)]
Fooocus version: 2.1.862
Running on local URL: http://127.0.0.1:7865
To create a public link, set share=True
in launch()
.
Exception in thread Thread-2 (worker):
Traceback (most recent call last):
File "C:\Users\Bulent\pinokio2\bin\miniconda\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Bulent\pinokio2\bin\miniconda\lib\threading.py", line 953, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\async_worker.py", line 25, in worker
import modules.default_pipeline as pipeline
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\default_pipeline.py", line 1, in
import modules.core as core
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\core.py", line 1, in
from modules.patch import patch_all
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\patch.py", line 5, in
import ldm_patched.modules.model_base
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\modules\model_base.py", line 2, in
from ldm_patched.ldm.modules.diffusionmodules.openaimodel import UNetModel
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\ldm\modules\diffusionmodules\openaimodel.py", line 18, in
from ..attention import SpatialTransformer, SpatialVideoTransformer, default
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\ldm\modules\attention.py", line 12, in
from .sub_quadratic_attention import efficient_dot_product_attention
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\ldm\modules\sub_quadratic_attention.py", line 27, in
from ldm_patched.modules import model_management
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\modules\model_management.py", line 118, in
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\modules\model_management.py", line 87, in get_torch_device
return torch.device(torch.cuda.current_device())
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\lib\site-packages\torch\cuda_init.py", line 801, in current_device
lazy_init()
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\lib\site-packages\torch\cuda_init.py", line 307, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.