
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
13df5f1
verified
{ | |
"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.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.60576, | |
"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.16242626953125, | |
"mean": 7.16242626953125, | |
"stdev": 0.0, | |
"p50": 7.16242626953125, | |
"p90": 7.16242626953125, | |
"p95": 7.16242626953125, | |
"p99": 7.16242626953125, | |
"values": [ | |
7.16242626953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.617459072007074e-07, | |
"ram": 4.5671184048975045e-07, | |
"gpu": 0.0, | |
"total": 1.318457747690458e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.1424, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9961928648948671, | |
"mean": 0.0073249475359916695, | |
"stdev": 0.00023877091087282461, | |
"p50": 0.007418864011764526, | |
"p90": 0.00758681583404541, | |
"p95": 0.00765286386013031, | |
"p99": 0.007759360194206238, | |
"values": [ | |
0.007863296031951903, | |
0.007749631881713868, | |
0.007712768077850342, | |
0.007688159942626953, | |
0.00775270414352417, | |
0.00760422420501709, | |
0.007556096076965332, | |
0.007536640167236328, | |
0.007470111846923828, | |
0.007575551986694336, | |
0.007511040210723877, | |
0.007468031883239746, | |
0.007453695774078369, | |
0.007511040210723877, | |
0.0074926080703735356, | |
0.007577600002288819, | |
0.00758681583404541, | |
0.00758681583404541, | |
0.007443456172943115, | |
0.0074700798988342285, | |
0.007510015964508057, | |
0.00758681583404541, | |
0.0075673599243164065, | |
0.007476223945617676, | |
0.007546879768371582, | |
0.007518176078796387, | |
0.007518239974975586, | |
0.007513088226318359, | |
0.0075775361061096195, | |
0.007465983867645264, | |
0.007411712169647216, | |
0.007422976016998291, | |
0.007423935890197754, | |
0.0074700798988342285, | |
0.007478271961212158, | |
0.007501791954040527, | |
0.0074711041450500485, | |
0.00764415979385376, | |
0.00759603214263916, | |
0.007574528217315674, | |
0.007601183891296387, | |
0.007505919933319092, | |
0.007433248043060303, | |
0.007541759967803955, | |
0.007504896163940429, | |
0.007482367992401123, | |
0.007515135765075683, | |
0.007635968208312988, | |
0.007414752006530761, | |
0.007440447807312012, | |
0.007442431926727295, | |
0.00754585599899292, | |
0.007490560054779053, | |
0.007460864067077637, | |
0.007428095817565918, | |
0.007434239864349365, | |
0.007449600219726562, | |
0.007404543876647949, | |
0.0074403839111328125, | |
0.007565375804901123, | |
0.007762944221496582, | |
0.00751200008392334, | |
0.00759603214263916, | |
0.007506976127624512, | |
0.00749561595916748, | |
0.0074711041450500485, | |
0.007371776103973389, | |
0.007466015815734864, | |
0.0074629120826721195, | |
0.007407616138458252, | |
0.007313344001770019, | |
0.0072468481063842774, | |
0.007407616138458252, | |
0.007285759925842285, | |
0.00709222412109375, | |
0.007143424034118652, | |
0.007184383869171143, | |
0.007398399829864502, | |
0.007343039989471435, | |
0.007346176147460938, | |
0.007366655826568603, | |
0.0074332160949707035, | |
0.007516160011291504, | |
0.007678976058959961, | |
0.007299071788787842, | |
0.0071833600997924804, | |
0.007088128089904785, | |
0.007088128089904785, | |
0.007068672180175781, | |
0.007093247890472412, | |
0.007032832145690918, | |
0.00710041618347168, | |
0.007077888011932373, | |
0.007127039909362793, | |
0.007080959796905518, | |
0.00709119987487793, | |
0.007038976192474365, | |
0.0070830078125, | |
0.007093247890472412, | |
0.007071743965148926, | |
0.007077888011932373, | |
0.007038976192474365, | |
0.007074816226959229, | |
0.0070522880554199216, | |
0.007069695949554444, | |
0.0070522880554199216, | |
0.007050240039825439, | |
0.007051231861114502, | |
0.007035903930664063, | |
0.007054336071014404, | |
0.007051263809204102, | |
0.0070594558715820314, | |
0.0070860800743103025, | |
0.007106560230255127, | |
0.007057375907897949, | |
0.007102464199066162, | |
0.00709222412109375, | |
0.007079936027526855, | |
0.007068672180175781, | |
0.007071743965148926, | |
0.007060480117797851, | |
0.007068672180175781, | |
0.007064576148986816, | |
0.007049183845520019, | |
0.00703385591506958, | |
0.006947775840759277, | |
0.006930431842803955, | |
0.006939648151397705, | |
0.006951935768127441, | |
0.006941728115081787, | |
0.006987775802612305, | |
0.006975488185882568, | |
0.0069632000923156735, | |
0.006940639972686767, | |
0.006928319931030273, | |
0.0070256638526916505 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.51974912945468 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.361327442951233e-08, | |
"ram": 4.5714607367419956e-08, | |
"gpu": 1.6592149423943386e-07, | |
"total": 2.9524937603636615e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3386967.3610312017 | |
} | |
} | |
} | |
} |