{ "config": { "name": "test_api_push_to_hub_mixin", "backend": { "name": "pytorch", "version": "2.7.0", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "model": "google-bert/bert-base-uncased", "processor": "google-bert/bert-base-uncased", "task": "fill-mask", "library": "transformers", "model_type": "bert", "device": "cpu", "device_ids": null, "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": false, "tp_plan": null, "device_map": null, "torch_dtype": null, "eval_mode": true, "to_bettertransformer": false, "low_cpu_mem_usage": null, "attn_implementation": null, "cache_implementation": null, "allow_tf32": false, "autocast_enabled": false, "autocast_dtype": null, "torch_compile": false, "torch_compile_target": "forward", "torch_compile_config": {}, "quantization_scheme": null, "quantization_config": {}, "deepspeed_inference": false, "deepspeed_inference_config": {}, "peft_type": null, "peft_config": {} }, "scenario": { "name": "inference", "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", "iterations": 1, "duration": 1, "warmup_runs": 1, "input_shapes": { "batch_size": 2, "sequence_length": 16, "num_choices": 2 }, "new_tokens": null, "memory": true, "latency": true, "energy": false, "forward_kwargs": {}, "generate_kwargs": {}, "call_kwargs": {} }, "launcher": { "name": "process", "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", "device_isolation": false, "device_isolation_action": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": "Apple M1 (Virtual)", "cpu_count": 3, "cpu_ram_mb": 7516.192768, "system": "Darwin", "machine": "arm64", "platform": "macOS-14.7.5-arm64-arm-64bit", "processor": "arm", "python_version": "3.12.10", "optimum_benchmark_version": "0.6.0.dev0", "optimum_benchmark_commit": "3d4015d904a7263cee1a8c3d0086ff0f3e106f44", "transformers_version": "4.51.3", "transformers_commit": null, "accelerate_version": "1.6.0", "accelerate_commit": null, "diffusers_version": "0.33.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.15", "timm_commit": null, "peft_version": null, "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 870.416384, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 3.701696458000015 ], "count": 1, "total": 3.701696458000015, "mean": 3.701696458000015, "p50": 3.701696458000015, "p90": 3.701696458000015, "p95": 3.701696458000015, "p99": 3.701696458000015, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "first_forward": { "memory": { "unit": "MB", "max_ram": 1190.608896, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 1.992743292 ], "count": 1, "total": 1.992743292, "mean": 1.992743292, "p50": 1.992743292, "p90": 1.992743292, "p95": 1.992743292, "p99": 1.992743292, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1196.638208, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.0850025419999838, 0.08247979100002567, 0.07701916700000311, 0.08044341700002633, 0.08120700000000625, 0.08482358300000215, 0.07500400000003538, 0.11592237500002511, 0.05995862499997884, 0.05142087500001935, 0.06194533399997226, 0.05897816599997441, 0.061155500000040774, 0.05888666599997805 ], "count": 14, "total": 1.0342470410000715, "mean": 0.07387478864286225, "p50": 0.07601158350001924, "p90": 0.0849488542999893, "p95": 0.09582448354999826, "p99": 0.11190279671001972, "stdev": 0.016129613932805157, "stdev_": 21.833719228330537 }, "throughput": { "unit": "samples/s", "value": 27.072835492886913 }, "energy": null, "efficiency": null } } }