-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
type:bugSomething isn't workingSomething isn't working
Description
Run yarn test under tfjs-backend-webgpu.
Expect all cases pass. However, below cases fail:
FAILED fromPixels test-webgpu {"WEBGPU_CPU_FORWARD":false} fromPixels for HTMLVideoElement
debug.js:21 Error: Failed to execute 'importExternalTexture' on 'GPUDevice': Failed to import texture from video
error properties: Object({ code: 0, INDEX_SIZE_ERR: 1, DOMSTRING_SIZE_ERR: 2, HIERARCHY_REQUEST_ERR: 3, WRONG_DOCUMENT_ERR: 4, INVALID_CHARACTER_ERR: 5, NO_DATA_ALLOWED_ERR: 6, NO_MODIFICATION_ALLOWED_ERR: 7, NOT_FOUND_ERR: 8, NOT_SUPPORTED_ERR: 9, INUSE_ATTRIBUTE_ERR: 10, INVALID_STATE_ERR: 11, SYNTAX_ERR: 12, INVALID_MODIFICATION_ERR: 13, NAMESPACE_ERR: 14, INVALID_ACCESS_ERR: 15, VALIDATION_ERR: 16, TYPE_MISMATCH_ERR: 17, SECURITY_ERR: 18, NETWORK_ERR: 19, ABORT_ERR: 20, URL_MISMATCH_ERR: 21, QUOTA_EXCEEDED_ERR: 22, TIMEOUT_ERR: 23, INVALID_NODE_TYPE_ERR: 24, DATA_CLONE_ERR: 25 })
at Object.fromPixelsExternalImage (FromPixelsExternalImage.ts:84)
at Object.fromPixels [as kernelFunc] (FromPixels.ts:65)
However, if I change flag WEBGPU_USE_IMPORT to false, above case can pass. It seems that the import path has problem.
cc @shaoboyan
Metadata
Metadata
Assignees
Labels
type:bugSomething isn't workingSomething isn't working