ProfileJobResult

class ProfileJobResult(status, url, artifacts_dir, profile)

Profile Job result structure.

profile

The profile result as a python dictionary for a successful job.

Type:

Dict

Examples

Fetch a job result:

import qai_hub as hub
job = hub.get_job("jabc123")

Print the profiling results as a dictionary structure:

profile = job.download_profile()

Print the model runtime latency in milliseconds:

latency_ms = profile["execution_summary"]["estimated_inference_time"] / 1000