
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3bfe7f4
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", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.548928, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 155, | |
"total": 0.9976646361351016, | |
"mean": 0.006436546039581299, | |
"stdev": 0.00023402567245567695, | |
"p50": 0.006425600051879882, | |
"p90": 0.006631001663208008, | |
"p95": 0.006994841527938843, | |
"p99": 0.007153368129730225, | |
"values": [ | |
0.007702527999877929, | |
0.006996992111206054, | |
0.007163839817047119, | |
0.007144447803497315, | |
0.007127039909362793, | |
0.007078911781311035, | |
0.007087103843688965, | |
0.007115935802459717, | |
0.006309887886047363, | |
0.006155263900756836, | |
0.006205440044403076, | |
0.0061224961280822755, | |
0.006170623779296875, | |
0.006143775939941407, | |
0.006150176048278808, | |
0.0062791681289672855, | |
0.006169600009918213, | |
0.006356863975524902, | |
0.0061521921157836916, | |
0.006169568061828614, | |
0.006137856006622314, | |
0.006342656135559082, | |
0.00620851182937622, | |
0.006191103935241699, | |
0.006179840087890625, | |
0.0061296639442443845, | |
0.006142975807189942, | |
0.006108160018920898, | |
0.006132736206054688, | |
0.006085631847381592, | |
0.006113279819488526, | |
0.006100992202758789, | |
0.006130655765533447, | |
0.0063067197799682615, | |
0.00612556791305542, | |
0.00611737585067749, | |
0.006079423904418946, | |
0.006295551776885986, | |
0.006308864116668702, | |
0.00624128007888794, | |
0.006134719848632813, | |
0.00621776008605957, | |
0.006154240131378174, | |
0.0061562881469726565, | |
0.006236095905303955, | |
0.006445055961608887, | |
0.006461440086364746, | |
0.006407167911529541, | |
0.006445055961608887, | |
0.0064430079460144046, | |
0.0064143362045288085, | |
0.006486015796661377, | |
0.00657919979095459, | |
0.006723584175109864, | |
0.006448128223419189, | |
0.006451200008392334, | |
0.0063907837867736815, | |
0.0066303682327270505, | |
0.0063834238052368165, | |
0.006448128223419189, | |
0.006489088058471679, | |
0.006426623821258545, | |
0.006490111827850342, | |
0.006387712001800537, | |
0.0064440321922302245, | |
0.006470655918121338, | |
0.006462463855743408, | |
0.0064471039772033695, | |
0.00643993616104126, | |
0.006392831802368164, | |
0.006452223777770996, | |
0.006404064178466797, | |
0.006630271911621094, | |
0.006457344055175781, | |
0.00641539192199707, | |
0.006475776195526123, | |
0.006465536117553711, | |
0.006481919765472412, | |
0.006469664096832276, | |
0.006470655918121338, | |
0.006685696125030518, | |
0.006469632148742676, | |
0.006400000095367431, | |
0.0064849920272827145, | |
0.00642252779006958, | |
0.006392831802368164, | |
0.006421504020690918, | |
0.006397952079772949, | |
0.006425600051879882, | |
0.006423552036285401, | |
0.006378496170043945, | |
0.0064204797744750975, | |
0.006403071880340576, | |
0.0064542717933654785, | |
0.006492159843444824, | |
0.006425600051879882, | |
0.0065792641639709475, | |
0.006441984176635742, | |
0.006385663986206055, | |
0.006440959930419922, | |
0.006542335987091064, | |
0.006472703933715821, | |
0.006432767868041992, | |
0.006370304107666015, | |
0.006519807815551758, | |
0.006460415840148926, | |
0.006440959930419922, | |
0.006431807994842529, | |
0.006335519790649414, | |
0.006394879817962646, | |
0.006685664176940918, | |
0.006459392070770263, | |
0.006584320068359375, | |
0.006591519832611084, | |
0.0064849920272827145, | |
0.006550528049468994, | |
0.006626272201538086, | |
0.006558623790740967, | |
0.0067276802062988285, | |
0.006452223777770996, | |
0.006533120155334473, | |
0.006456319808959961, | |
0.0064245758056640625, | |
0.006459487915039063, | |
0.006993919849395752, | |
0.006560704231262207, | |
0.006555583953857422, | |
0.006374207973480225, | |
0.006367263793945313, | |
0.006452223777770996, | |
0.006364160060882569, | |
0.006385663986206055, | |
0.006461440086364746, | |
0.006373311996459961, | |
0.006728672027587891, | |
0.006383456230163574, | |
0.00639081621170044, | |
0.006491168022155762, | |
0.006363135814666748, | |
0.006441984176635742, | |
0.006407167911529541, | |
0.006366367816925049, | |
0.0063907837867736815, | |
0.006388735771179199, | |
0.006392831802368164, | |
0.006404096126556396, | |
0.0063630399703979495, | |
0.006434815883636475, | |
0.006449151992797852, | |
0.006461440086364746, | |
0.006631423950195312, | |
0.0064143362045288085, | |
0.006642687797546387, | |
0.006393856048583985, | |
0.0063836159706115725 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 155.36282873617893 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.711182661558814e-08, | |
"ram": 4.2156089122207573e-08, | |
"gpu": 1.3992796187013008e-07, | |
"total": 2.591958776079258e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3858086.051479013 | |
} | |
} | |
} | |
} |