IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
21cec34 verified
raw
history blame
11.3 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": {},
"hub_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,
"latency": true,
"memory": 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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 907.411456,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 152,
"total": 1.0003333444595335,
"mean": 0.0065811404240758795,
"stdev": 0.00021050852205110613,
"p50": 0.006521343946456909,
"p90": 0.006830899000167846,
"p95": 0.006860799789428711,
"p99": 0.0071565515899658224,
"values": [
0.007270400047302246,
0.00690176010131836,
0.006696991920471192,
0.006677504062652588,
0.0067041277885437015,
0.006601759910583496,
0.006647808074951172,
0.00657919979095459,
0.0064880638122558594,
0.006546432018280029,
0.006498303890228272,
0.006502463817596436,
0.00653926420211792,
0.006500351905822754,
0.006400000095367431,
0.006405119895935059,
0.006418432235717773,
0.00672870397567749,
0.0066744318008422855,
0.006512576103210449,
0.006568960189819336,
0.00653004789352417,
0.006457344055175781,
0.006818816184997558,
0.006833151817321777,
0.0067645440101623535,
0.006862847805023193,
0.006841343879699707,
0.006767615795135498,
0.006723648071289063,
0.006789152145385742,
0.006761472225189209,
0.0067338237762451176,
0.006793216228485107,
0.006765567779541016,
0.006671296119689941,
0.0066468482017517086,
0.0066938881874084475,
0.006706175804138184,
0.006685696125030518,
0.007047167778015137,
0.006776832103729248,
0.006773759841918945,
0.006854656219482422,
0.006860799789428711,
0.006821887969970703,
0.0067983360290527345,
0.006807551860809326,
0.006751232147216797,
0.006445055961608887,
0.00652185583114624,
0.006520832061767578,
0.006683648109436035,
0.006829055786132812,
0.006852608203887939,
0.006779903888702392,
0.006755328178405762,
0.006740992069244385,
0.006696959972381592,
0.006837247848510742,
0.006831103801727295,
0.006817791938781738,
0.006722527980804444,
0.00677785587310791,
0.0067573761940002445,
0.006685696125030518,
0.006760447978973389,
0.006802432060241699,
0.006860799789428711,
0.006816768169403077,
0.006870016098022461,
0.00684441614151001,
0.006813695907592773,
0.006796288013458252,
0.006814720153808594,
0.0065433278083801266,
0.006499328136444092,
0.006496255874633789,
0.006403071880340576,
0.006401023864746094,
0.006336512088775635,
0.007422976016998291,
0.006732800006866455,
0.006746111869812011,
0.006489088058471679,
0.006421504020690918,
0.006385632038116455,
0.006400000095367431,
0.0064932479858398435,
0.0067051520347595215,
0.006667263984680176,
0.0066826238632202144,
0.006713344097137451,
0.0067717118263244626,
0.006825984001159668,
0.006635519981384277,
0.0064767999649047855,
0.006474751949310303,
0.006436863899230957,
0.006376448154449463,
0.00643993616104126,
0.006357088088989258,
0.006367167949676514,
0.0063528637886047365,
0.006354944229125976,
0.006377471923828125,
0.006345727920532227,
0.006395904064178467,
0.006366208076477051,
0.006339583873748779,
0.006401023864746094,
0.006310912132263183,
0.00637337589263916,
0.006392831802368164,
0.006370304107666015,
0.006386688232421875,
0.006946815967559815,
0.006472703933715821,
0.006426623821258545,
0.0063498239517211915,
0.006375423908233643,
0.0063508481979370115,
0.00637440013885498,
0.00637337589263916,
0.006364160060882569,
0.006378496170043945,
0.00638976001739502,
0.006351871967315674,
0.006356927871704101,
0.00633241605758667,
0.006397952079772949,
0.006341663837432862,
0.006362112045288086,
0.0063569917678833006,
0.006368224143981934,
0.006436863899230957,
0.00638259220123291,
0.006385663986206055,
0.006402048110961914,
0.006364160060882569,
0.006350815773010254,
0.006344704151153564,
0.006364160060882569,
0.006358016014099121,
0.006352896213531494,
0.006395904064178467,
0.006346752166748047,
0.006408192157745361,
0.006378496170043945,
0.006366208076477051,
0.006384640216827392,
0.006334464073181153
]
},
"throughput": {
"unit": "samples/s",
"value": 151.94934852653893
},
"energy": {
"unit": "kWh",
"cpu": 7.446577172442636e-08,
"ram": 4.070979324393134e-08,
"gpu": 1.3623875329559977e-07,
"total": 2.514143182639575e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3977498.2065663803
}
}
}
}