Open
Description
Bug Description
Error Description:
When trying to load a model from cache in WebLLM (WebGPU), the following error occurs:
GPUPipelineError: [Invalid ShaderModule (unlabeled)] is invalid.
While validating compute stage ([Invalid ShaderModule (unlabeled)], entryPoint: "reshape7_kernel").
But on same PC with Edge works fine.
Steps to Reproduce
Environment:
- Chrome: version 136.0.7103.48
- Edge: version 136.0.3240.50
- GPU: Polaris rx590
- CPU: r5 4500
- RAM: 16gb ddr4
- WebGPU Flags:
unsafeWebGPU
anddev-features
enabled. - MODEL: Llama 3.2-1b-10f16-mlc
- SO: Windows 11 pro 24H2
Attempts to Resolve:
- Cleared cache and storage data.
- Enabled
unsafeWebGPU
anddev-features
flags. - The error persists.
Expected Behavior
When typing some message, the following error occurs:
**""Loading model from cache[49/49]: 0MB loaded. 0% completed, 0 secs elapsed.
GPUPipelineError: [Invalid ShaderModule (unlabeled)] is invalid.
While validating compute stage ([Invalid ShaderModule (unlabeled)], entryPoint: "reshape7_kernel").""**
Screenshots

LLM Model ID
Llama 3.2-1b-10f16-mlc
Desktop Browser
Chrome
Desktop Browser Version
136.0.7103.48
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response