
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
310e3bd
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.799936, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 1.0007560625076295, | |
"mean": 0.006716483640990801, | |
"stdev": 0.00018596376521888165, | |
"p50": 0.0066406397819519045, | |
"p90": 0.00695745906829834, | |
"p95": 0.007035699272155762, | |
"p99": 0.007153336181640626, | |
"values": [ | |
0.007393280029296875, | |
0.0070891518592834475, | |
0.007194623947143554, | |
0.007108607769012451, | |
0.0068351998329162595, | |
0.0068055038452148435, | |
0.006815711975097657, | |
0.006749184131622315, | |
0.006617087841033936, | |
0.006599679946899414, | |
0.006721536159515381, | |
0.006937600135803222, | |
0.006948863983154297, | |
0.0069253120422363285, | |
0.006831103801727295, | |
0.0068392958641052244, | |
0.006907904148101806, | |
0.006917119979858399, | |
0.006852672100067138, | |
0.006973440170288086, | |
0.006953983783721924, | |
0.00694271993637085, | |
0.0066007041931152345, | |
0.006635519981384277, | |
0.0065710082054138185, | |
0.006616064071655273, | |
0.006659071922302246, | |
0.0066406397819519045, | |
0.0065965762138366696, | |
0.006661119937896728, | |
0.006614016056060791, | |
0.006545407772064209, | |
0.0068577280044555666, | |
0.006963168144226074, | |
0.006615039825439453, | |
0.006588319778442383, | |
0.006497312068939209, | |
0.006430751800537109, | |
0.006515711784362793, | |
0.006532095909118653, | |
0.006559743881225586, | |
0.006625343799591064, | |
0.006633471965789795, | |
0.00654640007019043, | |
0.006654975891113281, | |
0.006688767910003662, | |
0.006628352165222168, | |
0.006657023906707763, | |
0.0066304001808166506, | |
0.006584320068359375, | |
0.006567935943603515, | |
0.006648831844329834, | |
0.006643712043762207, | |
0.006647808074951172, | |
0.0066375679969787596, | |
0.007041024208068848, | |
0.006913023948669434, | |
0.006864895820617676, | |
0.006915071964263916, | |
0.006903808116912841, | |
0.006947840213775635, | |
0.007061503887176514, | |
0.006930431842803955, | |
0.006834176063537598, | |
0.0069324798583984375, | |
0.0070225920677185055, | |
0.00684441614151001, | |
0.006860799789428711, | |
0.006956031799316406, | |
0.006918144226074219, | |
0.006948863983154297, | |
0.007047167778015137, | |
0.007027711868286133, | |
0.007011328220367432, | |
0.007022496223449707, | |
0.0068915200233459475, | |
0.00693555212020874, | |
0.006946815967559815, | |
0.006810624122619629, | |
0.006977536201477051, | |
0.00690176010131836, | |
0.0068321280479431154, | |
0.0066119680404663084, | |
0.006774784088134766, | |
0.006880256175994873, | |
0.006676479816436768, | |
0.006598656177520752, | |
0.006562816143035889, | |
0.0065443840026855465, | |
0.006797311782836914, | |
0.0068055038452148435, | |
0.00673689603805542, | |
0.006862847805023193, | |
0.0069253120422363285, | |
0.007061503887176514, | |
0.006905856132507324, | |
0.006737919807434082, | |
0.006656000137329102, | |
0.006617087841033936, | |
0.006665215969085693, | |
0.006660096168518067, | |
0.006627327919006347, | |
0.00672051191329956, | |
0.006568960189819336, | |
0.006556672096252441, | |
0.00658739185333252, | |
0.00653107213973999, | |
0.006519807815551758, | |
0.00657919979095459, | |
0.006568960189819336, | |
0.0066007041931152345, | |
0.006554624080657959, | |
0.0066119999885559085, | |
0.006527999877929688, | |
0.0065372161865234375, | |
0.006659039974212647, | |
0.0065382399559021, | |
0.006527999877929688, | |
0.006569983959197998, | |
0.006774784088134766, | |
0.006527999877929688, | |
0.00653110408782959, | |
0.006575104236602783, | |
0.006532095909118653, | |
0.0065146880149841305, | |
0.006572095870971679, | |
0.0065484800338745115, | |
0.006504415988922119, | |
0.0065443840026855465, | |
0.006591487884521485, | |
0.006540287971496582, | |
0.006567935943603515, | |
0.00657203197479248, | |
0.0065259838104248045, | |
0.0065443840026855465, | |
0.006555583953857422, | |
0.006562816143035889, | |
0.006519807815551758, | |
0.006558720111846924, | |
0.006550528049468994, | |
0.006565887928009034, | |
0.006533120155334473, | |
0.0065474557876586915, | |
0.006512639999389648, | |
0.006532095909118653, | |
0.006559743881225586, | |
0.006516736030578613, | |
0.006540224075317382, | |
0.006510591983795166 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.88743179496262 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.721671853402649e-08, | |
"ram": 4.221157569190837e-08, | |
"gpu": 1.3943373348050915e-07, | |
"total": 2.58862027706444e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3863061.7586524705 | |
} | |
} | |
} | |
} |