
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b19f70f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 901.926912, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 0.9963252816200258, | |
"mean": 0.006686746856510239, | |
"stdev": 0.00034696511338081317, | |
"p50": 0.006628320217132568, | |
"p90": 0.0070234113693237316, | |
"p95": 0.007198515033721924, | |
"p99": 0.008007516098022463, | |
"values": [ | |
0.0073820161819458, | |
0.007085055828094483, | |
0.007203839778900147, | |
0.007160831928253173, | |
0.0071905279159545895, | |
0.007105535984039306, | |
0.007063551902770996, | |
0.006838272094726563, | |
0.00710041618347168, | |
0.00695091199874878, | |
0.007087071895599365, | |
0.006645760059356689, | |
0.0066344962120056155, | |
0.006677472114562989, | |
0.006551551818847656, | |
0.006566944122314453, | |
0.00653926420211792, | |
0.006582272052764892, | |
0.006689792156219483, | |
0.006643712043762207, | |
0.006647744178771973, | |
0.006756351947784424, | |
0.006595583915710449, | |
0.006628320217132568, | |
0.006706175804138184, | |
0.006657023906707763, | |
0.006632448196411133, | |
0.0066447358131408694, | |
0.006592576026916504, | |
0.006648831844329834, | |
0.006759424209594727, | |
0.006882304191589355, | |
0.006946815967559815, | |
0.006941696166992187, | |
0.006967296123504638, | |
0.006825984001159668, | |
0.006894591808319092, | |
0.006863872051239014, | |
0.006924287796020508, | |
0.006866943836212158, | |
0.006881279945373535, | |
0.006911968231201172, | |
0.006909952163696289, | |
0.006964223861694336, | |
0.006974463939666748, | |
0.006969344139099121, | |
0.006958079814910889, | |
0.006985727787017822, | |
0.006961152076721191, | |
0.006876160144805908, | |
0.006897696018218994, | |
0.006925375938415528, | |
0.007008255958557129, | |
0.006952960014343262, | |
0.00693452787399292, | |
0.006846464157104492, | |
0.006851583957672119, | |
0.006896639823913574, | |
0.006823935985565186, | |
0.006616064071655273, | |
0.006704160213470459, | |
0.006560800075531006, | |
0.0065669121742248536, | |
0.006622176170349121, | |
0.00658841609954834, | |
0.006671296119689941, | |
0.006618112087249756, | |
0.0066109437942504885, | |
0.006608895778656006, | |
0.006635519981384277, | |
0.0066744318008422855, | |
0.006730751991271973, | |
0.0066826238632202144, | |
0.006675456047058105, | |
0.006713344097137451, | |
0.006626304149627686, | |
0.006622208118438721, | |
0.006599679946899414, | |
0.0066078720092773435, | |
0.006563839912414551, | |
0.0065075201988220215, | |
0.006495232105255127, | |
0.006304768085479737, | |
0.006486015796661377, | |
0.006510591983795166, | |
0.006386688232421875, | |
0.006240255832672119, | |
0.006219808101654053, | |
0.006268928050994873, | |
0.0062873601913452145, | |
0.007457791805267334, | |
0.008028160095214844, | |
0.007985151767730713, | |
0.00812339210510254, | |
0.007683072090148926, | |
0.006884352207183838, | |
0.006801407814025879, | |
0.006623231887817383, | |
0.006642687797546387, | |
0.006656000137329102, | |
0.006574079990386963, | |
0.006593535900115967, | |
0.00658841609954834, | |
0.006554624080657959, | |
0.006597663879394531, | |
0.006584320068359375, | |
0.006525951862335205, | |
0.006597631931304931, | |
0.007356416225433349, | |
0.006848512172698974, | |
0.0065710082054138185, | |
0.006561791896820069, | |
0.006923264026641846, | |
0.007013376235961914, | |
0.0066109437942504885, | |
0.006523903846740723, | |
0.006652927875518798, | |
0.006489088058471679, | |
0.00648089599609375, | |
0.006418432235717773, | |
0.006492159843444824, | |
0.006451200008392334, | |
0.006440959930419922, | |
0.006448128223419189, | |
0.006423552036285401, | |
0.006466591835021972, | |
0.006395904064178467, | |
0.006416384220123291, | |
0.006432767868041992, | |
0.006348800182342529, | |
0.006181888103485108, | |
0.006150144100189209, | |
0.006170559883117676, | |
0.006174719810485839, | |
0.006180863857269287, | |
0.0061521921157836916, | |
0.006173696041107178, | |
0.0061859841346740725, | |
0.006140927791595459, | |
0.006187007904052734, | |
0.0061337599754333495, | |
0.0061552000045776364, | |
0.0063201279640197755, | |
0.0063805441856384275, | |
0.006433760166168213, | |
0.0063610877990722655, | |
0.006440959930419922, | |
0.006352896213531494, | |
0.006161407947540283 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.54955248924918 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.392807077588173e-08, | |
"ram": 4.022887235506284e-08, | |
"gpu": 1.3261052706832197e-07, | |
"total": 2.467674701992665e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4052397.989056227 | |
} | |
} | |
} | |
} |