
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1d1cc88
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.33.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": 787.06688, | |
"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.4013828125, | |
"mean": 7.4013828125, | |
"stdev": 0.0, | |
"p50": 7.4013828125, | |
"p90": 7.4013828125, | |
"p95": 7.4013828125, | |
"p99": 7.4013828125, | |
"values": [ | |
7.4013828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.148247659701447e-07, | |
"ram": 4.654342430287496e-07, | |
"gpu": 1.7013902500005035e-06, | |
"total": 3.0816492589993977e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.433536, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0007062058448795, | |
"mean": 0.007757412448409915, | |
"stdev": 0.00023443108987691015, | |
"p50": 0.0077199358940124516, | |
"p90": 0.008049049949645996, | |
"p95": 0.008136293983459471, | |
"p99": 0.008263147392272949, | |
"values": [ | |
0.008272895812988281, | |
0.008299519538879394, | |
0.008173567771911621, | |
0.008238080024719239, | |
0.008182687759399414, | |
0.007639039993286132, | |
0.007757855892181397, | |
0.007768064022064209, | |
0.008069120407104492, | |
0.00808448028564453, | |
0.008080384254455567, | |
0.007995391845703125, | |
0.007629824161529541, | |
0.007573503971099854, | |
0.007570432186126709, | |
0.007663680076599121, | |
0.007705599784851074, | |
0.00765235185623169, | |
0.007685088157653809, | |
0.0076574721336364745, | |
0.007673888206481933, | |
0.0077547521591186525, | |
0.007703551769256592, | |
0.007712768077850342, | |
0.007674880027770996, | |
0.0077199358940124516, | |
0.007709695816040039, | |
0.007982079982757568, | |
0.008040448188781739, | |
0.00800870418548584, | |
0.00793497610092163, | |
0.007925759792327881, | |
0.008036352157592774, | |
0.007955455780029297, | |
0.007979008197784423, | |
0.007971839904785156, | |
0.007967743873596191, | |
0.008148991584777832, | |
0.00783462381362915, | |
0.007773183822631836, | |
0.007683072090148926, | |
0.007712768077850342, | |
0.007646207809448242, | |
0.007578656196594238, | |
0.007686143875122071, | |
0.00764415979385376, | |
0.007927807807922363, | |
0.008062975883483887, | |
0.007971839904785156, | |
0.007955455780029297, | |
0.007941120147705078, | |
0.007935999870300293, | |
0.008035327911376953, | |
0.007948287963867188, | |
0.007887872219085693, | |
0.007871488094329833, | |
0.007902207851409913, | |
0.007888895988464355, | |
0.007944191932678223, | |
0.00796569585800171, | |
0.008069120407104492, | |
0.008157216072082519, | |
0.008027135848999023, | |
0.008117247581481933, | |
0.00800870418548584, | |
0.00801587200164795, | |
0.00800160026550293, | |
0.00792572784423828, | |
0.007979008197784423, | |
0.00803116798400879, | |
0.007955455780029297, | |
0.007857151985168457, | |
0.00780083179473877, | |
0.007949312210083008, | |
0.0077578239440917966, | |
0.007573440074920655, | |
0.007519231796264648, | |
0.007554048061370849, | |
0.007927807807922363, | |
0.007836671829223632, | |
0.007849984169006348, | |
0.007855103969573975, | |
0.008045568466186523, | |
0.007928832054138184, | |
0.007848959922790527, | |
0.007787519931793213, | |
0.007704576015472412, | |
0.007723008155822754, | |
0.007740416049957275, | |
0.007629824161529541, | |
0.007592864036560058, | |
0.007590911865234375, | |
0.007541855812072754, | |
0.007480319976806641, | |
0.007615488052368164, | |
0.00743936014175415, | |
0.007548927783966064, | |
0.007582719802856445, | |
0.0075980801582336424, | |
0.007575551986694336, | |
0.007521279811859131, | |
0.007483391761779785, | |
0.007379968166351319, | |
0.007394303798675537, | |
0.007416831970214844, | |
0.007395328044891358, | |
0.007409664154052734, | |
0.0074035201072692874, | |
0.007402495861053467, | |
0.0075335679054260255, | |
0.0074997758865356446, | |
0.007483391761779785, | |
0.0075038719177246095, | |
0.007528448104858398, | |
0.007524352073669433, | |
0.007489535808563232, | |
0.007498752117156982, | |
0.007478240013122558, | |
0.007423999786376953, | |
0.0074967041015625, | |
0.007452672004699707, | |
0.0074997758865356446, | |
0.007528448104858398, | |
0.007410912036895752, | |
0.007468031883239746, | |
0.007459839820861816, | |
0.007506944179534912, | |
0.007511040210723877, | |
0.007458816051483155 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.9089637363521 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.834466357276132e-08, | |
"ram": 4.8299646605996264e-08, | |
"gpu": 1.674752583582042e-07, | |
"total": 3.0411956853696173e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3288180.38513843 | |
} | |
} | |
} | |
} |