jax.experimental.pallas.mosaic_gpu.PeerMemRef

jax.experimental.pallas.mosaic_gpu.PeerMemRef#

class jax.experimental.pallas.mosaic_gpu.PeerMemRef(device_id: 'Any', device_id_type: 'pallas_primitives.DeviceIdType')[source]#
Parameters:
  • device_id (Any)

  • device_id_type (pallas_primitives.DeviceIdType)

__init__(device_id, device_id_type)#
Parameters:
  • device_id (Any)

  • device_id_type (pallas_primitives.DeviceIdType)

Return type:

None

Methods

__init__(device_id, device_id_type)

commute_ndindexer(_, indexer)

pretty_print(context)

transform_array(x)

transform_type(x)

undo(x)

Attributes

device_id

device_id_type