or worker
  * **timestamp** (*int*) -- timestamp in milliseconds when event
    occured.

  * **metadata** (*Dict**[**str**, **Optional**[**Union**[**str**,
    **int**, **float**, **bool**]**]**]*) -- additional data that
    is associated with the event.

class torch.distributed.elastic.events.api.EventSource(value)
Known identifiers of the event producers.
torch.distributed.elastic.events.api.EventMetadataValue
alias of "Optional"["Union"["str", "int", "float", "bool"]]