
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cc8e81a
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": 788.80768, | |
"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.35494970703125, | |
"mean": 7.35494970703125, | |
"stdev": 0.0, | |
"p50": 7.35494970703125, | |
"p90": 7.35494970703125, | |
"p95": 7.35494970703125, | |
"p99": 7.35494970703125, | |
"values": [ | |
7.35494970703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.759536756941818e-07, | |
"ram": 4.6330503904866245e-07, | |
"gpu": 0.0, | |
"total": 1.3392587147428443e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.78464, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.001103294372559, | |
"mean": 0.007700794572096605, | |
"stdev": 0.00016775239387551024, | |
"p50": 0.007673855781555176, | |
"p90": 0.007997439861297608, | |
"p95": 0.008055039691925048, | |
"p99": 0.008096215314865112, | |
"values": [ | |
0.008244223594665527, | |
0.008103936195373536, | |
0.008064000129699708, | |
0.008046591758728027, | |
0.008010751724243164, | |
0.007997439861297608, | |
0.007997439861297608, | |
0.007997439861297608, | |
0.007976960182189942, | |
0.008004608154296875, | |
0.007949312210083008, | |
0.007922688007354736, | |
0.007963647842407226, | |
0.007980991840362548, | |
0.00800051212310791, | |
0.008077312469482421, | |
0.008061951637268066, | |
0.008072192192077637, | |
0.007682047843933106, | |
0.007673855781555176, | |
0.0077578239440917966, | |
0.0077547521591186525, | |
0.007725056171417236, | |
0.0077608962059021, | |
0.007772160053253174, | |
0.007708672046661377, | |
0.0077270717620849605, | |
0.007693312168121338, | |
0.007725056171417236, | |
0.007696383953094482, | |
0.00760319995880127, | |
0.007610367774963379, | |
0.007662591934204102, | |
0.007664639949798584, | |
0.007683072090148926, | |
0.007707647800445557, | |
0.007697408199310303, | |
0.00775270414352417, | |
0.007806975841522217, | |
0.007734272003173828, | |
0.007788544178009033, | |
0.007771135807037354, | |
0.007661568164825439, | |
0.007673855781555176, | |
0.007759871959686279, | |
0.00774451208114624, | |
0.00765235185623169, | |
0.007683072090148926, | |
0.0076574721336364745, | |
0.007642111778259277, | |
0.0076943359375, | |
0.007658495903015137, | |
0.007739327907562256, | |
0.0076984319686889645, | |
0.007656447887420655, | |
0.007707647800445557, | |
0.007656447887420655, | |
0.007620607852935791, | |
0.007675903797149658, | |
0.007667712211608887, | |
0.007766016006469726, | |
0.007890944004058837, | |
0.007730175971984863, | |
0.007732223987579345, | |
0.007783423900604248, | |
0.007673855781555176, | |
0.007709695816040039, | |
0.007666719913482666, | |
0.007629824161529541, | |
0.007755775928497314, | |
0.007590911865234375, | |
0.007617536067962646, | |
0.007457791805267334, | |
0.007488512039184571, | |
0.007625760078430176, | |
0.007418879985809326, | |
0.007271423816680909, | |
0.007302144050598145, | |
0.007556096076965332, | |
0.007825407981872558, | |
0.007803904056549072, | |
0.007768064022064209, | |
0.007935999870300293, | |
0.008062975883483887, | |
0.007783423900604248, | |
0.007730175971984863, | |
0.0076902399063110355, | |
0.007721983909606934, | |
0.007700479984283447, | |
0.007658495903015137, | |
0.007615488052368164, | |
0.007623648166656494, | |
0.007602176189422607, | |
0.007619584083557129, | |
0.007566336154937744, | |
0.007543776035308838, | |
0.007519231796264648, | |
0.00753868818283081, | |
0.007693312168121338, | |
0.007589888095855713, | |
0.007577600002288819, | |
0.007591936111450195, | |
0.007599103927612305, | |
0.007582719802856445, | |
0.007584767818450928, | |
0.007569407939910889, | |
0.007548927783966064, | |
0.007588863849639893, | |
0.007573503971099854, | |
0.00758681583404541, | |
0.007575551986694336, | |
0.007576576232910156, | |
0.007556096076965332, | |
0.0075632638931274416, | |
0.007540736198425293, | |
0.007589888095855713, | |
0.007521279811859131, | |
0.007574528217315674, | |
0.007539711952209473, | |
0.007543839931488037, | |
0.007532544136047363, | |
0.007547904014587403, | |
0.007558144092559814, | |
0.007576576232910156, | |
0.007576576232910156, | |
0.007568448066711426, | |
0.007549952030181885, | |
0.007561215877532959, | |
0.007559167861938477, | |
0.007544832229614258 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.85672980077194 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.791839813271873e-08, | |
"ram": 4.80683188801483e-08, | |
"gpu": 1.6906597887407645e-07, | |
"total": 3.050526958869435e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3278122.1522809067 | |
} | |
} | |
} | |
} |