Chrome crashes when using webgpu
#2
by
cshenks
- opened
t5Generator = await pipeline(
"text2text-generation",
"Xenova/LaMini-Flan-T5-783M",
{
local_files_only: true,
dtype: {
encoder_model: "fp16", // 'fp16' works too
decoder_model_merged: "fp16", // or 'fp32' ('fp16' is broken)
},
device: "webgpu",
}
);
This causes a crash in chrome