Skip to content

dist_recv NIF wrapper omits native_context for error reporting #115

Description

@ausimian

Severity: low

Emily.Native.dist_recv/5 calls await/1 without a native_context map (lib/emily/native.ex:153), inconsistent with the collectives just above it. A failure (e.g. unsupported shape/dtype) raises with no op context.

Fix: pass a native_context describing the op and inputs.

Found in code review of the distributed-collectives scaffold (feature/distributed-mlx-scaffold).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions