Open dillfrescott opened 1 year ago
I also get this error. No idea why, was difficult enough to even get it to attempt to do something because the versions of torch installed via requirements dont even install with cuda.
Get the same error too. Stuck here for a while :(
same
same
The followings help me solve this problem: [1] In sd_xl_refiner.yaml, replace the following code: [2] In streamlit_helpers, add the following code:
You only need to fix sgd/modules/attention.py
file.
sgd/modules/attention.py
file:
from omegaconf import ListConfig
\
sgd/modules/attention.py file
, around line 655:
if exists(context_dim) and isinstance(context_dim, ListConfig):
context_dim = list(context_dim)
sgd/modules/attention.py
Shouldn't this be in sgm/modules/attention.py