IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
733d8b7 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.868672,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.376128
},
"latency": {
"unit": "s",
"values": [
7.95487841796875
],
"count": 1,
"total": 7.95487841796875,
"mean": 7.95487841796875,
"p50": 7.95487841796875,
"p90": 7.95487841796875,
"p95": 7.95487841796875,
"p99": 7.95487841796875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0206369805422988e-06,
"ram": 5.401842145514798e-07,
"gpu": 1.6277790799712477e-06,
"total": 3.1886002750650264e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1094.422528,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"values": [
0.007362559795379638,
0.007019519805908203,
0.007048192024230957,
0.006830080032348633,
0.006759424209594727,
0.006761472225189209,
0.007079936027526855,
0.006965248107910156,
0.007216159820556641,
0.006950784206390381,
0.006974463939666748,
0.006931456089019775,
0.006718463897705078,
0.006685696125030518,
0.0066344962120056155,
0.006661119937896728,
0.0067123198509216305,
0.006716415882110595,
0.0066447358131408694,
0.0068249602317810056,
0.006988800048828125,
0.0069764480590820315,
0.006966271877288818,
0.007445504188537597,
0.0070553598403930665,
0.006966271877288818,
0.006956960201263428,
0.006774784088134766,
0.006772736072540283,
0.0067338237762451176,
0.0067123198509216305,
0.0067942080497741695,
0.006825984001159668,
0.006752255916595459,
0.006795263767242431,
0.006985727787017822,
0.007013376235961914,
0.006958079814910889,
0.0068915200233459475,
0.006904831886291504,
0.006916096210479736,
0.006708255767822266,
0.007037919998168945,
0.006989823818206787,
0.00688640022277832,
0.006744063854217529,
0.006768735885620117,
0.006731776237487793,
0.0066713600158691405,
0.006754303932189941,
0.00672054386138916,
0.006706175804138184,
0.006793216228485107,
0.006856704235076904,
0.0067338237762451176,
0.00673689603805542,
0.006802432060241699,
0.006968319892883301,
0.00669593620300293,
0.006813695907592773,
0.00676966381072998,
0.006623231887817383,
0.006647903919219971,
0.0069621758460998535,
0.0069169921875,
0.006842368125915528,
0.006831103801727295,
0.006817823886871338,
0.006833055973052979,
0.006915071964263916,
0.006713344097137451,
0.006559743881225586,
0.006824927806854248,
0.0067983360290527345,
0.006872064113616944,
0.006871039867401123,
0.007035903930664063,
0.006969344139099121,
0.00694374418258667,
0.006956031799316406,
0.006774784088134766,
0.006657023906707763,
0.00657919979095459,
0.006609920024871826,
0.006602752208709717,
0.0065669121742248536,
0.006647808074951172,
0.006700032234191895,
0.00658841609954834,
0.006597631931304931,
0.006584320068359375,
0.006554624080657959,
0.006589439868927002,
0.0065812478065490725,
0.006519807815551758,
0.006551583766937256,
0.006583295822143555,
0.006569983959197998,
0.006608895778656006,
0.006611008167266846,
0.006593535900115967,
0.007187424182891845,
0.006591487884521485,
0.006542335987091064,
0.006646783828735352,
0.00658739185333252,
0.006511616230010986,
0.006586368083953857,
0.006535007953643799,
0.006618207931518555,
0.0065812478065490725,
0.00658841609954834,
0.00652288007736206,
0.006633471965789795,
0.006533120155334473,
0.0065443840026855465,
0.0065781760215759275,
0.00653926420211792,
0.0065689277648925785,
0.006900640010833741,
0.006601727962493896,
0.006406144142150879,
0.006436863899230957,
0.00653107213973999,
0.006767648220062256,
0.006627327919006347,
0.006910975933074951,
0.006689792156219483,
0.006624256134033203,
0.006556672096252441,
0.00662937593460083,
0.006560768127441406,
0.0068392958641052244,
0.007565311908721924,
0.0066979842185974124,
0.006706143856048584,
0.006944767951965332,
0.007037951946258545,
0.006619200229644775,
0.006535168170928955,
0.00658022403717041,
0.006585343837738037,
0.006549439907073975,
0.0066078720092773435,
0.006643712043762207,
0.006529024124145508,
0.006649856090545654,
0.006609920024871826
],
"count": 148,
"total": 1.0000215992927557,
"mean": 0.006756902697924022,
"p50": 0.006717439889907837,
"p90": 0.006986649465560913,
"p95": 0.007044607996940613,
"p99": 0.007406520323753356,
"stdev": 0.00019501395011114854,
"stdev_": 2.8861441229731524
},
"throughput": {
"unit": "samples/s",
"value": 147.99680337371709
},
"energy": {
"unit": "kWh",
"cpu": 7.892029611401627e-08,
"ram": 4.31179854181508e-08,
"gpu": 1.4022270231926088e-07,
"total": 2.622609838514279e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3812995.68587947
}
}
}
}