IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bccf1d3 verified
raw
history blame
11.8 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.285632,
"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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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.405056,
"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.12837744140625,
"mean": 7.12837744140625,
"stdev": 0.0,
"p50": 7.12837744140625,
"p90": 7.12837744140625,
"p95": 7.12837744140625,
"p99": 7.12837744140625,
"values": [
7.12837744140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.916883005036249e-07,
"ram": 4.6818318729549445e-07,
"gpu": 1.7636125219998126e-06,
"total": 3.123484009798932e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 918.40512,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.9975590391159062,
"mean": 0.007176683734646805,
"stdev": 0.00014116557252508282,
"p50": 0.007192575931549072,
"p90": 0.007280844688415527,
"p95": 0.007369216060638428,
"p99": 0.007566725130081177,
"values": [
0.007585792064666748,
0.007535615921020508,
0.007505919933319092,
0.007482367992401123,
0.007352320194244385,
0.007946239948272706,
0.007175168037414551,
0.006975488185882568,
0.006905856132507324,
0.006876160144805908,
0.006875135898590088,
0.006892608165740967,
0.006887423992156983,
0.006864895820617676,
0.006880256175994873,
0.006890495777130127,
0.006841343879699707,
0.006864895820617676,
0.00729702377319336,
0.007159808158874512,
0.007223296165466309,
0.0071905279159545895,
0.007044095993041993,
0.007230463981628418,
0.007251967906951904,
0.007305215835571289,
0.007180319786071777,
0.007204864025115967,
0.0072468481063842774,
0.007243775844573975,
0.007238656044006348,
0.007219200134277344,
0.007008255958557129,
0.007081984043121338,
0.007097343921661377,
0.007114751815795899,
0.00703385591506958,
0.007120895862579346,
0.00708403205871582,
0.00723967981338501,
0.007202752113342285,
0.007170048236846924,
0.007229440212249756,
0.00723967981338501,
0.007165919780731201,
0.007235455989837647,
0.0071833600997924804,
0.00719974422454834,
0.007244800090789795,
0.007201791763305664,
0.007220128059387207,
0.007139328002929687,
0.007186463832855225,
0.007285759925842285,
0.007258111953735351,
0.007204864025115967,
0.007215104103088379,
0.007117824077606201,
0.007210976123809815,
0.007195648193359375,
0.007250944137573242,
0.007186431884765625,
0.007230495929718018,
0.007219200134277344,
0.007231488227844239,
0.007195648193359375,
0.00719155216217041,
0.007174143791198731,
0.007185408115386963,
0.007128064155578613,
0.007065599918365479,
0.007077888011932373,
0.007050303936004638,
0.007070720195770264,
0.00709939193725586,
0.00709119987487793,
0.007134208202362061,
0.0072540159225463864,
0.007228415966033935,
0.007229472160339355,
0.007267327785491944,
0.0072499198913574215,
0.007146495819091797,
0.007259039878845215,
0.00728985595703125,
0.007236608028411865,
0.007407616138458252,
0.007131135940551757,
0.007068672180175781,
0.007078911781311035,
0.007299007892608643,
0.0072325119972229,
0.007184383869171143,
0.007383039951324463,
0.007230463981628418,
0.00719155216217041,
0.007213024139404297,
0.007195648193359375,
0.007143424034118652,
0.007194623947143554,
0.007367680072784424,
0.007204895973205567,
0.007221248149871826,
0.007155648231506348,
0.0072202239036560055,
0.007258111953735351,
0.007250879764556885,
0.007184383869171143,
0.007134208202362061,
0.007210015773773193,
0.007193600177764893,
0.007169023990631103,
0.007204864025115967,
0.007135231971740722,
0.007169023990631103,
0.007192575931549072,
0.007187456130981445,
0.00723967981338501,
0.007150591850280762,
0.007158783912658692,
0.0071619200706481935,
0.007162879943847656,
0.00723360013961792,
0.007160895824432373,
0.007192575931549072,
0.007227392196655274,
0.007201791763305664,
0.007279615879058838,
0.007209983825683594,
0.007153664112091064,
0.007218175888061523,
0.007160831928253173,
0.0070256638526916505,
0.007028736114501953,
0.007041024208068848,
0.0070685758590698245,
0.00703385591506958,
0.007012351989746094,
0.007017471790313721
]
},
"throughput": {
"unit": "samples/s",
"value": 139.34012379176053
},
"energy": {
"unit": "kWh",
"cpu": 8.533762918292382e-08,
"ram": 4.664467903103532e-08,
"gpu": 1.6771795991366977e-07,
"total": 2.997002681276289e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3336667.0181761226
}
}
}
}