IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c8baed4 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 790.093824,
"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.40898193359375,
"mean": 7.40898193359375,
"stdev": 0.0,
"p50": 7.40898193359375,
"p90": 7.40898193359375,
"p95": 7.40898193359375,
"p99": 7.40898193359375,
"values": [
7.40898193359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.716102347223162e-07,
"ram": 4.6198985206036975e-07,
"gpu": 1.78277920400002e-06,
"total": 3.116379290782706e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1085.730816,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.997389023303986,
"mean": 0.007853456876409336,
"stdev": 0.0002244818875642194,
"p50": 0.00794316816329956,
"p90": 0.008069120407104492,
"p95": 0.00815687665939331,
"p99": 0.008301751937866211,
"values": [
0.008342528343200683,
0.00830361557006836,
0.00829644775390625,
0.008294400215148925,
0.008248319625854492,
0.0081725435256958,
0.008068096160888672,
0.008048640251159669,
0.008047616004943848,
0.008049663543701171,
0.00804355239868164,
0.00794316816329956,
0.007971839904785156,
0.008007648468017579,
0.008031231880187988,
0.008069120407104492,
0.008045568466186523,
0.008037376403808593,
0.007971839904785156,
0.007963647842407226,
0.00804867172241211,
0.008029184341430663,
0.008018943786621094,
0.008050687789916992,
0.007999519824981689,
0.007997439861297608,
0.007977983951568603,
0.008017919540405273,
0.008034303665161132,
0.007981056213378907,
0.00794316816329956,
0.00794316816329956,
0.008169471740722656,
0.008045568466186523,
0.008023039817810058,
0.00799948787689209,
0.008012800216674805,
0.008099840164184571,
0.008049663543701171,
0.008067071914672852,
0.008018943786621094,
0.007998464107513427,
0.007989247798919678,
0.008069120407104492,
0.008002559661865234,
0.008023039817810058,
0.008036352157592774,
0.007971839904785156,
0.007935999870300293,
0.007971839904785156,
0.007988224029541016,
0.00810086441040039,
0.007914495944976807,
0.007931935787200927,
0.007987199783325195,
0.007954432010650634,
0.007959551811218261,
0.007979008197784423,
0.007971839904785156,
0.00806604766845703,
0.008071167945861817,
0.008113151550292968,
0.008127488136291505,
0.00796569585800171,
0.007976960182189942,
0.007955455780029297,
0.007925759792327881,
0.008056832313537597,
0.007931903839111328,
0.007895040035247802,
0.007768064022064209,
0.007865280151367187,
0.00790831995010376,
0.007685120105743408,
0.0075970559120178225,
0.007591936111450195,
0.007778304100036621,
0.007803904056549072,
0.00780083179473877,
0.007763967990875244,
0.007921664237976075,
0.008055808067321778,
0.0076871681213378906,
0.0076267518997192385,
0.007558144092559814,
0.007588863849639893,
0.007585792064666748,
0.007619584083557129,
0.00760319995880127,
0.007584767818450928,
0.00758784008026123,
0.007557119846343994,
0.007600128173828125,
0.007606272220611572,
0.007548927783966064,
0.007560192108154297,
0.007563199996948242,
0.007565311908721924,
0.007592895984649658,
0.007549952030181885,
0.007860223770141601,
0.007605247974395752,
0.007575551986694336,
0.007608320236206055,
0.007619584083557129,
0.007573472023010254,
0.007573503971099854,
0.007560192108154297,
0.007575551986694336,
0.007582719802856445,
0.0075673599243164065,
0.007540736198425293,
0.0075478401184082035,
0.007562240123748779,
0.007552000045776367,
0.007556096076965332,
0.00757862377166748,
0.007569407939910889,
0.007552000045776367,
0.007590911865234375,
0.007581696033477783,
0.007576576232910156,
0.007565311908721924,
0.007552000045776367,
0.007573440074920655,
0.007544832229614258,
0.0077608962059021
]
},
"throughput": {
"unit": "samples/s",
"value": 127.33246209116616
},
"energy": {
"unit": "kWh",
"cpu": 8.905320967039614e-08,
"ram": 4.8505797751178274e-08,
"gpu": 1.6663985138806005e-07,
"total": 3.0419885880963445e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3287323.3118398814
}
}
}
}