I'm using SDXL serverless endpoint and sometimes I get an error.

error message is this:
RuntimeError: expected scalar type Float but found Half, Stack Trace: <traceback object at 0x7f779ace2a00>
RuntimeError: expected scalar type Float but found Half, Stack Trace: <traceback object at 0x7f779ace2a00>
2 Replies
๐“•๐“ป๐“ฒ๐“ฎ๐“ท๐“ญ๐“ต๐”‚ ๐Ÿ’– ๐“ฃ๐”‚๐“ป๐“ฎ๐“ผ๐“ฎ
const data = {
input: {
prompt: prompt,
num_inference_steps: 25,
refiner_inference_steps: 50,
width: 1024,
height: 1024,
guidance_scale: 7.5,
strength: 0.3,
seed: null,
num_images: 1,
},
};
const data = {
input: {
prompt: prompt,
num_inference_steps: 25,
refiner_inference_steps: 50,
width: 1024,
height: 1024,
guidance_scale: 7.5,
strength: 0.3,
seed: null,
num_images: 1,
},
};
prompt is dynamic value
Want results from more Discord servers?
Add your server