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}')
|
logging.info(f'working on {body}')
|
||||||
|
|
||||||
resp = await self.conn.begin_work(rid)
|
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.')
|
logging.info(f'probably being worked on already... skip.')
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -45,6 +45,7 @@ def pipeline_for(
|
||||||
torch_dtype=torch.bfloat16,
|
torch_dtype=torch.bfloat16,
|
||||||
quantization_config=qonfig
|
quantization_config=qonfig
|
||||||
)
|
)
|
||||||
|
params['transformer'] = transformer
|
||||||
|
|
||||||
pipe = FluxFillPipeline.from_pretrained(
|
pipe = FluxFillPipeline.from_pretrained(
|
||||||
model, **params)
|
model, **params)
|
||||||
|
|
Loading…
Reference in New Issue