
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3897f68
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.29568, | |
"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.42494921875, | |
"mean": 7.42494921875, | |
"stdev": 0.0, | |
"p50": 7.42494921875, | |
"p90": 7.42494921875, | |
"p95": 7.42494921875, | |
"p99": 7.42494921875, | |
"values": [ | |
7.42494921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.831511451390779e-07, | |
"ram": 4.6791896500533104e-07, | |
"gpu": 0.0, | |
"total": 1.351070110144409e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.903424, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 1.0032639694213867, | |
"mean": 0.007658503583369365, | |
"stdev": 0.0004276461955156943, | |
"p50": 0.007638016223907471, | |
"p90": 0.007718912124633789, | |
"p95": 0.007965167999267577, | |
"p99": 0.009998540592193584, | |
"values": [ | |
0.010773504257202148, | |
0.01050111961364746, | |
0.00882585620880127, | |
0.008359935760498047, | |
0.008246272087097169, | |
0.0074106879234313965, | |
0.00727347183227539, | |
0.007282688140869141, | |
0.007516160011291504, | |
0.007692287921905518, | |
0.007696383953094482, | |
0.007758848190307617, | |
0.007667712211608887, | |
0.007617536067962646, | |
0.007672832012176513, | |
0.007642144203186035, | |
0.0076574721336364745, | |
0.007677951812744141, | |
0.007674880027770996, | |
0.007659520149230957, | |
0.007654399871826172, | |
0.007674880027770996, | |
0.007643167972564697, | |
0.007667712211608887, | |
0.007663616180419922, | |
0.007642111778259277, | |
0.00760422420501709, | |
0.007624703884124756, | |
0.007618527889251709, | |
0.007628799915313721, | |
0.007642111778259277, | |
0.007650303840637207, | |
0.007648255825042725, | |
0.007655424118041992, | |
0.007650303840637207, | |
0.00765340805053711, | |
0.007634943962097168, | |
0.0076943359375, | |
0.007611392021179199, | |
0.007621632099151611, | |
0.007707647800445557, | |
0.00809779167175293, | |
0.007846911907196046, | |
0.0076912641525268555, | |
0.007681024074554443, | |
0.007689216136932373, | |
0.0076574721336364745, | |
0.007663551807403564, | |
0.007631872177124023, | |
0.007649280071258545, | |
0.007676928043365478, | |
0.007647232055664062, | |
0.007638016223907471, | |
0.0076267518997192385, | |
0.0075939841270446775, | |
0.007513088226318359, | |
0.007531519889831543, | |
0.007512063980102539, | |
0.007575551986694336, | |
0.007490496158599854, | |
0.007633920192718506, | |
0.007639039993286132, | |
0.007631872177124023, | |
0.007539711952209473, | |
0.00749567985534668, | |
0.007505919933319092, | |
0.007506944179534912, | |
0.0074741759300231934, | |
0.007506944179534912, | |
0.007485439777374267, | |
0.007490560054779053, | |
0.007459839820861816, | |
0.007468095779418945, | |
0.007473087787628173, | |
0.0074700798988342285, | |
0.0074926080703735356, | |
0.007491583824157715, | |
0.007558144092559814, | |
0.007481344223022461, | |
0.007712768077850342, | |
0.007632895946502686, | |
0.007654399871826172, | |
0.007983104228973388, | |
0.007947231769561768, | |
0.00783564805984497, | |
0.007715839862823487, | |
0.007672832012176513, | |
0.007639039993286132, | |
0.007746560096740723, | |
0.0076605439186096195, | |
0.007710720062255859, | |
0.007667712211608887, | |
0.007718912124633789, | |
0.007671807765960693, | |
0.0076687359809875484, | |
0.007685120105743408, | |
0.007628799915313721, | |
0.007671807765960693, | |
0.007669760227203369, | |
0.007669760227203369, | |
0.007670783996582031, | |
0.007667712211608887, | |
0.00765235185623169, | |
0.007673855781555176, | |
0.007621632099151611, | |
0.007635968208312988, | |
0.007611392021179199, | |
0.007633920192718506, | |
0.007869440078735352, | |
0.007600128173828125, | |
0.007590911865234375, | |
0.00760422420501709, | |
0.0075980801582336424, | |
0.007622655868530274, | |
0.007615488052368164, | |
0.007649280071258545, | |
0.007632895946502686, | |
0.007615488052368164, | |
0.007584767818450928, | |
0.007631872177124023, | |
0.0072120318412780765, | |
0.007293951988220215, | |
0.007297056198120117, | |
0.007316480159759522, | |
0.007227392196655274, | |
0.007138304233551026, | |
0.007112703800201416, | |
0.007134208202362061, | |
0.007122943878173828, | |
0.007146527767181396, | |
0.007097343921661377 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.5738110734224 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.557690582034455e-08, | |
"ram": 4.6768917744239454e-08, | |
"gpu": 1.6166279919424683e-07, | |
"total": 2.940086227588308e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3401260.7882602112 | |
} | |
} | |
} | |
} |