IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4ad451b verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.14",
"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.0",
"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": 890.933248,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.0010028176307677,
"mean": 0.006809542977080052,
"stdev": 0.0004622006678675761,
"p50": 0.006697951793670654,
"p90": 0.006977740859985352,
"p95": 0.007162982416152954,
"p99": 0.009501163654327387,
"values": [
0.01036083221435547,
0.009812992095947265,
0.009135104179382325,
0.007342080116271973,
0.00729804801940918,
0.007814144134521485,
0.007114751815795899,
0.006765567779541016,
0.006710271835327148,
0.006730751991271973,
0.006702079772949219,
0.006699007987976074,
0.0067123198509216305,
0.006692863941192627,
0.006808544158935547,
0.006694911956787109,
0.006713344097137451,
0.006721536159515381,
0.006738944053649902,
0.006731776237487793,
0.00669593620300293,
0.00667852783203125,
0.006694911956787109,
0.006669312000274658,
0.006651904106140137,
0.006800384044647217,
0.006976511955261231,
0.007166975975036621,
0.007153664112091064,
0.006994944095611572,
0.006936575889587402,
0.006918144226074219,
0.006949888229370117,
0.006945792198181152,
0.006899712085723877,
0.006987775802612305,
0.007016448020935059,
0.007038976192474365,
0.006930431842803955,
0.006979584217071533,
0.006725632190704346,
0.006706175804138184,
0.006657023906707763,
0.00667852783203125,
0.006691840171813965,
0.006652927875518798,
0.0066416640281677245,
0.00669593620300293,
0.006660096168518067,
0.006669312000274658,
0.006657023906707763,
0.006647808074951172,
0.006652927875518798,
0.0066447358131408694,
0.006627327919006347,
0.0067338237762451176,
0.0068853759765625,
0.006876160144805908,
0.006663167953491211,
0.006680575847625733,
0.006663167953491211,
0.006628384113311767,
0.0066344962120056155,
0.006647808074951172,
0.006626304149627686,
0.007288832187652588,
0.006768671989440918,
0.006863808155059815,
0.006714367866516113,
0.006740992069244385,
0.006761472225189209,
0.006735936164855957,
0.006687744140625,
0.0066826558113098145,
0.006632480144500732,
0.006676447868347168,
0.006697951793670654,
0.0066518402099609375,
0.006653952121734619,
0.0066641921997070315,
0.006662144184112549,
0.00668665599822998,
0.006692863941192627,
0.006656000137329102,
0.006670335769653321,
0.006689792156219483,
0.0066447358131408694,
0.006658048152923584,
0.006675456047058105,
0.006643712043762207,
0.006661119937896728,
0.006676479816436768,
0.00663753604888916,
0.0067041277885437015,
0.006732800006866455,
0.006713280200958252,
0.00672051191329956,
0.00672051191329956,
0.006715392112731934,
0.006714367866516113,
0.00672870397567749,
0.0067010560035705566,
0.006718463897705078,
0.006732895851135254,
0.006712287902832031,
0.0066979842185974124,
0.006733856201171875,
0.00673689603805542,
0.0067010560035705566,
0.006724607944488525,
0.006680575847625733,
0.006642687797546387,
0.006652927875518798,
0.006672383785247803,
0.006656000137329102,
0.006796288013458252,
0.006656000137329102,
0.006639616012573242,
0.00662937593460083,
0.0066375679969787596,
0.006624256134033203,
0.006642687797546387,
0.006660031795501709,
0.006636544227600098,
0.0067491202354431155,
0.006723584175109864,
0.006672383785247803,
0.006687744140625,
0.0066713600158691405,
0.006703104019165039,
0.006779903888702392,
0.006672383785247803,
0.006843391895294189,
0.006691840171813965,
0.006710303783416748,
0.006804480075836182,
0.006680575847625733,
0.006652927875518798,
0.006666240215301514,
0.006658048152923584,
0.006745120048522949,
0.0067686400413513184,
0.006666240215301514,
0.006649856090545654,
0.00667852783203125,
0.006672351837158203,
0.006708223819732666
]
},
"throughput": {
"unit": "samples/s",
"value": 146.85273348973007
},
"energy": {
"unit": "kWh",
"cpu": 7.922582383509037e-08,
"ram": 4.33093671053939e-08,
"gpu": 1.5034456471998507e-07,
"total": 2.7287975566046934e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3664617.7638924965
}
}
}
}