IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f660aef
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "b0801269b3611e452bb077a62163b08a99ceb2a9", | |
"transformers_version": "4.42.4", | |
"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": 902.713344, | |
"max_global_vram": 1675.01824, | |
"max_process_vram": 45164.511232, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.29639013671875, | |
"mean": 7.29639013671875, | |
"stdev": 0.0, | |
"p50": 7.29639013671875, | |
"p90": 7.29639013671875, | |
"p95": 7.29639013671875, | |
"p99": 7.29639013671875, | |
"values": [ | |
7.29639013671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.610816, | |
"max_global_vram": 1730.195456, | |
"max_process_vram": 204713.791488, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9982697691917419, | |
"mean": 0.0073402188911157506, | |
"stdev": 0.0003673858215198105, | |
"p50": 0.007211207866668701, | |
"p90": 0.007759848594665527, | |
"p95": 0.00786880886554718, | |
"p99": 0.00801137704849243, | |
"values": [ | |
0.008003369331359863, | |
0.00778144884109497, | |
0.007821609020233154, | |
0.007846408843994141, | |
0.007811688899993897, | |
0.0077492880821228025, | |
0.00778144884109497, | |
0.0076780891418457035, | |
0.0077472090721130375, | |
0.007539048194885254, | |
0.007526409149169922, | |
0.007497447967529297, | |
0.007430088996887207, | |
0.007356328010559082, | |
0.007414089202880859, | |
0.007394728183746338, | |
0.007377288818359375, | |
0.007447368144989014, | |
0.007393127918243409, | |
0.007372488975524902, | |
0.007285287857055664, | |
0.007322567939758301, | |
0.0073147292137146, | |
0.007349768161773682, | |
0.0073484878540039066, | |
0.007376488208770752, | |
0.00734608793258667, | |
0.007288649082183838, | |
0.00731824779510498, | |
0.007298247814178467, | |
0.007322887897491455, | |
0.007206247806549072, | |
0.007274727821350097, | |
0.010546571731567382, | |
0.007770409107208252, | |
0.007109288215637207, | |
0.007099048137664795, | |
0.007072648048400879, | |
0.007127208232879639, | |
0.007110407829284668, | |
0.007004327774047851, | |
0.007038248062133789, | |
0.007090888023376465, | |
0.007495048999786377, | |
0.007481287956237793, | |
0.007479528903961182, | |
0.007421768188476562, | |
0.00731264877319336, | |
0.00711024808883667, | |
0.0072513680458068846, | |
0.00711680793762207, | |
0.007104328155517578, | |
0.007276487827301025, | |
0.0076451292037963865, | |
0.007640169143676758, | |
0.007452807903289795, | |
0.007435049057006836, | |
0.007280968189239502, | |
0.007192488193511963, | |
0.00711248779296875, | |
0.007153927803039551, | |
0.007140809059143066, | |
0.007141128063201905, | |
0.007311528205871582, | |
0.007049287796020508, | |
0.007124328136444092, | |
0.007144807815551758, | |
0.007138887882232666, | |
0.00713536787033081, | |
0.007114888191223145, | |
0.007118408203125, | |
0.00711632776260376, | |
0.007164167881011963, | |
0.007130568027496338, | |
0.0071828880310058595, | |
0.007132487773895264, | |
0.0071044878959655765, | |
0.0071216092109680175, | |
0.0071780881881713865, | |
0.007131847858428955, | |
0.007161608219146728, | |
0.00721616792678833, | |
0.007139527797698974, | |
0.007168488025665283, | |
0.007117128849029541, | |
0.007129928112030029, | |
0.007109288215637207, | |
0.007349927902221679, | |
0.007175367832183838, | |
0.007205128192901611, | |
0.007171369075775146, | |
0.007180007934570312, | |
0.00714848804473877, | |
0.007115848064422607, | |
0.0071302480697631836, | |
0.007168488025665283, | |
0.007148168087005615, | |
0.007143688201904297, | |
0.007163047790527344, | |
0.0071828880310058595, | |
0.007578248023986816, | |
0.0079740891456604, | |
0.008015688896179199, | |
0.007936008930206299, | |
0.007966729164123535, | |
0.00794304895401001, | |
0.007548488140106201, | |
0.007418889045715332, | |
0.007416967868804932, | |
0.00756480884552002, | |
0.007397287845611572, | |
0.007387208938598633, | |
0.0074622478485107425, | |
0.007124807834625244, | |
0.007104008197784424, | |
0.007094247817993164, | |
0.007088007926940918, | |
0.007113287925720215, | |
0.0071094479560852054, | |
0.0070835280418396, | |
0.0071137681007385255, | |
0.007086567878723145, | |
0.00734272813796997, | |
0.0071564879417419435, | |
0.007158409118652344, | |
0.007165927886962891, | |
0.007382408142089843, | |
0.007171048164367676, | |
0.007120488166809082, | |
0.007129448890686035, | |
0.0071315279006958, | |
0.007167047977447509, | |
0.007334248065948486, | |
0.007401128768920898, | |
0.007316328048706054, | |
0.007805448055267334 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.23571923861184 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |