Skip to content

32 different nccl channel created in the decode step of DSR1 671b (IREE PJRT as backend) #50

Description

@Hanjiang9831

I only used xla for getting the hlo graph and basic graph optimizations, then I parsed the full graph to iree pjrt for compilation and runtime. I noticed that during decode, a different NCCL collective channel is created each iteration, which means a total of 33 different channels (one for prefill, 32 for decode) are created. Is this a jit cache miss problem, or should I use jax.lax.scan instead of a python loop for the decode step?

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