
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
485d725
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 914.046976, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9956279664039612, | |
"mean": 0.007320793870617362, | |
"stdev": 0.00030853858577039624, | |
"p50": 0.0072934401035308835, | |
"p90": 0.007656447887420655, | |
"p95": 0.007738623976707458, | |
"p99": 0.007865446376800537, | |
"values": [ | |
0.008058879852294922, | |
0.007671807765960693, | |
0.007856128215789794, | |
0.007870463848114014, | |
0.007785439968109131, | |
0.0077844481468200685, | |
0.007797760009765625, | |
0.0077578239440917966, | |
0.007732223987579345, | |
0.007700479984283447, | |
0.007613440036773681, | |
0.007615488052368164, | |
0.007546879768371582, | |
0.007498752117156982, | |
0.007568384170532226, | |
0.007556096076965332, | |
0.0076360001564025875, | |
0.007640063762664795, | |
0.007617536067962646, | |
0.007606272220611572, | |
0.007551936149597168, | |
0.007642111778259277, | |
0.0076687359809875484, | |
0.007636928081512452, | |
0.007614463806152344, | |
0.007654399871826172, | |
0.0076277761459350585, | |
0.007581696033477783, | |
0.0076277761459350585, | |
0.007658495903015137, | |
0.007611392021179199, | |
0.0075632638931274416, | |
0.00753868818283081, | |
0.007627840042114258, | |
0.007624703884124756, | |
0.007531519889831543, | |
0.007618591785430908, | |
0.007602176189422607, | |
0.007618559837341309, | |
0.007699456214904785, | |
0.007628799915313721, | |
0.00764518404006958, | |
0.007575551986694336, | |
0.007540736198425293, | |
0.007561215877532959, | |
0.007639039993286132, | |
0.0075632638931274416, | |
0.007588831901550293, | |
0.00760211181640625, | |
0.0074967041015625, | |
0.007513088226318359, | |
0.007486464023590088, | |
0.0072837119102478025, | |
0.007434239864349365, | |
0.007155712127685547, | |
0.0071823358535766605, | |
0.007219200134277344, | |
0.007247871875762939, | |
0.007233535766601563, | |
0.007233535766601563, | |
0.007290880203247071, | |
0.007427072048187256, | |
0.007358463764190673, | |
0.007373824119567871, | |
0.007373824119567871, | |
0.007300127983093261, | |
0.007235583782196045, | |
0.007260159969329834, | |
0.007202847957611084, | |
0.007291903972625732, | |
0.0072325119972229, | |
0.007214079856872559, | |
0.007113728046417236, | |
0.007013376235961914, | |
0.007175168037414551, | |
0.007580671787261963, | |
0.0073155198097229, | |
0.007151616096496582, | |
0.00724889612197876, | |
0.007266304016113281, | |
0.007402495861053467, | |
0.007511040210723877, | |
0.007521279811859131, | |
0.007616511821746826, | |
0.007658495903015137, | |
0.007475200176239013, | |
0.00729804801940918, | |
0.007260159969329834, | |
0.007266304016113281, | |
0.007294976234436036, | |
0.007280640125274658, | |
0.007171072006225586, | |
0.007195648193359375, | |
0.007228415966033935, | |
0.007206912040710449, | |
0.007151616096496582, | |
0.007150591850280762, | |
0.007194623947143554, | |
0.0071526398658752445, | |
0.007185408115386963, | |
0.007196671962738037, | |
0.007163904190063477, | |
0.0071485118865966795, | |
0.00723967981338501, | |
0.0068884482383728025, | |
0.006883327960968018, | |
0.006871039867401123, | |
0.006894559860229492, | |
0.006860799789428711, | |
0.006854656219482422, | |
0.006873087882995605, | |
0.006851583957672119, | |
0.006887423992156983, | |
0.006863872051239014, | |
0.006864895820617676, | |
0.006879231929779053, | |
0.006875135898590088, | |
0.0068853759765625, | |
0.007066624164581299, | |
0.00693555212020874, | |
0.006874112129211426, | |
0.006875135898590088, | |
0.006925343990325928, | |
0.006887423992156983, | |
0.006840320110321045, | |
0.006868959903717041, | |
0.00689356803894043, | |
0.006819839954376221, | |
0.006866943836212158, | |
0.006889472007751465, | |
0.006870016098022461, | |
0.006860799789428711, | |
0.006887423992156983, | |
0.006849535942077637, | |
0.006858751773834228, | |
0.006881279945373535 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.59720758066777 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.115319032517691e-08, | |
"ram": 4.426606054076884e-08, | |
"gpu": 1.5585235446257967e-07, | |
"total": 2.812716053285254e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3555282.4425060586 | |
} | |
} | |
} | |
} |