
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d858ff9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.967424, | |
"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.37246435546875, | |
"mean": 7.37246435546875, | |
"stdev": 0.0, | |
"p50": 7.37246435546875, | |
"p90": 7.37246435546875, | |
"p95": 7.37246435546875, | |
"p99": 7.37246435546875, | |
"values": [ | |
7.37246435546875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.139656402777203e-07, | |
"ram": 4.797912289617201e-07, | |
"gpu": 1.6852791260004926e-06, | |
"total": 3.0790359952399334e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.219392, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9972409563064576, | |
"mean": 0.00761252638401876, | |
"stdev": 0.00021077777316477324, | |
"p50": 0.007599103927612305, | |
"p90": 0.007811071872711181, | |
"p95": 0.008109055995941163, | |
"p99": 0.00830792636871338, | |
"values": [ | |
0.008253439903259278, | |
0.00831283187866211, | |
0.008296480178833008, | |
0.008252415657043457, | |
0.008247296333312988, | |
0.008163328170776368, | |
0.007848959922790527, | |
0.008343551635742187, | |
0.007483391761779785, | |
0.007298111915588379, | |
0.007349247932434082, | |
0.007318528175354004, | |
0.007280640125274658, | |
0.00727347183227539, | |
0.007310336112976074, | |
0.00729702377319336, | |
0.00733081579208374, | |
0.007325695991516113, | |
0.007247871875762939, | |
0.007264256000518799, | |
0.007271423816680909, | |
0.007292928218841553, | |
0.00724070405960083, | |
0.007279615879058838, | |
0.007206912040710449, | |
0.0073994240760803225, | |
0.007312384128570557, | |
0.007402495861053467, | |
0.007619616031646729, | |
0.007648255825042725, | |
0.007599103927612305, | |
0.007618559837341309, | |
0.007624703884124756, | |
0.007618559837341309, | |
0.007599103927612305, | |
0.00760422420501709, | |
0.007635968208312988, | |
0.0076308479309082035, | |
0.00765337610244751, | |
0.007600128173828125, | |
0.0078438401222229, | |
0.007950335979461669, | |
0.007782400131225586, | |
0.007811071872711181, | |
0.007642111778259277, | |
0.007629824161529541, | |
0.007600128173828125, | |
0.007548927783966064, | |
0.007543807983398438, | |
0.007616511821746826, | |
0.00759603214263916, | |
0.007589888095855713, | |
0.00759603214263916, | |
0.007624703884124756, | |
0.007902207851409913, | |
0.007679999828338623, | |
0.007748608112335205, | |
0.007585792064666748, | |
0.007634943962097168, | |
0.007601151943206787, | |
0.007601119995117187, | |
0.0075939841270446775, | |
0.007613440036773681, | |
0.007601151943206787, | |
0.007575551986694336, | |
0.007643136024475097, | |
0.007621632099151611, | |
0.007621632099151611, | |
0.007577600002288819, | |
0.0075632638931274416, | |
0.007549952030181885, | |
0.007569407939910889, | |
0.007569407939910889, | |
0.007620607852935791, | |
0.007952383995056152, | |
0.00765235185623169, | |
0.007610367774963379, | |
0.007624703884124756, | |
0.00757862377166748, | |
0.0075970559120178225, | |
0.007580671787261963, | |
0.007553023815155029, | |
0.00757862377166748, | |
0.00757862377166748, | |
0.007611392021179199, | |
0.007552000045776367, | |
0.007577600002288819, | |
0.0075673599243164065, | |
0.007608320236206055, | |
0.007617568016052246, | |
0.007573503971099854, | |
0.007742464065551758, | |
0.007619584083557129, | |
0.007688191890716553, | |
0.007663616180419922, | |
0.007707647800445557, | |
0.007658559799194336, | |
0.007684095859527588, | |
0.00764518404006958, | |
0.007681024074554443, | |
0.0076277761459350585, | |
0.007557119846343994, | |
0.007571455955505371, | |
0.007574528217315674, | |
0.0075335679054260255, | |
0.007583744049072265, | |
0.00764518404006958, | |
0.007558144092559814, | |
0.007573535919189453, | |
0.007543807983398438, | |
0.00760422420501709, | |
0.007577600002288819, | |
0.007552000045776367, | |
0.007554048061370849, | |
0.007548927783966064, | |
0.007592991828918457, | |
0.0076912641525268555, | |
0.007633920192718506, | |
0.007561215877532959, | |
0.008054783821105957, | |
0.007622623920440674, | |
0.0076267518997192385, | |
0.007569407939910889, | |
0.00754585599899292, | |
0.0075632319450378415, | |
0.007552000045776367, | |
0.007521247863769532, | |
0.00757862377166748, | |
0.007686143875122071, | |
0.0075632319450378415, | |
0.007561215877532959 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.36243469701918 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.943221138262239e-08, | |
"ram": 4.889628217666654e-08, | |
"gpu": 1.6543455172931886e-07, | |
"total": 3.037630452886078e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3292039.685241803 | |
} | |
} | |
} | |
} |