
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
76edc18
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.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 719.818752, | |
"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.2005234375, | |
"mean": 7.2005234375, | |
"stdev": 0.0, | |
"p50": 7.2005234375, | |
"p90": 7.2005234375, | |
"p95": 7.2005234375, | |
"p99": 7.2005234375, | |
"values": [ | |
7.2005234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.14078950881958e-07, | |
"ram": 4.73466940302482e-07, | |
"gpu": 0.0, | |
"total": 1.38754589118444e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.392256, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9990100469589235, | |
"mean": 0.007345662109992083, | |
"stdev": 0.00019574673009879892, | |
"p50": 0.007333343982696533, | |
"p90": 0.007592447996139526, | |
"p95": 0.007696639895439148, | |
"p99": 0.008041420769691467, | |
"values": [ | |
0.007619584083557129, | |
0.007763904094696045, | |
0.007552000045776367, | |
0.007573503971099854, | |
0.007546879768371582, | |
0.007494656085968018, | |
0.007377920150756836, | |
0.007367616176605225, | |
0.007341055870056152, | |
0.007332863807678222, | |
0.007393280029296875, | |
0.007378943920135498, | |
0.007293951988220215, | |
0.007192575931549072, | |
0.007456768035888672, | |
0.007325695991516113, | |
0.007378943920135498, | |
0.007385087966918945, | |
0.0074065918922424315, | |
0.007342080116271973, | |
0.007336959838867187, | |
0.007327744007110596, | |
0.007358431816101074, | |
0.007361536026000977, | |
0.007365632057189942, | |
0.007390143871307373, | |
0.007378943920135498, | |
0.007354368209838867, | |
0.007333824157714844, | |
0.007243775844573975, | |
0.007336959838867187, | |
0.007291903972625732, | |
0.007251967906951904, | |
0.00724889612197876, | |
0.007184383869171143, | |
0.007233535766601563, | |
0.007309311866760254, | |
0.007307263851165771, | |
0.007477183818817138, | |
0.0073993921279907225, | |
0.007364607810974121, | |
0.0073134078979492185, | |
0.007364607810974121, | |
0.007371776103973389, | |
0.007287807941436767, | |
0.007292928218841553, | |
0.007318528175354004, | |
0.007311359882354736, | |
0.007302144050598145, | |
0.007349247932434082, | |
0.0075980801582336424, | |
0.007507967948913574, | |
0.007742464065551758, | |
0.007916543960571289, | |
0.00765337610244751, | |
0.007527423858642578, | |
0.007431168079376221, | |
0.007506944179534912, | |
0.007459839820861816, | |
0.00725708818435669, | |
0.007285759925842285, | |
0.007334911823272705, | |
0.007361536026000977, | |
0.007375872135162354, | |
0.007333888053894043, | |
0.007407616138458252, | |
0.007366655826568603, | |
0.00810905647277832, | |
0.007663616180419922, | |
0.0075980801582336424, | |
0.007686143875122071, | |
0.008071167945861817, | |
0.0077281279563903805, | |
0.00738918399810791, | |
0.0074711041450500485, | |
0.007483391761779785, | |
0.007419904232025146, | |
0.007223296165466309, | |
0.007312384128570557, | |
0.0074106879234313965, | |
0.007423967838287354, | |
0.00744652795791626, | |
0.0074967041015625, | |
0.00758681583404541, | |
0.007986176013946533, | |
0.007669760227203369, | |
0.007486495971679687, | |
0.0073431038856506346, | |
0.007312384128570557, | |
0.0072724480628967286, | |
0.007262207984924316, | |
0.007258111953735351, | |
0.007363584041595459, | |
0.007218175888061523, | |
0.0072202239036560055, | |
0.0071905279159545895, | |
0.007101439952850342, | |
0.007175168037414551, | |
0.0072765440940856935, | |
0.007187456130981445, | |
0.007187456130981445, | |
0.007098400115966797, | |
0.0071526398658752445, | |
0.007177216053009033, | |
0.007148575782775879, | |
0.007127039909362793, | |
0.0071188478469848635, | |
0.007157760143280029, | |
0.007171103954315186, | |
0.007169023990631103, | |
0.0070830078125, | |
0.007282688140869141, | |
0.007493631839752197, | |
0.007351295948028564, | |
0.00719974422454834, | |
0.007172095775604248, | |
0.007165952205657959, | |
0.007195648193359375, | |
0.007251967906951904, | |
0.007159808158874512, | |
0.00713318395614624, | |
0.007102464199066162, | |
0.0071188478469848635, | |
0.007146495819091797, | |
0.00714035177230835, | |
0.007121920108795166, | |
0.007107583999633789, | |
0.007162879943847656, | |
0.007143424034118652, | |
0.007109632015228271, | |
0.007129087924957276, | |
0.007101439952850342, | |
0.007017471790313721, | |
0.007148575782775879, | |
0.007131135940551757, | |
0.007128064155578613 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.13476702661427 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.524468453000966e-08, | |
"ram": 4.660891444952861e-08, | |
"gpu": 1.6231827533813301e-07, | |
"total": 2.941718743176713e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3399373.248443584 | |
} | |
} | |
} | |
} |