
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
12b9705
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.89888, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9994188141822815, | |
"mean": 0.007571354652896072, | |
"stdev": 0.00015613025795302478, | |
"p50": 0.00757862377166748, | |
"p90": 0.007691062545776367, | |
"p95": 0.007775726270675659, | |
"p99": 0.008036198596954345, | |
"values": [ | |
0.008120320320129394, | |
0.007701504230499268, | |
0.007848959922790527, | |
0.007741439819335938, | |
0.007743519783020019, | |
0.007689248085021973, | |
0.00840601634979248, | |
0.007442431926727295, | |
0.007353343963623047, | |
0.007608223915100098, | |
0.007610367774963379, | |
0.007553023815155029, | |
0.00760422420501709, | |
0.0075929279327392575, | |
0.007588863849639893, | |
0.007601151943206787, | |
0.00759603214263916, | |
0.007781375885009765, | |
0.007601151943206787, | |
0.007771103858947754, | |
0.007617536067962646, | |
0.007628799915313721, | |
0.007517183780670166, | |
0.00759500789642334, | |
0.007583744049072265, | |
0.007570432186126709, | |
0.007632895946502686, | |
0.007601151943206787, | |
0.007608320236206055, | |
0.007607295989990235, | |
0.007643072128295898, | |
0.007635968208312988, | |
0.007632895946502686, | |
0.007575551986694336, | |
0.007547904014587403, | |
0.007611392021179199, | |
0.007571455955505371, | |
0.007574528217315674, | |
0.007591936111450195, | |
0.007580671787261963, | |
0.007561215877532959, | |
0.00757862377166748, | |
0.007546879768371582, | |
0.007535615921020508, | |
0.007577600002288819, | |
0.007544832229614258, | |
0.007673855781555176, | |
0.0075642881393432615, | |
0.007552000045776367, | |
0.00780083179473877, | |
0.007570432186126709, | |
0.007559167861938477, | |
0.007554048061370849, | |
0.007519231796264648, | |
0.007525375843048096, | |
0.007546879768371582, | |
0.007517183780670166, | |
0.007557119846343994, | |
0.007571455955505371, | |
0.0076912641525268555, | |
0.007625728130340576, | |
0.007602176189422607, | |
0.007620607852935791, | |
0.00758070421218872, | |
0.007579648017883301, | |
0.007515135765075683, | |
0.00781824016571045, | |
0.007145472049713135, | |
0.0071823358535766605, | |
0.007198719978332519, | |
0.007196735858917236, | |
0.007200767993927002, | |
0.007153664112091064, | |
0.007209983825683594, | |
0.0072007360458374026, | |
0.007206943988800049, | |
0.007204864025115967, | |
0.007268352031707764, | |
0.007605247974395752, | |
0.007792640209197998, | |
0.007600128173828125, | |
0.0075673599243164065, | |
0.007569407939910889, | |
0.007614463806152344, | |
0.007568384170532226, | |
0.007589888095855713, | |
0.007617536067962646, | |
0.007615488052368164, | |
0.007727104187011719, | |
0.007692287921905518, | |
0.007618559837341309, | |
0.007612415790557861, | |
0.007544832229614258, | |
0.0074997758865356446, | |
0.0075345921516418455, | |
0.007524352073669433, | |
0.007517151832580567, | |
0.00752019214630127, | |
0.007571455955505371, | |
0.007599135875701904, | |
0.007581696033477783, | |
0.007550975799560547, | |
0.007576576232910156, | |
0.007561215877532959, | |
0.007571455955505371, | |
0.007560192108154297, | |
0.00757862377166748, | |
0.007649280071258545, | |
0.007539711952209473, | |
0.007546879768371582, | |
0.007540736198425293, | |
0.00749567985534668, | |
0.007556096076965332, | |
0.007612415790557861, | |
0.007555071830749512, | |
0.007562240123748779, | |
0.0075980801582336424, | |
0.007642111778259277, | |
0.007615488052368164, | |
0.007649280071258545, | |
0.007571455955505371, | |
0.007566336154937744, | |
0.007568384170532226, | |
0.007590911865234375, | |
0.007590911865234375, | |
0.007582719802856445, | |
0.00758681583404541, | |
0.00758784008026123, | |
0.007521279811859131, | |
0.007549952030181885, | |
0.007520319938659668, | |
0.0075939841270446775 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.07676114042502 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.83795045040272e-08, | |
"ram": 4.8252384395810725e-08, | |
"gpu": 1.652696795407388e-07, | |
"total": 3.019015684405767e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3312337.876100932 | |
} | |
} | |
} | |
} |