IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
299e646 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 720.093184,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.21773046875,
"mean": 7.21773046875,
"stdev": 0.0,
"p50": 7.21773046875,
"p90": 7.21773046875,
"p95": 7.21773046875,
"p99": 7.21773046875,
"values": [
7.21773046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0565431581603158e-06,
"ram": 5.634779021937674e-07,
"gpu": 1.6805569000005044e-06,
"total": 3.3005779603545878e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.531456,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 146,
"total": 0.9962074565887453,
"mean": 0.006823338743758529,
"stdev": 0.00030521558616862407,
"p50": 0.006964223861694336,
"p90": 0.007142400026321411,
"p95": 0.007226112008094788,
"p99": 0.00734392306804657,
"values": [
0.007321599960327148,
0.007266304016113281,
0.007228415966033935,
0.007323647975921631,
0.007241727828979493,
0.0071485438346862796,
0.007219200134277344,
0.007093247890472412,
0.007024640083312988,
0.007019519805908203,
0.006975488185882568,
0.007009280204772949,
0.007002111911773682,
0.0069621758460998535,
0.007360511779785156,
0.006979584217071533,
0.007044095993041993,
0.007061503887176514,
0.007016448020935059,
0.007023615837097168,
0.007006207942962647,
0.007000063896179199,
0.006973440170288086,
0.00704307222366333,
0.00705840015411377,
0.00710041618347168,
0.007079936027526855,
0.007050240039825439,
0.006980576038360596,
0.007057407855987549,
0.007071743965148926,
0.007076863765716553,
0.007024640083312988,
0.006946815967559815,
0.0069283838272094726,
0.006933504104614257,
0.006897664070129395,
0.006969344139099121,
0.0069959678649902345,
0.006989823818206787,
0.007004159927368164,
0.007044095993041993,
0.007073791980743408,
0.007104512214660645,
0.007060480117797851,
0.006989823818206787,
0.006981664180755616,
0.00694374418258667,
0.007015423774719238,
0.0070225920677185055,
0.006978559970855713,
0.006996992111206054,
0.007015423774719238,
0.006877120018005371,
0.006915071964263916,
0.0070348801612854,
0.00704307222366333,
0.007061503887176514,
0.006951935768127441,
0.006946815967559815,
0.006998015880584717,
0.006979584217071533,
0.0075335679054260255,
0.007060480117797851,
0.007120895862579346,
0.007195648193359375,
0.007200767993927002,
0.007171072006225586,
0.0072468481063842774,
0.007136256217956543,
0.00704204797744751,
0.0071157760620117185,
0.007076863765716553,
0.00709939193725586,
0.007078911781311035,
0.006938623905181885,
0.006944767951965332,
0.006776832103729248,
0.006884352207183838,
0.006994944095611572,
0.006804480075836182,
0.006665215969085693,
0.006916063785552979,
0.006966271877288818,
0.0069959678649902345,
0.007054336071014404,
0.007028736114501953,
0.007018496036529541,
0.007158783912658692,
0.007185408115386963,
0.00677785587310791,
0.006795263767242431,
0.0067983360290527345,
0.0068055038452148435,
0.006692863941192627,
0.006603807926177979,
0.006554624080657959,
0.006508543968200684,
0.006512639999389648,
0.006464511871337891,
0.006404096126556396,
0.006823935985565186,
0.0065064959526062015,
0.0064440321922302245,
0.006465536117553711,
0.006386688232421875,
0.006421472072601318,
0.0063836159706115725,
0.006398975849151611,
0.006428671836853027,
0.006384640216827392,
0.006421504020690918,
0.006423552036285401,
0.006352896213531494,
0.006402048110961914,
0.006368256092071533,
0.0063805441856384275,
0.006398975849151611,
0.006419456005096436,
0.00642252779006958,
0.006385663986206055,
0.00638976001739502,
0.006406144142150879,
0.006428671836853027,
0.006405119895935059,
0.0064143362045288085,
0.006429696083068847,
0.006435840129852295,
0.006556672096252441,
0.006412288188934326,
0.006411263942718506,
0.006418432235717773,
0.006434847831726074,
0.0063610877990722655,
0.006402048110961914,
0.006405119895935059,
0.00643891191482544,
0.0064174079895019534,
0.006502399921417237,
0.006435840129852295,
0.0064778242111206055,
0.006386688232421875,
0.00643884801864624,
0.00643891191482544,
0.006423552036285401,
0.006440959930419922
]
},
"throughput": {
"unit": "samples/s",
"value": 146.5558193068934
},
"energy": {
"unit": "kWh",
"cpu": 7.385969717310082e-08,
"ram": 4.02837308576766e-08,
"gpu": 1.418186089689455e-07,
"total": 2.559620369997229e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3906829.3553277296
}
}
}
}