IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f2d0b7f verified
raw
history blame
12.1 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.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": 787.570688,
"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.34369580078125,
"mean": 7.34369580078125,
"stdev": 0.0,
"p50": 7.34369580078125,
"p90": 7.34369580078125,
"p95": 7.34369580078125,
"p99": 7.34369580078125,
"values": [
7.34369580078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0592337333332264e-06,
"ram": 5.635408053231193e-07,
"gpu": 0.0,
"total": 1.6227745386563456e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1077.972992,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.9994504952430724,
"mean": 0.006940628439188004,
"stdev": 0.0002627616584813447,
"p50": 0.007027711868286133,
"p90": 0.007169228696823121,
"p95": 0.007268198227882386,
"p99": 0.007876515803337097,
"values": [
0.007321599960327148,
0.007362559795379638,
0.0072499198913574215,
0.0072724480628967286,
0.007290880203247071,
0.007271423816680909,
0.007157760143280029,
0.007121952056884766,
0.007088128089904785,
0.007094272136688232,
0.007116767883300781,
0.007111680030822754,
0.007027711868286133,
0.0070348801612854,
0.007007232189178467,
0.007053247928619385,
0.007041024208068848,
0.007093247890472412,
0.007116864204406739,
0.0071157760620117185,
0.0070891199111938474,
0.007003136157989502,
0.007053311824798584,
0.007083072185516358,
0.0070830078125,
0.007079936027526855,
0.007054336071014404,
0.007101439952850342,
0.0070563840866088865,
0.0070522880554199216,
0.007029759883880615,
0.00707583999633789,
0.007072768211364746,
0.007062528133392334,
0.007001088142395019,
0.007068672180175781,
0.007051199913024902,
0.007087103843688965,
0.007074816226959229,
0.007037951946258545,
0.007053311824798584,
0.007127039909362793,
0.007175168037414551,
0.007103487968444824,
0.007093247890472412,
0.007147520065307617,
0.007103487968444824,
0.0070594558715820314,
0.007069695949554444,
0.007839744091033935,
0.007904255867004394,
0.00797388792037964,
0.007128064155578613,
0.007039999961853028,
0.007037951946258545,
0.007069695949554444,
0.007054336071014404,
0.007174143791198731,
0.007136256217956543,
0.007016448020935059,
0.007198719978332519,
0.0070225920677185055,
0.0070348801612854,
0.007035903930664063,
0.007030784130096435,
0.007027711868286133,
0.007120895862579346,
0.007184383869171143,
0.007138368129730225,
0.007097343921661377,
0.007176191806793213,
0.007135231971740722,
0.007113728046417236,
0.00709116792678833,
0.007016448020935059,
0.007015423774719238,
0.0071526398658752445,
0.006998015880584717,
0.00693452787399292,
0.006909952163696289,
0.0068351998329162595,
0.006998015880584717,
0.0068915200233459475,
0.006783999919891357,
0.006700032234191895,
0.006661119937896728,
0.006905856132507324,
0.006971392154693603,
0.007023615837097168,
0.006967296123504638,
0.007046144008636474,
0.007102464199066162,
0.007211008071899414,
0.006964223861694336,
0.0068351998329162595,
0.006823935985565186,
0.006756351947784424,
0.006669312000274658,
0.006709248065948486,
0.00674508810043335,
0.006673408031463623,
0.006738944053649902,
0.0067348480224609375,
0.006694911956787109,
0.006680575847625733,
0.006713344097137451,
0.0067338237762451176,
0.0066826238632202144,
0.006688735961914063,
0.006686719894409179,
0.006650879859924317,
0.006684671878814697,
0.006711264133453369,
0.006706175804138184,
0.00674508810043335,
0.006740992069244385,
0.006672383785247803,
0.006689792156219483,
0.006683648109436035,
0.0066713600158691405,
0.006707200050354004,
0.006692863941192627,
0.006645760059356689,
0.006668288230895996,
0.0065771517753601075,
0.006557695865631104,
0.006559743881225586,
0.0066007041931152345,
0.006526976108551025,
0.006590400218963623,
0.006540287971496582,
0.006550528049468994,
0.006576128005981445,
0.006595583915710449,
0.006545407772064209,
0.006557695865631104,
0.006527999877929688,
0.006567935943603515,
0.006575104236602783,
0.006535168170928955,
0.006545407772064209,
0.0065781760215759275,
0.0065382399559021,
0.006595583915710449
]
},
"throughput": {
"unit": "samples/s",
"value": 144.07917219049284
},
"energy": {
"unit": "kWh",
"cpu": 7.83074093521564e-08,
"ram": 4.2642938984110956e-08,
"gpu": 1.3986487797368933e-07,
"total": 2.608152263099567e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3834131.9797471683
}
}
}
}