deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

[Bug]: Deploying to deno deploy from a monorepo fails because of a webGPU api dependency?

Open theTechGoose opened this issue 1 year ago • 1 comments

Problem description

I have a mono-repo and I am trying to use deno deploy for a specific project within that mono-repo

https://github.com/theTechGoose/OmniSource

from root running: deployctl deploy --entrypoint backends/ai-activations/main.ts

gives: error: The deployment failed: UNCAUGHT_EXCEPTION

ReferenceError: GPUTextureUsage is not defined at https://jsr.io/@std/webgpu/0.224.7/describe_texture_format.ts:22:15

Steps to reproduce

clone the repo https://github.com/theTechGoose/OmniSource

run deployctl deploy --entrypoint backends/ai-activations/main.ts from the root

Expected behavior

It should deploy

Environment

deno 2.1.2 MacOs 14.5

Possible solution

No response

Additional context

image

theTechGoose avatar Dec 17 '24 05:12 theTechGoose

Hi @theTechGoose

the Web GPU API is currently not supported on Deno Deploy and not something that we currently have on our roadmap.

igorbdl avatar Dec 18 '24 16:12 igorbdl