
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c73bd96
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.1", | |
"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.48288, | |
"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.2309482421875, | |
"mean": 7.2309482421875, | |
"stdev": 0.0, | |
"p50": 7.2309482421875, | |
"p90": 7.2309482421875, | |
"p95": 7.2309482421875, | |
"p99": 7.2309482421875, | |
"values": [ | |
7.2309482421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1135232117440965e-06, | |
"ram": 5.937824719749566e-07, | |
"gpu": 1.695556912000365e-06, | |
"total": 3.402862595719418e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 912.22016, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.999845729827881, | |
"mean": 0.006409267498896673, | |
"stdev": 0.00021194924815788474, | |
"p50": 0.006404592037200927, | |
"p90": 0.006561328172683716, | |
"p95": 0.0069985281229019165, | |
"p99": 0.007106969618797302, | |
"values": [ | |
0.007124991893768311, | |
0.00709119987487793, | |
0.00709222412109375, | |
0.007069695949554444, | |
0.007019519805908203, | |
0.00701961612701416, | |
0.006996992111206054, | |
0.007367680072784424, | |
0.0063836159706115725, | |
0.006123519897460937, | |
0.006123519897460937, | |
0.00618393611907959, | |
0.006253568172454834, | |
0.006115327835083008, | |
0.006108160018920898, | |
0.006115327835083008, | |
0.006264832019805908, | |
0.006326335906982422, | |
0.006310912132263183, | |
0.006105088233947754, | |
0.006071296215057373, | |
0.00606822395324707, | |
0.00616755199432373, | |
0.006069248199462891, | |
0.006086688041687011, | |
0.006215616226196289, | |
0.006333439826965332, | |
0.006291456222534179, | |
0.006277120113372803, | |
0.0062904319763183595, | |
0.006072319984436035, | |
0.006362112045288086, | |
0.006402048110961914, | |
0.007003136157989502, | |
0.00638976001739502, | |
0.006343679904937744, | |
0.006289408206939697, | |
0.0062904319763183595, | |
0.006369279861450195, | |
0.006292479991912842, | |
0.006479872226715088, | |
0.006294528007507324, | |
0.0061521921157836916, | |
0.006271999835968017, | |
0.006290400028228759, | |
0.006269951820373535, | |
0.0062863359451293946, | |
0.006376448154449463, | |
0.006056896209716797, | |
0.006069248199462891, | |
0.006104063987731933, | |
0.006264832019805908, | |
0.006290495872497559, | |
0.0064471039772033695, | |
0.006328320026397705, | |
0.0062638077735900875, | |
0.006087679862976075, | |
0.006102015972137451, | |
0.006276095867156982, | |
0.006311935901641846, | |
0.006295551776885986, | |
0.006293504238128662, | |
0.006304768085479737, | |
0.006291456222534179, | |
0.006261760234832763, | |
0.006549503803253174, | |
0.006451136112213135, | |
0.006433792114257812, | |
0.0064440321922302245, | |
0.0065731201171875, | |
0.006766528129577637, | |
0.006437888145446777, | |
0.006409215927124024, | |
0.006437888145446777, | |
0.006429696083068847, | |
0.006460383892059326, | |
0.00653926420211792, | |
0.006423552036285401, | |
0.006455296039581298, | |
0.006448128223419189, | |
0.00642252779006958, | |
0.00643891191482544, | |
0.006436863899230957, | |
0.006459392070770263, | |
0.00643993616104126, | |
0.00642252779006958, | |
0.0064542717933654785, | |
0.0064542717933654785, | |
0.006405087947845459, | |
0.006451200008392334, | |
0.006398975849151611, | |
0.006464511871337891, | |
0.00643891191482544, | |
0.006395904064178467, | |
0.0064430079460144046, | |
0.006410175800323486, | |
0.006453248023986816, | |
0.0064430079460144046, | |
0.006403103828430175, | |
0.006449151992797852, | |
0.006605823993682861, | |
0.006416384220123291, | |
0.0066416640281677245, | |
0.006408192157745361, | |
0.006612991809844971, | |
0.006638591766357422, | |
0.006505472183227539, | |
0.006487040042877197, | |
0.00643174409866333, | |
0.0064102401733398436, | |
0.006449151992797852, | |
0.006393856048583985, | |
0.006450175762176514, | |
0.006466527938842773, | |
0.006391808032989502, | |
0.006604800224304199, | |
0.006448128223419189, | |
0.0064245758056640625, | |
0.00643071985244751, | |
0.0064245758056640625, | |
0.006446080207824707, | |
0.006425600051879882, | |
0.0063907837867736815, | |
0.0064102401733398436, | |
0.006411295890808105, | |
0.006415359973907471, | |
0.0065413122177124024, | |
0.0063825278282165524, | |
0.006423552036285401, | |
0.00639689588546753, | |
0.006395904064178467, | |
0.006384607791900635, | |
0.006394879817962646, | |
0.00643174409866333, | |
0.0064102401733398436, | |
0.006404096126556396, | |
0.006424543857574463, | |
0.0064737281799316405, | |
0.006412288188934326, | |
0.006393856048583985, | |
0.006396927833557129, | |
0.006391808032989502, | |
0.0065495362281799314, | |
0.006406144142150879, | |
0.006402048110961914, | |
0.006395904064178467, | |
0.006411263942718506, | |
0.006391808032989502, | |
0.006379519939422608, | |
0.006405119895935059, | |
0.006400000095367431, | |
0.006394879817962646, | |
0.006432767868041992, | |
0.006393856048583985, | |
0.006393856048583985, | |
0.00639081621170044 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.02406986011204 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.346102198782608e-08, | |
"ram": 4.0015739595673715e-08, | |
"gpu": 1.3708001364197215e-07, | |
"total": 2.5055677522547195e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3991111.3922188547 | |
} | |
} | |
} | |
} |