
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
33510bb
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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 801.140736, | |
"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.98864306640625, | |
"mean": 7.98864306640625, | |
"stdev": 0.0, | |
"p50": 7.98864306640625, | |
"p90": 7.98864306640625, | |
"p95": 7.98864306640625, | |
"p99": 7.98864306640625, | |
"values": [ | |
7.98864306640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.804461854165959e-07, | |
"ram": 4.6717669959569913e-07, | |
"gpu": 1.6183346279998942e-06, | |
"total": 2.9659575130121892e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1096.94976, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9971867146492005, | |
"mean": 0.007441691900367167, | |
"stdev": 0.00025676087319596766, | |
"p50": 0.007421504020690918, | |
"p90": 0.007618307209014893, | |
"p95": 0.00795647976398468, | |
"p99": 0.008436807861328121, | |
"values": [ | |
0.008133631706237793, | |
0.008117247581481933, | |
0.008216575622558593, | |
0.008049663543701171, | |
0.008073184013366699, | |
0.008545280456542969, | |
0.007519231796264648, | |
0.007349247932434082, | |
0.0071833600997924804, | |
0.007124991893768311, | |
0.0071363520622253415, | |
0.007107583999633789, | |
0.007218175888061523, | |
0.007108607769012451, | |
0.007070623874664307, | |
0.007094367980957032, | |
0.007105535984039306, | |
0.007094272136688232, | |
0.007131135940551757, | |
0.00707583999633789, | |
0.007566336154937744, | |
0.007648128032684326, | |
0.007426047801971435, | |
0.007615327835083008, | |
0.007572512149810791, | |
0.007600096225738526, | |
0.007501823902130127, | |
0.00743833589553833, | |
0.007468031883239746, | |
0.007485439777374267, | |
0.007396351814270019, | |
0.007445407867431641, | |
0.007512063980102539, | |
0.007420032024383545, | |
0.0073994240760803225, | |
0.0073993921279907225, | |
0.00743833589553833, | |
0.007558144092559814, | |
0.007605247974395752, | |
0.007402495861053467, | |
0.0074106879234313965, | |
0.007422944068908691, | |
0.007480319976806641, | |
0.007456768035888672, | |
0.007383039951324463, | |
0.0073807997703552244, | |
0.007427072048187256, | |
0.007450463771820068, | |
0.007478271961212158, | |
0.007424223899841309, | |
0.007375872135162354, | |
0.007555071830749512, | |
0.007673855781555176, | |
0.00738105583190918, | |
0.0074291200637817386, | |
0.007378943920135498, | |
0.007386112213134765, | |
0.007394400119781494, | |
0.007357439994812012, | |
0.007389120101928711, | |
0.007361536026000977, | |
0.0073636798858642575, | |
0.007432191848754883, | |
0.007366655826568603, | |
0.0074823999404907224, | |
0.007548927783966064, | |
0.0073983359336853025, | |
0.007357439994812012, | |
0.007435264110565186, | |
0.007581696033477783, | |
0.007146431922912598, | |
0.007070720195770264, | |
0.007147520065307617, | |
0.007066624164581299, | |
0.007081984043121338, | |
0.007061503887176514, | |
0.007128064155578613, | |
0.007062528133392334, | |
0.007071616172790528, | |
0.007066624164581299, | |
0.007120895862579346, | |
0.007894847869873047, | |
0.007906303882598878, | |
0.008696831703186036, | |
0.0077487039566040035, | |
0.007461887836456299, | |
0.007488512039184571, | |
0.0074670081138610836, | |
0.007481215953826904, | |
0.007469056129455566, | |
0.007456768035888672, | |
0.007453695774078369, | |
0.0074629120826721195, | |
0.007436287879943848, | |
0.007425024032592774, | |
0.007452672004699707, | |
0.007548927783966064, | |
0.007525375843048096, | |
0.007398399829864502, | |
0.00740447998046875, | |
0.007349247932434082, | |
0.007379968166351319, | |
0.00736572790145874, | |
0.007387135982513428, | |
0.007363584041595459, | |
0.007392255783081054, | |
0.007375711917877197, | |
0.007334911823272705, | |
0.007361536026000977, | |
0.007619584083557129, | |
0.007583583831787109, | |
0.007459839820861816, | |
0.007665503978729248, | |
0.007539711952209473, | |
0.007420063972473145, | |
0.007448575973510742, | |
0.00743833589553833, | |
0.007412735939025879, | |
0.00740556812286377, | |
0.0074065918922424315, | |
0.007455743789672851, | |
0.007404543876647949, | |
0.0073768959045410155, | |
0.0073400321006774905, | |
0.007499839782714844, | |
0.007479296207427978, | |
0.00753766393661499, | |
0.0073697280883789065, | |
0.0075008001327514645, | |
0.007409664154052734, | |
0.007370751857757568, | |
0.007432191848754883, | |
0.0074035201072692874, | |
0.007374847888946533 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.37804378204112 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.763622248264053e-08, | |
"ram": 4.7911344051765573e-08, | |
"gpu": 1.5806385194117896e-07, | |
"total": 2.9361141847558507e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3405862.0921214405 | |
} | |
} | |
} | |
} |