mirror of https://github.com/skygpu/skynet.git
Fix resp none error and params on flux inpaint pipe
parent
48a0d0db79
commit
12d015f0b9
|
@ -171,7 +171,7 @@ class SkynetDGPUDaemon:
|
|||
logging.info(f'working on {body}')
|
||||
|
||||
resp = await self.conn.begin_work(rid)
|
||||
if 'code' in resp:
|
||||
if not resp or 'code' in resp:
|
||||
logging.info(f'probably being worked on already... skip.')
|
||||
|
||||
else:
|
||||
|
|
|
@ -45,6 +45,7 @@ def pipeline_for(
|
|||
torch_dtype=torch.bfloat16,
|
||||
quantization_config=qonfig
|
||||
)
|
||||
params['transformer'] = transformer
|
||||
|
||||
pipe = FluxFillPipeline.from_pretrained(
|
||||
model, **params)
|
||||
|
|
Loading…
Reference in New Issue