Open AirplanegoBrr opened 1 year ago
after doing some debug it looks like the callback: progress
is causing the issue, Fix is to remove it but it would be nice to have the callback!
@AirplanegoBrr
after doing some debug it looks like the
callback: progress
is causing the issue, Fix is to remove it but it would be nice to have the callback!
if it's the same as #68, then putting a reference to your callback somewhere in Python should help, as then it won't be removed by Python's garbage collector. I guess that would be a bug in the bridge but such a hack might work to go around it before it's fixed.
The problem
Console randomly prints an object The object in question:
{"r": 23, "c": "jsi", "p": 1, "action": "call", "ffid": 11, "key": "", "args": [12, {"ffid": 34}, {"ffid": 35}]}
This object can very each run, sometimes the problem doesn't even happen! After this is printed python gets held up and after 100000ms pythonia throws an error:I think maybe this issue might also be related to #68 ? I tried to debug it on my own bug have no clue what the problem is or where to even begin looking
Code
Bit of my code:
"Main" is from a StableDiffusionPipeline pretrained pipe AKA:
Dif being the
diffusers
and torch beingtorch