IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ab6cff0 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.3",
"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.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 718.323712,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.18168896484375,
"mean": 7.18168896484375,
"stdev": 0.0,
"p50": 7.18168896484375,
"p90": 7.18168896484375,
"p95": 7.18168896484375,
"p99": 7.18168896484375,
"values": [
7.18168896484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.833906716770597e-07,
"ram": 4.686059404396777e-07,
"gpu": 0.0,
"total": 1.3519966121167374e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 917.737472,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 136,
"total": 1.0026290907859796,
"mean": 0.007372272726367502,
"stdev": 0.00030603484968249977,
"p50": 0.007353856086730957,
"p90": 0.007626736164093017,
"p95": 0.00775116789340973,
"p99": 0.008811120033264161,
"values": [
0.007836671829223632,
0.007694272041320801,
0.00774348783493042,
0.0076574721336364745,
0.007457632064819336,
0.007501823902130127,
0.0074711041450500485,
0.007420928001403809,
0.007417856216430664,
0.007681024074554443,
0.007711743831634522,
0.0074834561347961424,
0.007322624206542969,
0.007386112213134765,
0.007385087966918945,
0.0074741759300231934,
0.007418879985809326,
0.007384096145629883,
0.007428095817565918,
0.007352320194244385,
0.007411712169647216,
0.007621600151062012,
0.00769536018371582,
0.007774208068847656,
0.007608320236206055,
0.007452672004699707,
0.007398399829864502,
0.0074967041015625,
0.007336959838867187,
0.007357439994812012,
0.007290880203247071,
0.0073471999168395995,
0.007350272178649903,
0.007907328128814697,
0.0075335679054260255,
0.007357247829437256,
0.007409664154052734,
0.0075038719177246095,
0.007488512039184571,
0.007472127914428711,
0.007464960098266602,
0.007355391979217529,
0.007342080116271973,
0.007351295948028564,
0.007610400199890136,
0.00754585599899292,
0.007472127914428711,
0.007435264110565186,
0.007368703842163086,
0.007411712169647216,
0.007415808200836181,
0.007269375801086426,
0.007436287879943848,
0.007414783954620361,
0.007279615879058838,
0.007413760185241699,
0.00742195177078247,
0.007308288097381592,
0.007355391979217529,
0.007421760082244873,
0.007501791954040527,
0.00753766393661499,
0.007451648235321045,
0.007449600219726562,
0.0074301438331604,
0.007411712169647216,
0.007396351814270019,
0.007375872135162354,
0.007378943920135498,
0.007367680072784424,
0.007422976016998291,
0.00728985595703125,
0.007173120021820068,
0.007351327896118164,
0.007187456130981445,
0.006970367908477783,
0.006883327960968018,
0.007018496036529541,
0.007146495819091797,
0.008690688133239746,
0.008875967979431153,
0.00889139175415039,
0.008434687614440918,
0.00742195177078247,
0.007303167819976806,
0.007241727828979493,
0.007162879943847656,
0.007123968124389648,
0.007202816009521484,
0.0072724480628967286,
0.007263232231140137,
0.007210080146789551,
0.007225344181060791,
0.007221248149871826,
0.0072048320770263675,
0.0071198720932006835,
0.007153664112091064,
0.007210944175720215,
0.007217152118682861,
0.007157760143280029,
0.007162879943847656,
0.007290783882141113,
0.00734822416305542,
0.007150591850280762,
0.007185408115386963,
0.007200767993927002,
0.007631872177124023,
0.007262207984924316,
0.007266304016113281,
0.007184383869171143,
0.007219200134277344,
0.007173120021820068,
0.0071823358535766605,
0.007049215793609619,
0.006964159965515137,
0.00693452787399292,
0.006914944171905518,
0.007138239860534668,
0.007356416225433349,
0.007184383869171143,
0.007615488052368164,
0.007176191806793213,
0.007195648193359375,
0.007195648193359375,
0.007165952205657959,
0.0073431038856506346,
0.0071526398658752445,
0.007132160186767578,
0.006945792198181152,
0.006956031799316406,
0.007037951946258545,
0.007085055828094483,
0.007168000221252442,
0.007030784130096435,
0.007071616172790528,
0.007068672180175781
]
},
"throughput": {
"unit": "samples/s",
"value": 135.64338123621266
},
"energy": {
"unit": "kWh",
"cpu": 8.370389867463209e-08,
"ram": 4.576413624127294e-08,
"gpu": 1.5972430618312186e-07,
"total": 2.8919234109902687e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3457906.2370727668
}
}
}
}