
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
766df33
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": {}, | |
"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": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.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": 799.1296, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.97553564453125, | |
"mean": 7.97553564453125, | |
"stdev": 0.0, | |
"p50": 7.97553564453125, | |
"p90": 7.97553564453125, | |
"p95": 7.97553564453125, | |
"p99": 7.97553564453125, | |
"values": [ | |
7.97553564453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.4981868333338437e-06, | |
"ram": 1.3492345056710033e-06, | |
"gpu": 3.463891659999732e-06, | |
"total": 7.311312999004579e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.531904, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.0003816938400272, | |
"mean": 0.006581458512105439, | |
"stdev": 0.00015510952199519098, | |
"p50": 0.006542336225509643, | |
"p90": 0.00678758397102356, | |
"p95": 0.006850494503974914, | |
"p99": 0.007031941146850586, | |
"values": [ | |
0.007013376235961914, | |
0.006872064113616944, | |
0.0068986878395080565, | |
0.006788095951080322, | |
0.006832064151763916, | |
0.006867936134338379, | |
0.007624703884124756, | |
0.006509568214416504, | |
0.006644703865051269, | |
0.006659071922302246, | |
0.006577184200286865, | |
0.006717408180236816, | |
0.006586368083953857, | |
0.0065903358459472655, | |
0.006529024124145508, | |
0.006496255874633789, | |
0.0064737281799316405, | |
0.00648089599609375, | |
0.0064776320457458495, | |
0.006450175762176514, | |
0.006537248134613037, | |
0.0064336638450622555, | |
0.006494207859039307, | |
0.006549503803253174, | |
0.006429696083068847, | |
0.006533120155334473, | |
0.006469632148742676, | |
0.006518784046173095, | |
0.006530079841613769, | |
0.006421504020690918, | |
0.0064839677810668945, | |
0.0064143362045288085, | |
0.006430655956268311, | |
0.0065064959526062015, | |
0.006496223926544189, | |
0.006466559886932373, | |
0.006508543968200684, | |
0.00652288007736206, | |
0.006398816108703614, | |
0.006475840091705322, | |
0.006428671836853027, | |
0.0064245758056640625, | |
0.006518784046173095, | |
0.006437888145446777, | |
0.006554624080657959, | |
0.006481919765472412, | |
0.006474751949310303, | |
0.006515711784362793, | |
0.00643071985244751, | |
0.006502399921417237, | |
0.006490111827850342, | |
0.006491136074066162, | |
0.0065443840026855465, | |
0.00642252779006958, | |
0.0064982399940490725, | |
0.0064737281799316405, | |
0.006523903846740723, | |
0.006638591766357422, | |
0.0066375679969787596, | |
0.006659071922302246, | |
0.0069253120422363285, | |
0.00683622407913208, | |
0.006795199871063232, | |
0.007051263809204102, | |
0.006795263767242431, | |
0.006670335769653321, | |
0.006650879859924317, | |
0.00672051191329956, | |
0.006699071884155273, | |
0.006677504062652588, | |
0.0066078720092773435, | |
0.006639679908752441, | |
0.006605823993682861, | |
0.006554624080657959, | |
0.006606847763061524, | |
0.006398975849151611, | |
0.006489088058471679, | |
0.006442944049835205, | |
0.00643993616104126, | |
0.006574079990386963, | |
0.006416384220123291, | |
0.006537087917327881, | |
0.006494207859039307, | |
0.006504447937011719, | |
0.006534143924713135, | |
0.0064542717933654785, | |
0.006486015796661377, | |
0.00648089599609375, | |
0.006449151992797852, | |
0.006495232105255127, | |
0.00647276782989502, | |
0.006432767868041992, | |
0.006478847980499268, | |
0.006585343837738037, | |
0.00643891191482544, | |
0.006466559886932373, | |
0.006486015796661377, | |
0.006429696083068847, | |
0.006467584133148193, | |
0.006435840129852295, | |
0.00657203197479248, | |
0.006582272052764892, | |
0.0065413122177124024, | |
0.006782976150512696, | |
0.006814720153808594, | |
0.006659071922302246, | |
0.006642687797546387, | |
0.006535168170928955, | |
0.006594560146331787, | |
0.006555744171142578, | |
0.006598656177520752, | |
0.006560768127441406, | |
0.006633471965789795, | |
0.006999040126800537, | |
0.006675456047058105, | |
0.006706175804138184, | |
0.006790175914764405, | |
0.006583295822143555, | |
0.006656000137329102, | |
0.006635519981384277, | |
0.006652927875518798, | |
0.0066641921997070315, | |
0.006589439868927002, | |
0.006576096057891846, | |
0.006562816143035889, | |
0.006684671878814697, | |
0.00658131217956543, | |
0.006592512130737305, | |
0.006562816143035889, | |
0.006485119819641113, | |
0.006631423950195312, | |
0.0067338237762451176, | |
0.006391808032989502, | |
0.00658739185333252, | |
0.006526976108551025, | |
0.006543360233306885, | |
0.006504447937011719, | |
0.0065155520439147945, | |
0.00658022403717041, | |
0.006527999877929688, | |
0.0067338237762451176, | |
0.00653107213973999, | |
0.006711296081542969, | |
0.006532095909118653, | |
0.00653004789352417, | |
0.006573056221008301, | |
0.006489088058471679, | |
0.006799359798431396, | |
0.006595583915710449, | |
0.00658022403717041, | |
0.00655456018447876, | |
0.006549503803253174 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.94200467277508 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.430849059896143e-08, | |
"ram": 4.060615357119297e-08, | |
"gpu": 1.408681682499996e-07, | |
"total": 2.55782812420154e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3909566.833432811 | |
} | |
} | |
} | |
} |