
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
86540f0
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.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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": 718.733312, | |
"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.16407080078125, | |
"mean": 7.16407080078125, | |
"stdev": 0.0, | |
"p50": 7.16407080078125, | |
"p90": 7.16407080078125, | |
"p95": 7.16407080078125, | |
"p99": 7.16407080078125, | |
"values": [ | |
7.16407080078125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.090153707398309e-07, | |
"ram": 4.6349965369074653e-07, | |
"gpu": 1.6241679660009e-06, | |
"total": 2.9966829904314777e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.388736, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.997264353752136, | |
"mean": 0.0073871433611269344, | |
"stdev": 0.00015817991537184483, | |
"p50": 0.007386112213134765, | |
"p90": 0.007540736103057861, | |
"p95": 0.0076408832073211665, | |
"p99": 0.007930941514968872, | |
"values": [ | |
0.00764518404006958, | |
0.007639039993286132, | |
0.007633920192718506, | |
0.0075970559120178225, | |
0.00753766393661499, | |
0.00748854398727417, | |
0.00759500789642334, | |
0.007394303798675537, | |
0.007349247932434082, | |
0.0074065918922424315, | |
0.007386112213134765, | |
0.0073134078979492185, | |
0.007301119804382325, | |
0.007344128131866455, | |
0.007324672222137451, | |
0.007412735939025879, | |
0.007444479942321777, | |
0.007401472091674805, | |
0.007383039951324463, | |
0.007327744007110596, | |
0.007460864067077637, | |
0.00740556812286377, | |
0.0074332160949707035, | |
0.0074332160949707035, | |
0.007469056129455566, | |
0.00739737606048584, | |
0.007384096145629883, | |
0.007398399829864502, | |
0.007345151901245117, | |
0.007383039951324463, | |
0.007319551944732666, | |
0.007314432144165039, | |
0.007332863807678222, | |
0.007326720237731933, | |
0.007355391979217529, | |
0.007318528175354004, | |
0.007370751857757568, | |
0.007468031883239746, | |
0.007431168079376221, | |
0.007411712169647216, | |
0.00744652795791626, | |
0.007356416225433349, | |
0.007261184215545655, | |
0.007372831821441651, | |
0.0074106879234313965, | |
0.007385087966918945, | |
0.007386112213134765, | |
0.007392255783081054, | |
0.0072540159225463864, | |
0.00728985595703125, | |
0.007352320194244385, | |
0.007370816230773926, | |
0.007401472091674805, | |
0.007315455913543701, | |
0.007334911823272705, | |
0.007334911823272705, | |
0.00738099193572998, | |
0.007385087966918945, | |
0.007367680072784424, | |
0.007480319976806641, | |
0.007486464023590088, | |
0.007407616138458252, | |
0.00743120002746582, | |
0.0074291200637817386, | |
0.007387135982513428, | |
0.0074065918922424315, | |
0.007334943771362305, | |
0.007361504077911377, | |
0.007321599960327148, | |
0.007243775844573975, | |
0.007171072006225586, | |
0.007173120021820068, | |
0.007261184215545655, | |
0.007200767993927002, | |
0.006917088031768799, | |
0.006956031799316406, | |
0.006976511955261231, | |
0.007012351989746094, | |
0.00719155216217041, | |
0.007322624206542969, | |
0.007779263973236084, | |
0.007869440078735352, | |
0.007962624073028564, | |
0.008076288223266602, | |
0.007803904056549072, | |
0.007609280109405517, | |
0.007542784214019775, | |
0.007576576232910156, | |
0.007506944179534912, | |
0.007412735939025879, | |
0.007393280029296875, | |
0.0074291200637817386, | |
0.007420928001403809, | |
0.00744755220413208, | |
0.0072724480628967286, | |
0.007262207984924316, | |
0.007284736156463623, | |
0.007221248149871826, | |
0.007247871875762939, | |
0.007269375801086426, | |
0.007265279769897461, | |
0.0072765440940856935, | |
0.007231488227844239, | |
0.007260159969329834, | |
0.007261184215545655, | |
0.007286784172058106, | |
0.00727347183227539, | |
0.007269375801086426, | |
0.007265279769897461, | |
0.007277567863464355, | |
0.0072325119972229, | |
0.007262239933013916, | |
0.007365632057189942, | |
0.007412735939025879, | |
0.007417856216430664, | |
0.007404543876647949, | |
0.007443456172943115, | |
0.007422976016998291, | |
0.007414783954620361, | |
0.007396351814270019, | |
0.007796735763549805, | |
0.007412767887115478, | |
0.007390207767486572, | |
0.007431136131286621, | |
0.007426047801971435, | |
0.00742195177078247, | |
0.007425024032592774, | |
0.007419904232025146, | |
0.007403456211090088, | |
0.007373824119567871, | |
0.007432191848754883, | |
0.007401472091674805, | |
0.00740553617477417, | |
0.007413760185241699, | |
0.007325695991516113 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.3703253225407 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.683488413461901e-08, | |
"ram": 4.7377911439898366e-08, | |
"gpu": 1.601177274452518e-07, | |
"total": 2.943305230197692e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3397540.9337102068 | |
} | |
} | |
} | |
} |