IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5ec43cc verified
raw
history blame
12.2 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.293824,
"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.4864,
"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.2746279296875,
"mean": 7.2746279296875,
"stdev": 0.0,
"p50": 7.2746279296875,
"p90": 7.2746279296875,
"p95": 7.2746279296875,
"p99": 7.2746279296875,
"values": [
7.2746279296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0558310482237074e-06,
"ram": 5.546491861863956e-07,
"gpu": 1.7316680519970096e-06,
"total": 3.3421482864071126e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.072128,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9980857605934144,
"mean": 0.006743822706712259,
"stdev": 0.00036887322435042385,
"p50": 0.006713840007781982,
"p90": 0.007009894609451294,
"p95": 0.007057654428482055,
"p99": 0.008474879779815675,
"values": [
0.0066999998092651366,
0.006831103801727295,
0.006800384044647217,
0.008388607978820802,
0.007090176105499267,
0.007060544013977051,
0.007107583999633789,
0.007131135940551757,
0.007048192024230957,
0.0069816322326660156,
0.00704201602935791,
0.006975488185882568,
0.0068689918518066405,
0.006815743923187256,
0.006897664070129395,
0.006910975933074951,
0.006968319892883301,
0.00693452787399292,
0.006939648151397705,
0.007009280204772949,
0.0068689918518066405,
0.00688640022277832,
0.007011328220367432,
0.0070522880554199216,
0.007045119762420654,
0.006916096210479736,
0.006998015880584717,
0.006966239929199218,
0.006892543792724609,
0.00687718391418457,
0.006961152076721191,
0.00694271993637085,
0.006857664108276367,
0.00676966381072998,
0.006847487926483154,
0.0068618240356445315,
0.006840320110321045,
0.006850560188293457,
0.006915071964263916,
0.006896639823913574,
0.006927360057830811,
0.007024640083312988,
0.006965248107910156,
0.006977536201477051,
0.006874112129211426,
0.006881279945373535,
0.0068915200233459475,
0.006915071964263916,
0.00694374418258667,
0.006895616054534912,
0.006903808116912841,
0.0068577280044555666,
0.006841343879699707,
0.006853631973266602,
0.006874112129211426,
0.006833151817321777,
0.0069928960800170895,
0.006820864200592041,
0.006819839954376221,
0.006847487926483154,
0.006898752212524414,
0.006848512172698974,
0.006833151817321777,
0.006852608203887939,
0.007006207942962647,
0.007001088142395019,
0.006931456089019775,
0.006633471965789795,
0.006616064071655273,
0.006524928092956543,
0.006559743881225586,
0.006568960189819336,
0.006426623821258545,
0.00653107213973999,
0.00653107213973999,
0.006423552036285401,
0.006394879817962646,
0.006241343975067139,
0.00643071985244751,
0.006536191940307618,
0.006339583873748779,
0.00859340763092041,
0.0085350399017334,
0.008407039642333984,
0.0070225920677185055,
0.006784031867980957,
0.0067051520347595215,
0.006722527980804444,
0.006904831886291504,
0.006738944053649902,
0.006516736030578613,
0.00637440013885498,
0.006407167911529541,
0.00643993616104126,
0.006535168170928955,
0.006536191940307618,
0.006481919765472412,
0.006543360233306885,
0.006504511833190918,
0.006505472183227539,
0.006538271903991699,
0.006478847980499268,
0.006557695865631104,
0.006542335987091064,
0.0064839677810668945,
0.006524928092956543,
0.006491136074066162,
0.006448128223419189,
0.0065136637687683106,
0.006459392070770263,
0.006393856048583985,
0.006423552036285401,
0.006467584133148193,
0.006481919765472412,
0.006499328136444092,
0.006469632148742676,
0.006518784046173095,
0.006468639850616455,
0.0064767999649047855,
0.006497280120849609,
0.006482944011688232,
0.006523935794830322,
0.006471680164337158,
0.006482944011688232,
0.006529983997344971,
0.006449183940887451,
0.006504447937011719,
0.0065064959526062015,
0.006658048152923584,
0.006586368083953857,
0.0065781760215759275,
0.006497280120849609,
0.00653107213973999,
0.00653004789352417,
0.006456319808959961,
0.006398975849151611,
0.006363135814666748,
0.006362112045288086,
0.006401023864746094,
0.006341631889343262,
0.006379519939422608,
0.006540287971496582,
0.006408192157745361,
0.006433728218078613,
0.006347807884216308,
0.006622208118438721,
0.006535168170928955,
0.006338560104370118
]
},
"throughput": {
"unit": "samples/s",
"value": 148.28385079054354
},
"energy": {
"unit": "kWh",
"cpu": 7.421798693637053e-08,
"ram": 4.057622639167906e-08,
"gpu": 1.3066677119998038e-07,
"total": 2.4546098452802996e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4073967.200623718
}
}
}
}