Skip to content

Webgl support in web worker #1506

@miktoki

Description

@miktoki

#102 mentions support for running tfjs on a web worker, which is currently supported, but only for the cpu backend. Lack off browser support for offscreencanvas was quoted as a key reason why it has not yet been looked into.
Having webgl+offscreencanvas support on tfjs would make it a lot more usable in realtime applications.
As of now (April 2019), offscreen canvas is supported by 61% of global users (only chrome). Given that there is some offscreencanvas support, is this something you plan to implement?

My understanding of webgl and the challenges with adding support for this on a worker is limited, but what would need to be done to make tfjs work with gpu on a worker?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions