rgpycrumbs.uma._probe

Report the export interpreter’s compiler side as one JSON line.

Run as <python> _probe.py <device> by rgpycrumbs.uma._env, in the interpreter that will run the exporter, so the versions and the target are the ones the package is compiled with.

Attributes

Functions

_target(→ str)

The device fields torch writes into the package metadata, joined.

main(→ dict)

Module Contents

rgpycrumbs.uma._probe.TARGET_FIELDS = ('AOTI_MACHINE', 'AOTI_CPU_ISA', 'AOTI_COMPUTE_CAPABILITY')[source]
rgpycrumbs.uma._probe._target(device: str) → str[source]

The device fields torch writes into the package metadata, joined.

rgpycrumbs.uma._probe.main(device: str) → dict[source]
rgpycrumbs.uma._probe.payload[source]