IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
354355e verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.224-212.876.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.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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.227904,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9920361328125,
"mean": 7.9920361328125,
"stdev": 0.0,
"p50": 7.9920361328125,
"p90": 7.9920361328125,
"p95": 7.9920361328125,
"p99": 7.9920361328125,
"values": [
7.9920361328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4890754708381897e-06,
"ram": 1.3454231824052734e-06,
"gpu": 3.29333596801179e-06,
"total": 7.127834621255253e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1089.077248,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 142,
"total": 1.0013151988983153,
"mean": 0.007051515485199405,
"stdev": 0.0003232086439693288,
"p50": 0.00711680006980896,
"p90": 0.007290163373947144,
"p95": 0.00745768940448761,
"p99": 0.008120166339874267,
"values": [
0.007366655826568603,
0.007290880203247071,
0.007326720237731933,
0.007238656044006348,
0.007251967906951904,
0.007222271919250488,
0.007257152080535889,
0.007225344181060791,
0.007174143791198731,
0.007230463981628418,
0.0071495361328125,
0.007230463981628418,
0.007266304016113281,
0.007105535984039306,
0.007117824077606201,
0.00707583999633789,
0.007135168075561523,
0.007145472049713135,
0.007201791763305664,
0.0072427520751953125,
0.007256063938140869,
0.007258111953735351,
0.007168000221252442,
0.007161856174468994,
0.007258111953735351,
0.0071833600997924804,
0.0072499198913574215,
0.007188479900360107,
0.007189504146575928,
0.00719155216217041,
0.007139328002929687,
0.007185408115386963,
0.00719155216217041,
0.007201791763305664,
0.007218175888061523,
0.007176191806793213,
0.007080959796905518,
0.007111680030822754,
0.007264256000518799,
0.007159872055053711,
0.0072540159225463864,
0.0071157760620117185,
0.007171072006225586,
0.007164927959442138,
0.007170015811920166,
0.00722431993484497,
0.007203839778900147,
0.007252992153167725,
0.007196735858917236,
0.007112736225128174,
0.007110655784606934,
0.007105535984039306,
0.007261184215545655,
0.007256063938140869,
0.007139328002929687,
0.007352320194244385,
0.007202816009521484,
0.007142399787902832,
0.007076863765716553,
0.007127039909362793,
0.007105504035949707,
0.007090176105499267,
0.007322624206542969,
0.007107583999633789,
0.007144447803497315,
0.007163904190063477,
0.00709939193725586,
0.007404543876647949,
0.007145472049713135,
0.007142399787902832,
0.007186431884765625,
0.007231488227844239,
0.0072837119102478025,
0.007264256000518799,
0.0072130560874938965,
0.006874112129211426,
0.006808544158935547,
0.00679417610168457,
0.006793216228485107,
0.006750207901000976,
0.006657023906707763,
0.006804480075836182,
0.006717440128326416,
0.006694911956787109,
0.006652927875518798,
0.006536191940307618,
0.006615039825439453,
0.0067358717918396,
0.0065443840026855465,
0.0063907837867736815,
0.006400000095367431,
0.006419456005096436,
0.007897056102752686,
0.008111104011535645,
0.008126463890075684,
0.00826476764678955,
0.007455743789672851,
0.007714784145355225,
0.0071157760620117185,
0.006970367908477783,
0.006790143966674805,
0.006743040084838867,
0.0067645440101623535,
0.006813695907592773,
0.006717440128326416,
0.006774784088134766,
0.0067645440101623535,
0.006713344097137451,
0.006722559928894043,
0.00672051191329956,
0.006780928134918213,
0.006696959972381592,
0.0067276802062988285,
0.006743040084838867,
0.0067123198509216305,
0.006931456089019775,
0.006759424209594727,
0.006730751991271973,
0.007457791805267334,
0.007846911907196046,
0.007855103969573975,
0.006880256175994873,
0.006774784088134766,
0.0067758078575134275,
0.006842368125915528,
0.006739967823028564,
0.006724607944488525,
0.0067870721817016606,
0.006779903888702392,
0.0068228478431701664,
0.0067358717918396,
0.00674508810043335,
0.006767615795135498,
0.006726655960083008,
0.006807551860809326,
0.006795263767242431,
0.00675328016281128,
0.006724607944488525,
0.006703104019165039,
0.006765567779541016,
0.006687744140625,
0.006728672027587891
]
},
"throughput": {
"unit": "samples/s",
"value": 141.81348705805496
},
"energy": {
"unit": "kWh",
"cpu": 7.776173410497399e-08,
"ram": 4.2493674744852e-08,
"gpu": 1.4135087560782423e-07,
"total": 2.616062844576502e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3822538.139988314
}
}
}
}