What's the pricing for neurons on text to image generation?
What's the pricing for neurons on text to image generation?
parameters: {} I got past the error by changing it to parameters: { type: "object", properties: {} }.
raw parameterInferenceUpstreamError: undefined: undefined fixed? I'm getting the same error using @cf/microsoft/resnet-50 with a PNG and this code https://gist.github.com/net-tech/0eb5e0caa05c6be931ab373cbb35f360
Intel/distilbert-base-uncased-finetuned-sst-2-english-int8-static-inc and how it's been trained.JSON.stringify(inputs).length needs to be less than 9.5 MB, to be precise.)
zh-tw and pt-brparameters: {}parameters: { type: "object", properties: {} }rawInferenceUpstreamError: undefined: undefined@cf/microsoft/resnet-50Intel/distilbert-base-uncased-finetuned-sst-2-english-int8-static-incexport async function onRequest(context) {
const input = { prompt: "What is the origin of the phrase Hello, World" }
const answer = await context.env.AI.run('@cf/meta/llama-3.1-8b-instruct', input);
return Response.json(answer);
}A ReadableStream branch was created but never consumed. Such branches can be created, for instance, by calling the tee() method on a ReadableStream, or by calling the clone() method on a Request or Response object. If a branch is created but never consumed, it can force the runtime to buffer the entire body of the stream in memory, which may cause the Worker to exceed its memory limit and be terminated. To avoid this, ensure that all branches created are consumed.JSON.stringify(inputs).lengthzh-twpt-br