IlyasMoutawwakil's picture
Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
6f3abf0 verified
{
"config": {
"name": "test_api_push_to_hub_mixin",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_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,
"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": 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": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.763008,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1020-azure-x86_64-with-glibc2.34",
"processor": "x86_64",
"python_version": "3.8.18",
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "e0b65f8587af7a3174a7414ab6972a55c4d97a28",
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"accelerate_commit": null,
"diffusers_version": "0.32.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.14",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 571.518976,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
2.476122212000007
],
"count": 1,
"total": 2.476122212000007,
"mean": 2.476122212000007,
"p50": 2.476122212000007,
"p90": 2.476122212000007,
"p95": 2.476122212000007,
"p99": 2.476122212000007,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 928.395264,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.19068813599997725,
0.20298174600000607,
0.09797567699999377,
0.08234731699999998,
0.08176381499998797,
0.08094493200002262,
0.08125808799999845,
0.08086251899999297,
0.08333759899997517,
0.08110629099999755
],
"count": 10,
"total": 1.0632661199999518,
"mean": 0.10632661199999519,
"p50": 0.08205556599999397,
"p90": 0.19191749699998012,
"p95": 0.1974496214999931,
"p99": 0.20187532110000347,
"stdev": 0.04559911981411967,
"stdev_": 42.885895596975985
},
"throughput": {
"unit": "samples/s",
"value": 18.809966408034242
},
"energy": null,
"efficiency": null
}
}
}