IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
da77d90 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "5",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"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": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"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": true,
"device_isolation_action": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1105.75616,
"max_global_vram": 68702.69952,
"max_process_vram": 3942.33856,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.08019382476806641
],
"count": 1,
"total": 0.08019382476806641,
"mean": 0.08019382476806641,
"p50": 0.08019382476806641,
"p90": 0.08019382476806641,
"p95": 0.08019382476806641,
"p99": 0.08019382476806641,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1223.786496,
"max_global_vram": 68702.69952,
"max_process_vram": 261293.40416,
"max_reserved": 555.74528,
"max_allocated": 499.506688
},
"latency": {
"unit": "s",
"values": [
0.008770051002502442,
0.008007654190063477,
0.007992134094238282,
0.007992454051971435,
0.007962374210357667,
0.007987654209136963,
0.00804253387451172,
0.008023333549499512,
0.00798733377456665,
0.007985733985900878,
0.007986053943634034,
0.008008294105529785,
0.007982853889465333,
0.007985733985900878,
0.007998693943023681,
0.007984293937683105,
0.007952613830566406,
0.008009413719177245,
0.00799933385848999,
0.00801517391204834,
0.007982694149017333,
0.008013733863830566,
0.007997414112091065,
0.008011334419250489,
0.007999973773956299,
0.008047174453735352,
0.008032294273376464,
0.007986053943634034,
0.008008934020996094,
0.008033574104309082,
0.00794125509262085,
0.00801421356201172,
0.008039813995361328,
0.008077733993530274,
0.008061413764953613,
0.008010053634643554,
0.007996774196624756,
0.008002214431762696,
0.008016453742980958,
0.00797997522354126,
0.007981894016265869,
0.007994053840637207,
0.007993894100189209,
0.007967974185943603,
0.008004294395446778,
0.008019333839416503,
0.007983813762664795,
0.007969573974609375,
0.008002694129943849,
0.007977253913879394,
0.008188933372497558,
0.007990533828735352,
0.007988133907318114,
0.007939653873443604,
0.007998854160308837,
0.007978854179382324,
0.00797149419784546,
0.007967335224151611,
0.007941895008087159,
0.007977253913879394,
0.007957734107971192,
0.007934854030609131,
0.0079266939163208,
0.00807197380065918,
0.007977893829345703,
0.007967974185943603,
0.007948294162750244,
0.008007973670959472,
0.008039493560791016,
0.007985894203186034,
0.007983813762664795,
0.008076133728027344,
0.007970054149627686,
0.007998854160308837,
0.007988614082336426,
0.00799933385848999,
0.007994534015655518,
0.00796973419189453,
0.008068453788757325,
0.00806765365600586,
0.008012774467468262,
0.00807085418701172,
0.008028453826904296,
0.007978854179382324,
0.008024133682250977,
0.008005093574523926,
0.008018854141235352,
0.00804301357269287,
0.007997414112091065,
0.008022693634033204,
0.008016934394836426,
0.00800749397277832,
0.00800861358642578,
0.007985414981842041,
0.008070532798767089,
0.007991494178771973,
0.008043334007263184,
0.007989893913269043,
0.00799277400970459,
0.007995654106140136,
0.007955813884735107,
0.007979333877563477,
0.007996453762054443,
0.007982853889465333,
0.007963973999023438,
0.007975014209747314,
0.007965894222259521,
0.007976774215698243,
0.007976774215698243,
0.007965734004974365,
0.007976613998413085,
0.008014533996582031,
0.007953094005584718,
0.008003653526306153,
0.007970213890075684,
0.00802125358581543,
0.007951175212860108,
0.007963815212249755,
0.008034374237060547,
0.007992134094238282,
0.007988294124603272,
0.00800477409362793,
0.007969095230102538,
0.007989415168762207,
0.007989574909210205
],
"count": 125,
"total": 1.0005653944015502,
"mean": 0.008004523155212401,
"p50": 0.00799277400970459,
"p90": 0.00804282169342041,
"p95": 0.008070116996765136,
"p99": 0.00816224552154541,
"stdev": 7.71965472807841e-05,
"stdev_": 0.9644115681084025
},
"throughput": {
"unit": "samples/s",
"value": 124.92936563608015
},
"energy": null,
"efficiency": null
}
}
}