IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
882c7ac verified
raw
history blame
13.8 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.225-213.878.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.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"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": 802.963456,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.44471875,
"mean": 8.44471875,
"stdev": 0.0,
"p50": 8.44471875,
"p90": 8.44471875,
"p95": 8.44471875,
"p99": 8.44471875,
"values": [
8.44471875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.7210057152787373e-06,
"ram": 1.4713037037802797e-06,
"gpu": 3.3975027179996425e-06,
"total": 7.58981213705866e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1077.37088,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.992512
},
"latency": {
"unit": "s",
"count": 186,
"total": 0.9981183004379274,
"mean": 0.005366227421709287,
"stdev": 0.00017174278131577576,
"p50": 0.005301759958267212,
"p90": 0.005619168043136597,
"p95": 0.005721856117248535,
"p99": 0.006027827215194703,
"values": [
0.006077439785003662,
0.005934080123901367,
0.00601907205581665,
0.00576204776763916,
0.0058009600639343266,
0.005708799839019775,
0.005780511856079101,
0.0062269439697265625,
0.005561344146728516,
0.00530944013595581,
0.005298175811767578,
0.00530847978591919,
0.005294079780578613,
0.005351424217224121,
0.005314623832702637,
0.005269504070281982,
0.00531660795211792,
0.00531660795211792,
0.005306367874145508,
0.005272575855255127,
0.005285888195037842,
0.005254144191741943,
0.005268479824066162,
0.005268479824066162,
0.005305344104766845,
0.0052705278396606445,
0.0052715520858764645,
0.005303296089172363,
0.0052674241065979,
0.005274623870849609,
0.0053002238273620605,
0.0052675199508667,
0.005326848030090332,
0.005312511920928955,
0.0052899842262268066,
0.0052971520423889164,
0.0053095040321350095,
0.0052971520423889164,
0.0052971520423889164,
0.0053043198585510255,
0.005299200057983398,
0.005277696132659912,
0.005291007995605469,
0.0052674560546875,
0.005284863948822022,
0.005277696132659912,
0.005279744148254394,
0.005264383792877197,
0.0053012480735778805,
0.005501952171325684,
0.005315584182739258,
0.005363647937774658,
0.005302271842956543,
0.005278719902038574,
0.005433343887329102,
0.00531660795211792,
0.0053002238273620605,
0.005389311790466309,
0.005314559936523438,
0.005268479824066162,
0.005361663818359375,
0.005259263992309571,
0.005264383792877197,
0.005307392120361328,
0.005291007995605469,
0.005336063861846924,
0.005303296089172363,
0.005243904113769531,
0.005278719902038574,
0.005337088108062744,
0.005260287761688232,
0.005246975898742676,
0.005326848030090332,
0.005251071929931641,
0.005274623870849609,
0.005303296089172363,
0.005260287761688232,
0.005245952129364013,
0.00530841588973999,
0.005254144191741943,
0.005269504070281982,
0.005305344104766845,
0.005265408039093018,
0.005246975898742676,
0.005307392120361328,
0.005291007995605469,
0.005278719902038574,
0.005305344104766845,
0.005299200057983398,
0.00526643180847168,
0.005318655967712403,
0.005282815933227539,
0.0053002238273620605,
0.005269504070281982,
0.005263296127319336,
0.0052899842262268066,
0.005306367874145508,
0.005261312007904053,
0.005265408039093018,
0.0053043198585510255,
0.0052674241065979,
0.005268479824066162,
0.005318655967712403,
0.0052295680046081545,
0.005278719902038574,
0.005274623870849609,
0.005274623870849609,
0.005314591884613037,
0.005269504070281982,
0.005265408039093018,
0.005246975898742676,
0.005262335777282715,
0.005302271842956543,
0.0052633600234985355,
0.005264319896697998,
0.0052705278396606445,
0.0052633600234985355,
0.005238719940185547,
0.005286911964416504,
0.0052633600234985355,
0.005329919815063477,
0.005294079780578613,
0.005255167961120606,
0.005243904113769531,
0.00530838394165039,
0.005243904113769531,
0.005338111877441406,
0.005279744148254394,
0.005259263992309571,
0.0052705597877502446,
0.0053002238273620605,
0.005261312007904053,
0.005276671886444092,
0.005313536167144775,
0.005261312007904053,
0.005253119945526123,
0.005303296089172363,
0.005248000144958496,
0.005279776096343994,
0.0055244798660278325,
0.005311488151550293,
0.005306303977966309,
0.005386240005493164,
0.005339168071746826,
0.005402624130249023,
0.005726208209991455,
0.005602303981781006,
0.005618688106536865,
0.005669888019561768,
0.005873663902282715,
0.005797887802124023,
0.005662720203399658,
0.005565440177917481,
0.00550707197189331,
0.005576704025268555,
0.005506048202514649,
0.005516287803649903,
0.0055511040687561035,
0.005550079822540284,
0.005573631763458252,
0.005322751998901368,
0.005288959980010987,
0.0053534722328186036,
0.005306367874145508,
0.005331935882568359,
0.005323775768280029,
0.0052715520858764645,
0.005280704021453858,
0.005325823783874512,
0.005282815933227539,
0.005302271842956543,
0.005315584182739258,
0.0052971520423889164,
0.005291007995605469,
0.005320703983306885,
0.005519360065460205,
0.005344255924224854,
0.005419007778167725,
0.005646336078643799,
0.005636096000671387,
0.005686272144317627,
0.005619647979736328,
0.005677055835723877,
0.005598207950592041,
0.005686272144317627,
0.005617728233337402
]
},
"throughput": {
"unit": "samples/s",
"value": 186.35065594768872
},
"energy": {
"unit": "kWh",
"cpu": 6.554641551565217e-08,
"ram": 3.5813599616897246e-08,
"gpu": 1.247837094033173e-07,
"total": 2.261437245358667e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4421966.614604858
}
}
}
}