Description
Your current environment information
My env:
pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu121 pip install onediff==1.2.0 onediffx==1.2.0
My command:
python benchmarks/instant_id.py --repo ./InstantID --face-analysis-root /workspace/insightface/models/ --seed 0 --output-image instant_id.png
🐛 Describe the bug
NotImplementedError: Transform failed of <class 'torch.nn.modules.container.ModuleList'>: Transform failed of <class 'diffusers.models.attention.BasicTransformerBlock'>: Transform failed of <class 'diffusers.models.attention_processor.Attention'>: Transform failed of <class 'ip_adapter.attention_processor.AttnProcessor2_0'>: super(type, obj): obj must be an instance or subtype of type
I get the error when compile instantid
then I have tried https://github.com/siliconflow/onediff/blob/main/benchmarks/instant_id.py
But it still get this error
Please help me to fix this
Thanks all!