
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1602174
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.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.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.925248, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.2914736328125, | |
"mean": 7.2914736328125, | |
"stdev": 0.0, | |
"p50": 7.2914736328125, | |
"p90": 7.2914736328125, | |
"p95": 7.2914736328125, | |
"p99": 7.2914736328125, | |
"values": [ | |
7.2914736328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0596899522675408e-06, | |
"ram": 5.65390900576972e-07, | |
"gpu": 1.7063902539998788e-06, | |
"total": 3.3314711068443913e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 913.063936, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 1.0016733760833745, | |
"mean": 0.006504372571969961, | |
"stdev": 0.000258853558586795, | |
"p50": 0.006520832061767578, | |
"p90": 0.006736588764190674, | |
"p95": 0.006814156627655029, | |
"p99": 0.007503933210372924, | |
"values": [ | |
0.0067645440101623535, | |
0.0067358717918396, | |
0.006767615795135498, | |
0.006770688056945801, | |
0.006758399963378906, | |
0.00673689603805542, | |
0.006749216079711914, | |
0.006721536159515381, | |
0.006686719894409179, | |
0.006591487884521485, | |
0.006567935943603515, | |
0.006569983959197998, | |
0.006999904155731201, | |
0.006776800155639648, | |
0.006709311962127686, | |
0.006532095909118653, | |
0.006561791896820069, | |
0.006616064071655273, | |
0.006621183872222901, | |
0.006626239776611328, | |
0.006595583915710449, | |
0.006628352165222168, | |
0.006524896144866944, | |
0.006558623790740967, | |
0.006683648109436035, | |
0.006631423950195312, | |
0.0066979842185974124, | |
0.006666240215301514, | |
0.006605823993682861, | |
0.006561791896820069, | |
0.006589439868927002, | |
0.006609920024871826, | |
0.0066078720092773435, | |
0.0066416640281677245, | |
0.006507487773895264, | |
0.006464511871337891, | |
0.006479872226715088, | |
0.00641542387008667, | |
0.006458367824554443, | |
0.006524928092956543, | |
0.00657203197479248, | |
0.0065382399559021, | |
0.0065812478065490725, | |
0.006652927875518798, | |
0.006872064113616944, | |
0.006900735855102539, | |
0.006845439910888672, | |
0.006582272052764892, | |
0.006520832061767578, | |
0.006529024124145508, | |
0.006589439868927002, | |
0.006510591983795166, | |
0.00657919979095459, | |
0.006562816143035889, | |
0.006526976108551025, | |
0.006495296001434326, | |
0.0065372161865234375, | |
0.006515711784362793, | |
0.006552576065063476, | |
0.006683648109436035, | |
0.006557695865631104, | |
0.0065443840026855465, | |
0.00657919979095459, | |
0.006545407772064209, | |
0.006556672096252441, | |
0.006501376152038574, | |
0.006546432018280029, | |
0.0065781760215759275, | |
0.006649856090545654, | |
0.006643712043762207, | |
0.0066344962120056155, | |
0.006622208118438721, | |
0.006618112087249756, | |
0.006562816143035889, | |
0.006536191940307618, | |
0.006509568214416504, | |
0.006494207859039307, | |
0.006520832061767578, | |
0.006676479816436768, | |
0.006713344097137451, | |
0.006354944229125976, | |
0.006367231845855713, | |
0.006504447937011719, | |
0.0064839677810668945, | |
0.006323200225830078, | |
0.006174719810485839, | |
0.006205440044403076, | |
0.006207488059997559, | |
0.0064204797744750975, | |
0.006731776237487793, | |
0.006726655960083008, | |
0.00670307207107544, | |
0.006797311782836914, | |
0.006949888229370117, | |
0.00791756820678711, | |
0.007820288181304931, | |
0.007223392009735107, | |
0.006407008171081543, | |
0.0064143362045288085, | |
0.006412288188934326, | |
0.006462463855743408, | |
0.006386688232421875, | |
0.0064245758056640625, | |
0.00643071985244751, | |
0.006408192157745361, | |
0.006458303928375244, | |
0.006593535900115967, | |
0.006401023864746094, | |
0.006433792114257812, | |
0.006368256092071533, | |
0.006408192157745361, | |
0.006369279861450195, | |
0.006376448154449463, | |
0.0064204797744750975, | |
0.006405119895935059, | |
0.006418432235717773, | |
0.00638156795501709, | |
0.006408192157745361, | |
0.0062044157981872555, | |
0.006174719810485839, | |
0.006190080165863037, | |
0.006172671794891358, | |
0.006196224212646485, | |
0.006174719810485839, | |
0.006213632106781006, | |
0.006184959888458252, | |
0.006164480209350586, | |
0.006136832237243653, | |
0.006168575763702393, | |
0.006195199966430664, | |
0.006155263900756836, | |
0.006198272228240966, | |
0.006173696041107178, | |
0.006171648025512695, | |
0.006164480209350586, | |
0.006181888103485108, | |
0.0062197761535644535, | |
0.006153215885162353, | |
0.006211584091186524, | |
0.006145023822784424, | |
0.006164480209350586, | |
0.006162432193756104, | |
0.006178815841674804, | |
0.0061521921157836916, | |
0.006161407947540283, | |
0.006142975807189942, | |
0.006168575763702393, | |
0.006500351905822754, | |
0.006369279861450195, | |
0.006409215927124024, | |
0.00637337589263916, | |
0.006392831802368164, | |
0.006432767868041992, | |
0.006354944229125976 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.74273059163534 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.645594710517529e-08, | |
"ram": 4.177863195114105e-08, | |
"gpu": 1.4492663923871212e-07, | |
"total": 2.6316121829502846e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3799952.0084259 | |
} | |
} | |
} | |
} |