
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5ae9a11
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.358208, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0019654092788697, | |
"mean": 0.007590647039991437, | |
"stdev": 0.0005809214402145674, | |
"p50": 0.007497215986251832, | |
"p90": 0.007849881744384765, | |
"p95": 0.008180326747894286, | |
"p99": 0.010368777799606323, | |
"values": [ | |
0.010809344291687012, | |
0.010365951538085937, | |
0.010370047569274902, | |
0.010334207534790038, | |
0.008263680458068847, | |
0.008077247619628906, | |
0.007772160053253174, | |
0.007849984169006348, | |
0.007860223770141601, | |
0.00775980806350708, | |
0.007813119888305664, | |
0.007738368034362793, | |
0.00760422420501709, | |
0.007623680114746094, | |
0.007647232055664062, | |
0.007670783996582031, | |
0.0077281279563903805, | |
0.007759871959686279, | |
0.007775231838226319, | |
0.007679999828338623, | |
0.007666687965393066, | |
0.00744755220413208, | |
0.007442431926727295, | |
0.007530432224273681, | |
0.007450623989105225, | |
0.00744755220413208, | |
0.0073697280883789065, | |
0.007373824119567871, | |
0.00738099193572998, | |
0.007883776187896728, | |
0.007751679897308349, | |
0.007715839862823487, | |
0.007575551986694336, | |
0.007740416049957275, | |
0.007640063762664795, | |
0.007618559837341309, | |
0.007633920192718506, | |
0.007709695816040039, | |
0.007714848041534424, | |
0.007730175971984863, | |
0.007783423900604248, | |
0.007670783996582031, | |
0.007659520149230957, | |
0.007577600002288819, | |
0.007701504230499268, | |
0.007727136135101318, | |
0.007686143875122071, | |
0.007473152160644531, | |
0.007404543876647949, | |
0.007310336112976074, | |
0.007361536026000977, | |
0.007288832187652588, | |
0.007318528175354004, | |
0.007401408195495606, | |
0.007353343963623047, | |
0.007592959880828858, | |
0.007602176189422607, | |
0.007684095859527588, | |
0.007584767818450928, | |
0.007624703884124756, | |
0.007709695816040039, | |
0.007574528217315674, | |
0.007775231838226319, | |
0.007469056129455566, | |
0.007442431926727295, | |
0.007435264110565186, | |
0.00808140754699707, | |
0.008516608238220215, | |
0.007953407764434815, | |
0.007694272041320801, | |
0.00774348783493042, | |
0.007689216136932373, | |
0.007505919933319092, | |
0.007451648235321045, | |
0.007628896236419678, | |
0.007448575973510742, | |
0.0072499198913574215, | |
0.007223296165466309, | |
0.0074403839111328125, | |
0.007488512039184571, | |
0.007554048061370849, | |
0.007553023815155029, | |
0.007576576232910156, | |
0.007797760009765625, | |
0.007848959922790527, | |
0.007590911865234375, | |
0.007327744007110596, | |
0.008112128257751466, | |
0.007512063980102539, | |
0.0072837119102478025, | |
0.007245823860168457, | |
0.00724889612197876, | |
0.0071495680809020995, | |
0.007219200134277344, | |
0.007226367950439453, | |
0.007227424144744873, | |
0.007808000087738037, | |
0.007456768035888672, | |
0.007237631797790528, | |
0.0071823358535766605, | |
0.007185408115386963, | |
0.00719974422454834, | |
0.007180287837982178, | |
0.007193600177764893, | |
0.007158783912658692, | |
0.007160799980163574, | |
0.00838144016265869, | |
0.007326720237731933, | |
0.007231488227844239, | |
0.0071987838745117185, | |
0.007165952205657959, | |
0.007201791763305664, | |
0.007181312084197998, | |
0.007197696208953858, | |
0.007192575931549072, | |
0.0071792640686035155, | |
0.007153664112091064, | |
0.007153632164001465, | |
0.007222271919250488, | |
0.0072120318412780765, | |
0.007187456130981445, | |
0.007120895862579346, | |
0.007156735897064209, | |
0.007221216201782226, | |
0.007202816009521484, | |
0.007206912040710449, | |
0.007145472049713135, | |
0.007170048236846924, | |
0.007160831928253173, | |
0.007176191806793213, | |
0.007171072006225586, | |
0.007153664112091064 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.74107486904413 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.530816633543142e-08, | |
"ram": 4.662791786273805e-08, | |
"gpu": 1.6067358976977895e-07, | |
"total": 2.926096739679484e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3417522.0061573805 | |
} | |
} | |
} | |
} |