
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8602465
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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 786.796544, | |
"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.33115576171875, | |
"mean": 7.33115576171875, | |
"stdev": 0.0, | |
"p50": 7.33115576171875, | |
"p90": 7.33115576171875, | |
"p95": 7.33115576171875, | |
"p99": 7.33115576171875, | |
"values": [ | |
7.33115576171875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.706440444440331e-07, | |
"ram": 4.607294815371928e-07, | |
"gpu": 0.0, | |
"total": 1.331373525981226e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.892288, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0035600957870483, | |
"mean": 0.007489254446172002, | |
"stdev": 0.00020840245559891922, | |
"p50": 0.007523839950561523, | |
"p90": 0.0076833213806152345, | |
"p95": 0.007782963252067566, | |
"p99": 0.008147199726104734, | |
"values": [ | |
0.0081725435256958, | |
0.00800051212310791, | |
0.008095744132995606, | |
0.007778304100036621, | |
0.007949312210083008, | |
0.007688255786895752, | |
0.0076984319686889645, | |
0.007658495903015137, | |
0.007643136024475097, | |
0.008390656471252441, | |
0.007370751857757568, | |
0.007234560012817383, | |
0.007222208023071289, | |
0.0072325119972229, | |
0.0072130560874938965, | |
0.007199679851531983, | |
0.007228415966033935, | |
0.00723967981338501, | |
0.007204864025115967, | |
0.007285759925842285, | |
0.007202816009521484, | |
0.007218175888061523, | |
0.007217152118682861, | |
0.007176191806793213, | |
0.007215104103088379, | |
0.007183328151702881, | |
0.007202816009521484, | |
0.007197696208953858, | |
0.007216127872467041, | |
0.0071905279159545895, | |
0.007073791980743408, | |
0.007094272136688232, | |
0.007346176147460938, | |
0.007428095817565918, | |
0.007437312126159668, | |
0.007441472053527832, | |
0.007404543876647949, | |
0.007365632057189942, | |
0.007396351814270019, | |
0.007463935852050781, | |
0.007524352073669433, | |
0.007531519889831543, | |
0.00769536018371582, | |
0.007469056129455566, | |
0.007489535808563232, | |
0.007444479942321777, | |
0.007437312126159668, | |
0.007407616138458252, | |
0.007396351814270019, | |
0.007408639907836914, | |
0.007354368209838867, | |
0.007370751857757568, | |
0.007359488010406494, | |
0.0074035201072692874, | |
0.007366655826568603, | |
0.007392223834991455, | |
0.00762063980102539, | |
0.007823359966278077, | |
0.007727104187011719, | |
0.00753766393661499, | |
0.007516160011291504, | |
0.007490560054779053, | |
0.00749571180343628, | |
0.007505919933319092, | |
0.007486464023590088, | |
0.007523327827453613, | |
0.0074997758865356446, | |
0.007475200176239013, | |
0.007464960098266602, | |
0.007535615921020508, | |
0.007494656085968018, | |
0.007378943920135498, | |
0.0072427520751953125, | |
0.007243840217590332, | |
0.0072509760856628415, | |
0.007201856136322022, | |
0.007192575931549072, | |
0.007236608028411865, | |
0.007238656044006348, | |
0.007219200134277344, | |
0.007205887794494629, | |
0.007553023815155029, | |
0.007608320236206055, | |
0.007613440036773681, | |
0.007584735870361328, | |
0.007558144092559814, | |
0.007584799766540527, | |
0.00760319995880127, | |
0.007614496231079101, | |
0.007609344005584716, | |
0.00760422420501709, | |
0.007576576232910156, | |
0.007734272003173828, | |
0.007638016223907471, | |
0.007656447887420655, | |
0.007667712211608887, | |
0.007639039993286132, | |
0.007667712211608887, | |
0.007714816093444824, | |
0.007671807765960693, | |
0.007617536067962646, | |
0.0077916159629821775, | |
0.007601151943206787, | |
0.007588863849639893, | |
0.007556096076965332, | |
0.00754585599899292, | |
0.00757862377166748, | |
0.00759603214263916, | |
0.0075980801582336424, | |
0.00760319995880127, | |
0.007548927783966064, | |
0.007541759967803955, | |
0.007553023815155029, | |
0.007525375843048096, | |
0.007542784214019775, | |
0.007522304058074952, | |
0.007556096076965332, | |
0.007547904014587403, | |
0.007539711952209473, | |
0.007517151832580567, | |
0.007555071830749512, | |
0.007555071830749512, | |
0.00753766393661499, | |
0.007541696071624756, | |
0.00753868818283081, | |
0.007552000045776367, | |
0.007543807983398438, | |
0.007552063941955566, | |
0.00754585599899292, | |
0.0075304961204528805, | |
0.007547904014587403, | |
0.007517183780670166, | |
0.007507967948913574, | |
0.007524352073669433 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.52463949347216 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.613512717894367e-08, | |
"ram": 4.7092868512955584e-08, | |
"gpu": 1.5990753533332937e-07, | |
"total": 2.9313553102522864e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3411391.2991118613 | |
} | |
} | |
} | |
} |