IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e2e8dd9 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": "warn",
"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": 789.172224,
"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.3830576171875,
"mean": 7.3830576171875,
"stdev": 0.0,
"p50": 7.3830576171875,
"p90": 7.3830576171875,
"p95": 7.3830576171875,
"p99": 7.3830576171875,
"values": [
7.3830576171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0702040458333785e-06,
"ram": 5.709784024278423e-07,
"gpu": 1.673612449999782e-06,
"total": 3.3147948982610025e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.321152,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 1.0005493135452272,
"mean": 0.0066703287569681805,
"stdev": 0.00015680901974157613,
"p50": 0.006639616012573242,
"p90": 0.006797312021255493,
"p95": 0.006994022488594055,
"p99": 0.007312885756492613,
"values": [
0.007208960056304932,
0.007008255958557129,
0.0069928960800170895,
0.0069816322326660156,
0.007448575973510742,
0.007159808158874512,
0.007412735939025879,
0.006589439868927002,
0.006433792114257812,
0.0065177597999572755,
0.0065177597999572755,
0.00642252779006958,
0.0064204797744750975,
0.006532095909118653,
0.006394879817962646,
0.006407167911529541,
0.00633135986328125,
0.0065710082054138185,
0.006566976070404053,
0.00652288007736206,
0.0065372161865234375,
0.00657919979095459,
0.0065382399559021,
0.006561791896820069,
0.006563839912414551,
0.006574079990386963,
0.006591487884521485,
0.006632448196411133,
0.006598688125610351,
0.00662940788269043,
0.006631392002105713,
0.0066007041931152345,
0.00672870397567749,
0.006653952121734619,
0.0066641921997070315,
0.006639616012573242,
0.006708223819732666,
0.006598656177520752,
0.006666240215301514,
0.006907904148101806,
0.006806528091430664,
0.006692863941192627,
0.0066304001808166506,
0.006694911956787109,
0.00667852783203125,
0.006691840171813965,
0.006650879859924317,
0.006616064071655273,
0.006625279903411865,
0.0065781760215759275,
0.006698944091796875,
0.006694911956787109,
0.006936575889587402,
0.00694374418258667,
0.0067276802062988285,
0.006683648109436035,
0.0066375679969787596,
0.006657023906707763,
0.006650847911834717,
0.006709248065948486,
0.006687744140625,
0.006654975891113281,
0.00659660816192627,
0.006626304149627686,
0.006635519981384277,
0.006616064071655273,
0.006628352165222168,
0.0067041277885437015,
0.006602784156799316,
0.006650879859924317,
0.006694911956787109,
0.006618112087249756,
0.006740992069244385,
0.006668255805969238,
0.0066078720092773435,
0.006998015880584717,
0.006750207901000976,
0.006646783828735352,
0.006717440128326416,
0.0066938881874084475,
0.006624256134033203,
0.006624256134033203,
0.006994944095611572,
0.006651904106140137,
0.006594560146331787,
0.00675328016281128,
0.00669593620300293,
0.006617087841033936,
0.006660096168518067,
0.006633471965789795,
0.00659660816192627,
0.006618112087249756,
0.006874112129211426,
0.006636544227600098,
0.006657023906707763,
0.006710271835327148,
0.006609920024871826,
0.006661119937896728,
0.0067348480224609375,
0.006718463897705078,
0.006718463897705078,
0.006713344097137451,
0.006755328178405762,
0.006673408031463623,
0.006714335918426514,
0.0066344962120056155,
0.0067041277885437015,
0.006791168212890625,
0.006617087841033936,
0.006687744140625,
0.006675456047058105,
0.006633471965789795,
0.006685696125030518,
0.006796288013458252,
0.006639616012573242,
0.006699007987976074,
0.006788095951080322,
0.006659071922302246,
0.006608895778656006,
0.006729728221893311,
0.006631423950195312,
0.006601727962493896,
0.007012351989746094,
0.006690815925598144,
0.006666240215301514,
0.0066447358131408694,
0.006614016056060791,
0.006605823993682861,
0.006696959972381592,
0.006676479816436768,
0.006667263984680176,
0.006715392112731934,
0.0066078720092773435,
0.006512639999389648,
0.0065372161865234375,
0.006532095909118653,
0.006518784046173095,
0.006625279903411865,
0.006583295822143555,
0.0065177597999572755,
0.006551551818847656,
0.006614016056060791,
0.0065413122177124024,
0.006558720111846924,
0.006615039825439453,
0.006523903846740723,
0.006617087841033936,
0.006568960189819336,
0.006563839912414551,
0.006552576065063476
]
},
"throughput": {
"unit": "samples/s",
"value": 149.9176482051723
},
"energy": {
"unit": "kWh",
"cpu": 7.873503317236825e-08,
"ram": 4.3049067628789894e-08,
"gpu": 1.388926791788033e-07,
"total": 2.6067677997996147e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3836168.300363658
}
}
}
}