After install Got detail":"Not Found" error

#2
by ShmuelR - opened

Everything installed fine on my WSL2 but I got {"detail":"Not Found"}

You have disabled the safety checker for <class 'diffusers.pipelines.latent_consistency_models.pipeline_latent_consistency_text2img.LatentConsistencyModelPipeline'> by passing safety_checker=None. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .
INFO: Started server process [20182]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:7860 (Press CTRL+C to quit)
INFO: 127.0.0.1:57128 - "GET HTTP/1.1" 404 Not Found

hi @ShmuelR , you need to build the frontend, please make sure you have nodejs > 16 installed then

cd frontend
npm install
npm build
cd ..
python run.py --reload --pipeline controlnetSDTurbo  -sfast 

hi @ShmuelR , you need to build the frontend, please make sure you have nodejs > 16 installed then

cd frontend
npm install
npm build
cd ..
python run.py --reload --pipeline controlnetSDTurbo  -sfast 

thanks! I done everything but in the end of execute I got: The config attributes {'skip_prk_steps': True} were passed to LCMScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
INFO: 127.0.0.1:53354 - "GET / HTTP/1.1" 404 Not Found


(venv) a3211@DESKTOP-89OI1TC:~/Real-Time-SD-Turbo$ python3 run.py --reload --pipeline controlnetSDTurbo --sfast
INFO: Will watch for changes in these directories: ['/home/a3211/Real-Time-SD-Turbo']
INFO: Uvicorn running on http://0.0.0.0:7860 (Press CTRL+C to quit)
INFO: Started reloader process [23737] using WatchFiles
DEVICE: cuda
TORCH_DTYPE: torch.float16

host: 0.0.0.0
port: 7860
reload: True
mode: default
max_queue_size: 0
timeout: 0.0
safety_checker: False
torch_compile: False
taesd: True
pipeline: controlnetSDTurbo
ssl_certfile: None
ssl_keyfile: None
sfast: True
oneflow: False
compel: False
debug: False

Loading pipeline components...: 100%|█████████████████████████████████████████████████████| 5/5 [00:00<00:00, 8.41it/s]
You have disabled the safety checker for <class 'diffusers.pipelines.controlnet.pipeline_controlnet_img2img.StableDiffusionControlNetImg2ImgPipeline'> by passing safety_checker=None. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .

Running sfast compile

The config attributes {'skip_prk_steps': True} were passed to LCMScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
INFO: Started server process [23739]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: 127.0.0.1:53354 - "GET / HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:53354 - "GET / HTTP/1.1" 404 Not Found

hi @ShmuelR that's is ok warning, did it work on your http://0.0.0.0:7860 ?

no. the same "not found'

Screenshot 2023-12-21 094716.jpg

Screenshot 2023-12-21 095056.jpg

can you post the output for?

cd frontend
npm install
npm run build

Screenshot 2023-12-21 101234.jpg

There is an error in the process:

vite v4.5.1 building for production...e.
✓ 87 modules transformed.
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/.vite/manifest.json 2.77 kB │ gzip: 0.48 kB
.svelte-kit/output/client/_app/immutable/assets/2.4b49e46c.css 0.88 kB │ gzip: 0.27 kB
.svelte-kit/output/client/_app/immutable/assets/0.1a8b49dd.css 9.75 kB │ gzip: 2.72 kB
.svelte-kit/output/client/_app/immutable/nodes/0.f08a6aa9.js 0.60 kB │ gzip: 0.38 kB
.svelte-kit/output/client/_app/immutable/chunks/index.57cd3851.js 0.92 kB │ gzip: 0.57 kB
.svelte-kit/output/client/_app/immutable/nodes/1.231bfec5.js 1.03 kB │ gzip: 0.59 kB
.svelte-kit/output/client/_app/immutable/chunks/singletons.aabd96f1.js 2.46 kB │ gzip: 1.27 kB
.svelte-kit/output/client/_app/immutable/chunks/scheduler.d303939e.js 2.49 kB │ gzip: 1.16 kB
.svelte-kit/output/client/_app/immutable/entry/app.370c81d8.js 5.94 kB │ gzip: 2.34 kB
.svelte-kit/output/client/_app/immutable/chunks/index.c3a2e323.js 7.64 kB │ gzip: 3.12 kB
.svelte-kit/output/client/_app/immutable/entry/start.eace4d69.js 25.31 kB │ gzip: 9.98 kB
.svelte-kit/output/client/_app/immutable/nodes/2.d286c3bb.js 71.78 kB │ gzip: 21.37 kB
✓ built in 1.06s
ReferenceError: Blob is not defined
at file:///home/a3211/Real-Time-SD-Turbo/frontend/.svelte-kit/output/server/entries/pages/_page.svelte.js:22:49
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
at async Module.component (file:///home/a3211/Real-Time-SD-Turbo/frontend/.svelte-kit/output/server/nodes/2.js:5:59)
at async Promise.all (index 1)
at async render_response (file:///home/a3211/Real-Time-SD-Turbo/frontend/.svelte-kit/output/server/index.js:1380:21)
at async render_page (file:///home/a3211/Real-Time-SD-Turbo/frontend/.svelte-kit/output/server/index.js:2220:12)
at async resolve2 (file:///home/a3211/Real-Time-SD-Turbo/frontend/.svelte-kit/output/server/index.js:2834:24)
at async respond (file:///home/a3211/Real-Time-SD-Turbo/frontend/.svelte-kit/output/server/index.js:2720:22)

node:internal/event_target:1011
process.nextTick(() => { throw err; });
^
Error: 500 /
To suppress or handle this error, implement handleHttpError in https://kit.svelte.dev/docs/configuration#prerender
at file:///home/a3211/Real-Time-SD-Turbo/frontend/node_modules/@sveltejs/kit/src/core/config/options.js:212:13
at file:///home/a3211/Real-Time-SD-Turbo/frontend/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:64:25
at save (file:///home/a3211/Real-Time-SD-Turbo/frontend/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:403:4)
at visit (file:///home/a3211/Real-Time-SD-Turbo/frontend/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:236:3)
Emitted 'error' event on Worker instance at:
at Worker.[kOnErrorMessage] (node:internal/worker:298:10)
at Worker.[kOnMessage] (node:internal/worker:309:37)
at MessagePort. (node:internal/worker:205:57)
at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:736:20)
at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28)

hi @ShmuelR , whats your Node version?

please can you try Node 18+?

Thanks!!!

work!!!.jpg

works grate on nvidia RTX 3090

great!

radames changed discussion status to closed

Thare is a way to do this on ComfyUI?

Sign up or log in to comment