IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
13e7ec1 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 818.01216,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07274291229248046
],
"count": 1,
"total": 0.07274291229248046,
"mean": 0.07274291229248046,
"p50": 0.07274291229248046,
"p90": 0.07274291229248046,
"p95": 0.07274291229248046,
"p99": 0.07274291229248046,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1095.098368,
"max_global_vram": 1207.435264,
"max_process_vram": 0.0,
"max_reserved": 559.939584,
"max_allocated": 510.51264
},
"latency": {
"unit": "s",
"values": [
0.006411263942718506,
0.006440896034240723,
0.006251520156860352,
0.006116352081298828,
0.006086656093597412,
0.006130688190460205,
0.0062341117858886715,
0.006340608119964599,
0.006157279968261719,
0.006220799922943115,
0.006217728137969971,
0.006281216144561768,
0.0062228479385375976,
0.006255616188049316,
0.006272160053253174,
0.006131711959838867,
0.006200319766998291,
0.006293504238128662,
0.006498303890228272,
0.006343679904937744,
0.006461440086364746,
0.006434815883636475,
0.006330239772796631,
0.006316959857940674,
0.006350783824920654,
0.006413375854492188,
0.006448128223419189,
0.006384640216827392,
0.00637440013885498,
0.006378367900848388,
0.006739967823028564,
0.006477983951568603,
0.006482944011688232,
0.006445055961608887,
0.0065443840026855465,
0.006490079879760742,
0.006509568214416504,
0.006518784046173095,
0.006527999877929688,
0.0064778561592102055,
0.006450175762176514,
0.006676479816436768,
0.006406144142150879,
0.0064204797744750975,
0.006482944011688232,
0.00652185583114624,
0.006453248023986816,
0.0064440321922302245,
0.006483871936798096,
0.006493216037750244,
0.006375423908233643,
0.0063805441856384275,
0.006404096126556396,
0.006618112087249756,
0.006574143886566162,
0.0063937602043151855,
0.006711135864257813,
0.006557568073272705,
0.006405119895935059,
0.006392831802368164,
0.006313983917236328,
0.0063836159706115725,
0.006419456005096436,
0.006362112045288086,
0.006440864086151123,
0.006402048110961914,
0.0064091839790344236,
0.006360064029693604,
0.00632422399520874,
0.006406079769134521,
0.00653004789352417,
0.006435840129852295,
0.006516736030578613,
0.0064552001953125,
0.006589439868927002,
0.006492159843444824,
0.00636518383026123,
0.006376448154449463,
0.0064133119583129885,
0.006469632148742676,
0.00628223991394043,
0.0063272957801818845,
0.006575104236602783,
0.006345695972442627,
0.006310912132263183,
0.006258656024932861,
0.006105088233947754,
0.0062576642036437985,
0.0064133119583129885,
0.006191232204437256,
0.005955615997314453,
0.006000703811645508,
0.006078464031219482,
0.00610697603225708,
0.006048768043518066,
0.0061224961280822755,
0.006180928230285644,
0.006220799922943115,
0.006478847980499268,
0.006367231845855713,
0.0065279040336608885,
0.00620851182937622,
0.006070144176483154,
0.006069248199462891,
0.00608460807800293,
0.006080512046813965,
0.006088704109191895,
0.006157311916351318,
0.006103968143463135,
0.006086527824401855,
0.005962751865386963,
0.006097919940948486,
0.006008831977844238,
0.006049791812896729,
0.006109183788299561,
0.006065152168273926,
0.006020959854125977,
0.006020095825195313,
0.006009856224060059,
0.006015999794006348,
0.005950463771820068,
0.005945407867431641,
0.00601907205581665,
0.00600380802154541,
0.005982207775115967,
0.005980160236358643,
0.005991487979888916,
0.005954559803009033,
0.005984255790710449,
0.006025216102600098,
0.005989215850830078,
0.005997568130493164,
0.0059526081085205075,
0.005979135990142822,
0.005952383995056152,
0.0060293121337890625,
0.006004735946655273,
0.005963776111602783,
0.005993311882019043,
0.006041600227355957,
0.006044672012329101,
0.006062079906463623,
0.0060026879310607914,
0.00597811222076416,
0.005975039958953857,
0.006025216102600098,
0.005963679790496826,
0.006030399799346924,
0.005981184005737304,
0.00597811222076416,
0.006266880035400391,
0.006231103897094727,
0.006302720069885254,
0.00597811222076416,
0.005984255790710449,
0.0059639358520507816,
0.006009856224060059,
0.005962751865386963,
0.006007808208465576,
0.006001664161682129
],
"count": 160,
"total": 0.9992824320793154,
"mean": 0.00624551520049572,
"p50": 0.006258160114288329,
"p90": 0.006499430322647095,
"p95": 0.006545043206214904,
"p99": 0.006690688796043396,
"stdev": 0.00020868325663683186,
"stdev_": 3.34132973722117
},
"throughput": {
"unit": "samples/s",
"value": 320.2297866221278
},
"energy": {
"unit": "kWh",
"cpu": 6.943855382147155e-08,
"ram": 3.7942049983938475e-08,
"gpu": 1.7769020063157398e-07,
"total": 2.8507080443698404e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7015800.877785461
}
}
}
}