Closed ailelix closed 1 year ago
With OpenVINO v2022.1.0 within a Docker container I can confirm to see the same Segmentation fault (core dumped)
.
The Myriad-X (NCS2) is working in my Docker container environment with samples from Open-Model-Zoo - but not for this demo.
Same error with a completely different setup, which should be overqualified for SD...:
flash_on
7277 Multi-Core, 702 Single-Core
[Geekbench 4.2 Scores. Click for full Benchmark.](https://webdock.io/en/docs/webdock-control-panel/optimizing-performance/performance#ssd-byte)
7.5 Cores, 15 Threads
Intel® Xeon® CPUs
15 GB RAM
High-Speed Data Center Grade ECC RAM
150 GB On-Board SSD Drive
Fast Data Center SSD with ZFS
1 Gbit/s-Port
6 TB Outgoing Transfer Limit /month
1 dedicated IPv4 address
/124 IPv6 range (Up to 16 IPv6 addresses)
@ccxxvv77 FYI, while your setup is no where close to mine, I got the same error and the way I solved it was to massively increase resources.
11225 Multi-Core, 702 Single-Core
[Geekbench 4.2 Scores. Click for full Benchmark.](https://webdock.io/en/docs/webdock-control-panel/optimizing-performance/performance#ssd-premium)
15 Cores, 30 Threads
Intel® Xeon® CPUs
40 GB RAM
High-Speed Data Center Grade ECC RAM
400 GB On-Board SSD Drive
Fast Data Center SSD with ZFS
1 Gbit/s-Port
16 TB Outgoing Transfer Limit /month
1 dedicated IPv4 address
/124 IPv6 range (Up to 16 IPv6 addresses)
This did the trick. Still needs about 5 minutes for a standard command (no options passed). But at least the segmentation error is gone. Maybe this helps you too.
TY for the information @smileBeda
That case I guess is that NCS2 is too slow for StableDiffusion Technically for FP32, I've not tested FP16 model yet
I've upgraded my server to 16 gigs of ram But now with WinServer and Python 3.10 it's really inconvenient to test again
Also, NCS2 comes to its end @brmarkus Technical support ends on June 30,2023 and 2024 for warranty
So I'm gonna just close the issue BTW, I got a Telsa P4 on my server and runs well with AUTOMATIC1111's repo
I was trying to run this repo on this setup:
This repo runs well on my cpu (BTW, I got 5:30 and 10.3s/it in this setup)
And I change the "CPU" in the file sd_engine.py into "MYRIAD" (Using the NCS2)
And got the output:
It comes a while after the command inputted and output nothing else
I'm pretty sure that the driver is well installed and the NCS2 works well
So I wonder if it works on NCS2
(Theoretically it should be yes so I'm confused now
Anyway, thank your guys' contribution to this project
pip list: