IlyasMoutawwakil
HF staff
Upload cpu_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
58091fb
verified
{ | |
"config": { | |
"name": "cpu_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model_type": "resnet50", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cpu", | |
"device_ids": null, | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": false, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"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": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"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": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16766.783488, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": "373ae7c79c8006be7aee6d9374fc9fc6dd501706", | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 543.752192, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.25338339700002166 | |
], | |
"count": 1, | |
"total": 0.25338339700002166, | |
"mean": 0.25338339700002166, | |
"p50": 0.25338339700002166, | |
"p90": 0.25338339700002166, | |
"p95": 0.25338339700002166, | |
"p99": 0.25338339700002166, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00013631678032777805, | |
"ram": 5.70117769335646e-06, | |
"gpu": 0, | |
"total": 0.00014201795802113452 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 601.68192, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.17422584400000574, | |
0.17175959300001864, | |
0.17766636799998992, | |
0.1660708530000079, | |
0.15205342999999516, | |
0.14971273200001178, | |
0.1550369789999877 | |
], | |
"count": 7, | |
"total": 1.1465257990000168, | |
"mean": 0.16378939985714527, | |
"p50": 0.1660708530000079, | |
"p90": 0.17560205359999942, | |
"p95": 0.17663421079999467, | |
"p99": 0.17745993655999087, | |
"stdev": 0.010574288599314531, | |
"stdev_": 6.456027440443199 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 12.21080241910875 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.961146610185276e-06, | |
"ram": 2.910901486194492e-07, | |
"gpu": 0.0, | |
"total": 7.252236758804727e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 275776.9866754362 | |
} | |
} | |
} | |
} |