# Able to run on WebGL? (ArgumentException: Kernel 'Transpose' not found)

**URL:** https://discussions.unity.com/t/able-to-run-on-webgl-argumentexception-kernel-transpose-not-found/294082
**Category:** AI Inference Engine
**Tags:** Inference-Engine, Question
**Created:** [September 19, 2023, 4:19pm UTC](https://discussions.unity.com/t/able-to-run-on-webgl-argumentexception-kernel-transpose-not-found/294082 "2023-09-19T16:19:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![simonini\_thomas](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/simonini_thomas/32/88102_2.png) [@simonini\_thomas](https://discussions.unity.com/u/simonini_thomas)
#### Post date: [September 19, 2023, 4:19pm UTC](https://discussions.unity.com/t/able-to-run-on-webgl-argumentexception-kernel-transpose-not-found/294082/1 "2023-09-19T16:19:27Z")

</div>

Hey there,

I read in the documentation that we are able to run WebGL demos with Sentis.

I compiled it to Windows exe and it works correctly but with WebGL I’ve got two errors:

- Kernel ‘Transpose’ not found
- ArgumentException: Kernel ‘Transpose’ not found. Rethrow as TypeInitializationException: The type initializer for ‘Unity.Sentis.ComputeShaderSingleton’ threw an exception.

I tried with a BackendType.CPU and BackendType.GPUCompute

How I init sentis:

```auto
 /// <summary>
    /// Load the model on awake
    /// </summary>
    void Awake()
    {
        // Load the ONNX model
        runtimeModel = ModelLoader.Load(modelAsset);

        // Create an engine and set the backend as GPU //GPUCompute
        worker = WorkerFactory.CreateWorker(BackendType.CPU, runtimeModel);

        // Create an allocator.
        allocator = new TensorCachingAllocator();

        // Create an operator
        ops = WorkerFactory.CreateOps(BackendType.GPUCompute, allocator);
    }

```

Do you know why? Is there’s something specific I need to do in the config?  
Thanks for your help 🤗

---

<div class="post-metadata">

### Author: ![alexandreribard\_unity](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/alexandreribard_unity/32/83903_2.png) [@alexandreribard\_unity](https://discussions.unity.com/u/alexandreribard_unity)
#### Post date: [September 21, 2023, 2:04pm UTC](https://discussions.unity.com/t/able-to-run-on-webgl-argumentexception-kernel-transpose-not-found/294082/2 "2023-09-21T14:04:46Z")

</div>

GPU uses compute shaders which are only available on webgpu  
if you are targeting webgl, either use the cpu backend or use the pixelshader one
