Skip to main content

Module browser_support

Module browser_support 

Source
Expand description

Browser graph legality checks — reject transport/host-only paths before compile/run on wasm.

Constants§

COLLECTIVE_OPS
collective.* custom op names blocked in the browser (no TCP transport).

Functions§

collective_block_reason
Returns a human-readable reason when graph contains browser-forbidden ops.
first_browser_unsupported_op
First unsupported op kind for a browser device (for diagnostics).
passes_browser_preflight
True when the graph has no browser-blocked transport/custom ops.
select_browser_device_for_graph
Pick the highest-priority browser device that can legalize graph.