IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6fdf8b6 verified
raw
history blame
13 kB
{
"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.225-213.878.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 802.34496,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3710283203125,
"mean": 8.3710283203125,
"stdev": 0.0,
"p50": 8.3710283203125,
"p90": 8.3710283203125,
"p95": 8.3710283203125,
"p99": 8.3710283203125,
"values": [
8.3710283203125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4678608638891734e-06,
"ram": 1.333609925663928e-06,
"gpu": 3.4750027800003677e-06,
"total": 7.276473569553469e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1088.67584,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"count": 166,
"total": 0.9959591679573064,
"mean": 0.005999754023839193,
"stdev": 0.00021299618632649963,
"p50": 0.006067199945449828,
"p90": 0.006189055919647217,
"p95": 0.006205487966537476,
"p99": 0.006531071805953979,
"values": [
0.006254591941833496,
0.006190080165863037,
0.00615123176574707,
0.006205440044403076,
0.006119423866271972,
0.006189055919647217,
0.006112256050109863,
0.006153215885162353,
0.006100992202758789,
0.006201344013214111,
0.006189055919647217,
0.006076416015625,
0.0061142721176147465,
0.006109183788299561,
0.00619212818145752,
0.006110208034515381,
0.006205440044403076,
0.00597811222076416,
0.005989376068115234,
0.006031360149383545,
0.006088704109191895,
0.006079487800598145,
0.006179840087890625,
0.006106112003326416,
0.0061562881469726565,
0.006170623779296875,
0.006090784072875976,
0.006114304065704346,
0.006042623996734619,
0.006115231990814209,
0.006087679862976075,
0.006138879776000977,
0.006104063987731933,
0.006158336162567139,
0.006106112003326416,
0.006151167869567871,
0.006072319984436035,
0.006155263900756836,
0.006139967918395996,
0.006096896171569824,
0.0061859841346740725,
0.006104063987731933,
0.006073344230651856,
0.005944320201873779,
0.005948416233062744,
0.005966847896575928,
0.006080512046813965,
0.006039552211761475,
0.0061265921592712404,
0.006062079906463623,
0.00608358383178711,
0.006032383918762207,
0.006097919940948486,
0.006085631847381592,
0.006160352230072021,
0.006153215885162353,
0.006138879776000977,
0.0062341117858886715,
0.006150144100189209,
0.006103040218353272,
0.005987360000610352,
0.006048768043518066,
0.006087679862976075,
0.006187007904052734,
0.006141952037811279,
0.006178815841674804,
0.006076416015625,
0.0061337599754333495,
0.006124544143676758,
0.006056960105895996,
0.005962751865386963,
0.006039552211761475,
0.006079487800598145,
0.0060026879310607914,
0.006142975807189942,
0.006091775894165039,
0.0059955201148986816,
0.0060282878875732426,
0.006085631847381592,
0.006093823909759521,
0.006319104194641113,
0.006946815967559815,
0.0066109437942504885,
0.0064880638122558594,
0.006079487800598145,
0.006203392028808594,
0.0062055039405822755,
0.006132736206054688,
0.006194176197052002,
0.006146048069000244,
0.006158336162567139,
0.006097983837127685,
0.006072319984436035,
0.006060031890869141,
0.006082560062408447,
0.005975039958953857,
0.005951488018035888,
0.0060928001403808595,
0.006391808032989502,
0.006151167869567871,
0.006095871925354004,
0.006057983875274659,
0.0059361281394958495,
0.006054912090301514,
0.0059770879745483394,
0.00576204776763916,
0.005631999969482422,
0.0056566081047058105,
0.0057415680885314945,
0.005913568019866943,
0.006033408164978027,
0.00596895980834961,
0.005991424083709717,
0.0060405759811401364,
0.0061521921157836916,
0.006328320026397705,
0.006041600227355957,
0.005907487869262695,
0.005898272037506104,
0.005880832195281982,
0.005937151908874512,
0.0058839359283447265,
0.005882880210876465,
0.005881855964660645,
0.005889023780822754,
0.005830656051635743,
0.006107135772705078,
0.005910528182983398,
0.0058716158866882326,
0.005909503936767578,
0.005850111961364746,
0.005795839786529541,
0.005882880210876465,
0.005827583789825439,
0.005726240158081055,
0.005657599925994873,
0.005633024215698243,
0.005675007820129394,
0.00563097620010376,
0.005757952213287353,
0.005640192031860352,
0.005679103851318359,
0.005633024215698243,
0.005645311832427978,
0.005661695957183838,
0.005628928184509278,
0.005652480125427246,
0.005646336078643799,
0.0056483840942382815,
0.005640255928039551,
0.005636096000671387,
0.005659647941589355,
0.005607423782348633,
0.005752831935882568,
0.00561356782913208,
0.005649407863616943,
0.005654528141021729,
0.005649407863616943,
0.005637119770050049,
0.005726208209991455,
0.00568726396560669,
0.0057415680885314945,
0.005623807907104492,
0.005684224128723145,
0.005963776111602783,
0.005879807949066162
]
},
"throughput": {
"unit": "samples/s",
"value": 166.67349961792405
},
"energy": {
"unit": "kWh",
"cpu": 6.689096654572507e-08,
"ram": 3.655210429825007e-08,
"gpu": 1.3479411532584145e-07,
"total": 2.3823718616981658e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4197497.527893044
}
}
}
}