Closed alessandroperilli closed 1 year ago
Thanks for your comment.
It seems to me, that the problem is with the diffusers library version. In my code, I imported LCMScheduler that is only available since v0.22. I fixed the version of diffusers and coremltools in my recent commit, so if you run pip install -r requirements.txt
inside CoreMLSuite's root dir, it should install the correct versions.
As for the pytorch nightly - the warning about version 2.0.0 being the last tested version (it's 2.1.0 now, btw) comes from Apple's coremltools library, over which I have no control. It seems to work fine with nighlty build, though, at least for now.
Please try upgrading diffusers and see if it helps. The warnings about scikit-learn and torch versions can be ingored as long as the errors don't come directly from coremltools.
I did as you recommended and all requirements were already satisfied. Pip upgraded or installed nothing.
I only received the following warning at the end of the process:
DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
And, obviously, the custom node suite still fails to import.
I deleted the suite, restarted ComfyUI, reinstalled the suite, restarted ComfyUI. That fixed it.
I still have the warnings reported at the very top of this thread, but ComfyUI can now import the suite correctly. Thanks!
I had the following issue for a few days, but I didn't have the time to report it earlier. It used to work fine before.
The result is that the ComfyUI fails the import.
Any chance you can restore support for nightly PyTorch builds? Thank you.