IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7fe64a8
verified
{ | |
"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": "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": 1082014.482432, | |
"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", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1104.77312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3413.180416, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0649034423828125 | |
], | |
"count": 1, | |
"total": 0.0649034423828125, | |
"mean": 0.0649034423828125, | |
"p50": 0.0649034423828125, | |
"p90": 0.0649034423828125, | |
"p95": 0.0649034423828125, | |
"p99": 0.0649034423828125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1222.631424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 252055.339008, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007379209995269776, | |
0.007084009170532227, | |
0.007116808891296387, | |
0.007025289058685303, | |
0.007060328960418701, | |
0.007072488784790039, | |
0.007115368843078613, | |
0.007109128952026368, | |
0.007083209037780762, | |
0.00703984785079956, | |
0.0070339288711547855, | |
0.007082569122314453, | |
0.007082728862762451, | |
0.0070934491157531735, | |
0.007072809219360351, | |
0.007080489158630371, | |
0.007096649169921875, | |
0.00709968900680542, | |
0.007077768802642822, | |
0.0071121687889099125, | |
0.007077128887176514, | |
0.007077448844909668, | |
0.007092488765716553, | |
0.00710400915145874, | |
0.007089448928833008, | |
0.0070694489479064945, | |
0.007088169097900391, | |
0.007078089237213135, | |
0.007109448909759521, | |
0.007242888927459717, | |
0.0070572891235351565, | |
0.007073608875274659, | |
0.007093928813934326, | |
0.007132968902587891, | |
0.00711168909072876, | |
0.007075048923492431, | |
0.0071302490234375, | |
0.0071075291633605955, | |
0.00712976884841919, | |
0.007044329166412354, | |
0.0070982489585876465, | |
0.007080968856811524, | |
0.007082728862762451, | |
0.007101449012756347, | |
0.007088969230651856, | |
0.007096488952636718, | |
0.007136969089508056, | |
0.007125769138336182, | |
0.007074409008026123, | |
0.007070728778839111, | |
0.007256168842315674, | |
0.007068327903747559, | |
0.007066888809204102, | |
0.00748160982131958, | |
0.0074468889236450194, | |
0.007443210124969482, | |
0.007385768890380859, | |
0.007474730014801026, | |
0.0074867291450500485, | |
0.007609610080718994, | |
0.007432969093322754, | |
0.0074638500213623045, | |
0.007307048797607422, | |
0.007702569961547851, | |
0.007299688816070557, | |
0.007459528923034668, | |
0.007149929046630859, | |
0.00719168996810913, | |
0.007264809131622314, | |
0.007504969120025635, | |
0.00796304988861084, | |
0.008035850524902344, | |
0.007982250213623046, | |
0.007774089813232422, | |
0.007770089149475098, | |
0.007808489799499512, | |
0.0077219300270080565, | |
0.007496650218963623, | |
0.007500968933105469, | |
0.007524010181427002, | |
0.007399528980255127, | |
0.007568009853363037, | |
0.007337288856506348, | |
0.007769450187683106, | |
0.007786250114440918, | |
0.0077979288101196285, | |
0.007791049003601074, | |
0.007767370223999023, | |
0.007768970012664795, | |
0.007768010139465332, | |
0.007150888919830322, | |
0.007171848773956299, | |
0.007160648822784423, | |
0.007142408847808838, | |
0.007175689220428467, | |
0.007189929962158203, | |
0.007107209205627441, | |
0.007082249164581299, | |
0.0070281682014465335, | |
0.006853448867797852, | |
0.006861289024353027, | |
0.006856647968292237, | |
0.0068648080825805665, | |
0.006848009109497071, | |
0.006851048946380616, | |
0.006843048095703125, | |
0.006869129180908203, | |
0.006853128910064697, | |
0.006861447811126709, | |
0.006844648838043213, | |
0.006844809055328369, | |
0.006844967842102051, | |
0.006826249122619629, | |
0.006840009212493897, | |
0.0068464078903198245, | |
0.006846728801727295, | |
0.0068224091529846195, | |
0.006853608131408692, | |
0.006873768806457519, | |
0.00684032917022705, | |
0.006870567798614502, | |
0.006865609169006348, | |
0.006860649108886719, | |
0.0068396878242492675, | |
0.006851048946380616, | |
0.0068352088928222655, | |
0.006825928211212158, | |
0.006813609123229981, | |
0.006852169036865235, | |
0.006816487789154052, | |
0.006832969188690185, | |
0.00684912919998169, | |
0.006881288051605225, | |
0.00682944917678833, | |
0.006844968795776367, | |
0.006844967842102051, | |
0.006842888832092285, | |
0.006793289184570312, | |
0.006840328216552735, | |
0.006823847770690918 | |
], | |
"count": 140, | |
"total": 1.0015569448471073, | |
"mean": 0.007153978177479337, | |
"p50": 0.007088569164276123, | |
"p90": 0.007704505968093872, | |
"p95": 0.007774697828292846, | |
"p99": 0.007974762086868285, | |
"stdev": 0.0003020014244754276, | |
"stdev_": 4.221447381907391 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.78236656466072 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |