IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8853cc8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 955.37152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46054.899712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.9612412109375, | |
"mean": 7.9612412109375, | |
"stdev": 0.0, | |
"p50": 7.9612412109375, | |
"p90": 7.9612412109375, | |
"p95": 7.9612412109375, | |
"p99": 7.9612412109375, | |
"values": [ | |
7.9612412109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.697408, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 234111.123456, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9961052231788636, | |
"mean": 0.007603856665487509, | |
"stdev": 0.0004265459507820425, | |
"p50": 0.007486896991729736, | |
"p90": 0.008199698448181152, | |
"p95": 0.008340418338775635, | |
"p99": 0.00857651443481445, | |
"values": [ | |
0.008021777153015136, | |
0.007926416873931886, | |
0.007594417095184327, | |
0.0072937760353088375, | |
0.007413296222686767, | |
0.007285776138305664, | |
0.007247536182403564, | |
0.007554896831512451, | |
0.008662578582763671, | |
0.007443535804748535, | |
0.00760785722732544, | |
0.007505775928497315, | |
0.0075635361671447755, | |
0.007335536003112793, | |
0.007705457210540771, | |
0.00767937707901001, | |
0.007368656158447265, | |
0.007850098133087157, | |
0.007745616912841797, | |
0.00742577600479126, | |
0.007508176803588867, | |
0.0074099359512329105, | |
0.007325615882873535, | |
0.0077107372283935546, | |
0.007360176086425781, | |
0.007600337028503418, | |
0.007743536949157715, | |
0.007393136024475098, | |
0.0071633758544921875, | |
0.007995378017425538, | |
0.0081176176071167, | |
0.008199698448181152, | |
0.00813937759399414, | |
0.00815137767791748, | |
0.00812721824645996, | |
0.008158098220825196, | |
0.00813777732849121, | |
0.00814993667602539, | |
0.008169297218322755, | |
0.00837569808959961, | |
0.008165457725524902, | |
0.008328337669372559, | |
0.008372499465942382, | |
0.008357297897338868, | |
0.008302417755126953, | |
0.008255698204040528, | |
0.008290098190307618, | |
0.008340818405151367, | |
0.008364978790283204, | |
0.008340018272399902, | |
0.008292338371276856, | |
0.009305139541625977, | |
0.008039697647094727, | |
0.00798401689529419, | |
0.008004817962646484, | |
0.00801761817932129, | |
0.008003856658935547, | |
0.00796577787399292, | |
0.007941297054290771, | |
0.007944337844848633, | |
0.00747489595413208, | |
0.007304975986480713, | |
0.0072344160079956055, | |
0.007236495971679687, | |
0.0071824159622192385, | |
0.007302256107330323, | |
0.007233615875244141, | |
0.007175856113433838, | |
0.007179696083068848, | |
0.007356815814971924, | |
0.007478256225585938, | |
0.00723473596572876, | |
0.007482097148895263, | |
0.007245456218719483, | |
0.0072345762252807614, | |
0.0074876961708068845, | |
0.007244976043701172, | |
0.007231855869293213, | |
0.0074337759017944335, | |
0.0072987360954284665, | |
0.0075212960243225095, | |
0.007277616024017334, | |
0.007147696018218994, | |
0.0071203351020812985, | |
0.007130895137786865, | |
0.007273615837097168, | |
0.0072508959770202636, | |
0.007359055995941162, | |
0.007612977027893066, | |
0.007435697078704834, | |
0.007696656227111817, | |
0.007633296012878418, | |
0.007731216907501221, | |
0.0072632160186767575, | |
0.007249616146087647, | |
0.007459696769714356, | |
0.007401616096496582, | |
0.0072864160537719725, | |
0.007118095874786377, | |
0.007119854927062988, | |
0.007117135047912598, | |
0.007134096145629883, | |
0.00714737606048584, | |
0.0072076950073242186, | |
0.007109775066375733, | |
0.00731601619720459, | |
0.008031377792358399, | |
0.008019218444824219, | |
0.00798721694946289, | |
0.007677617073059082, | |
0.007495216846466065, | |
0.007550415992736817, | |
0.007553136825561523, | |
0.007124015808105469, | |
0.007525135993957519, | |
0.008045297622680664, | |
0.007475215911865235, | |
0.007486896991729736, | |
0.007596336841583252, | |
0.007579216003417969, | |
0.007541457176208496, | |
0.007117136001586914, | |
0.007163693904876709, | |
0.007150735855102539, | |
0.007136816024780273, | |
0.007164656162261963, | |
0.007167695045471191, | |
0.007138415813446045, | |
0.007142576217651367, | |
0.007120336055755615, | |
0.007155216217041015 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.5122107099696 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |