IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3740e15 verified
raw
history blame
12.6 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.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 720.338944,
"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.1609423828125,
"mean": 7.1609423828125,
"stdev": 0.0,
"p50": 7.1609423828125,
"p90": 7.1609423828125,
"p95": 7.1609423828125,
"p99": 7.1609423828125,
"values": [
7.1609423828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0740025175942314e-06,
"ram": 5.731043246690131e-07,
"gpu": 1.650556875999916e-06,
"total": 3.29766371826316e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.604608,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 156,
"total": 1.0020863366127017,
"mean": 0.006423630362901933,
"stdev": 0.0001779516681373988,
"p50": 0.006395919799804688,
"p90": 0.006545439958572388,
"p95": 0.006673408031463623,
"p99": 0.007177164840698239,
"values": [
0.007041024208068848,
0.006691840171813965,
0.006608895778656006,
0.006578112125396728,
0.006545472145080567,
0.006586368083953857,
0.007459839820861816,
0.00636518383026123,
0.006111231803894043,
0.0061634559631347655,
0.006118336200714111,
0.00613478422164917,
0.006078464031219482,
0.0060999679565429685,
0.006056960105895996,
0.00608358383178711,
0.006400000095367431,
0.006543360233306885,
0.006429696083068847,
0.006406144142150879,
0.006412288188934326,
0.006402048110961914,
0.006403071880340576,
0.006449183940887451,
0.006433728218078613,
0.006429632186889648,
0.006377471923828125,
0.006392831802368164,
0.006406144142150879,
0.006450175762176514,
0.006366208076477051,
0.006388735771179199,
0.006358016014099121,
0.006396927833557129,
0.006342656135559082,
0.006386688232421875,
0.00636521577835083,
0.00636518383026123,
0.006405151844024658,
0.006376448154449463,
0.006418432235717773,
0.006418432235717773,
0.006340608119964599,
0.006428671836853027,
0.006361120223999024,
0.006378496170043945,
0.00638976001739502,
0.006404096126556396,
0.006409215927124024,
0.00637443208694458,
0.006412288188934326,
0.006273024082183838,
0.00628326416015625,
0.006331391811370849,
0.006278143882751465,
0.006415359973907471,
0.006398975849151611,
0.006401023864746094,
0.006432767868041992,
0.00638259220123291,
0.006401023864746094,
0.006310912132263183,
0.006285312175750732,
0.006329343795776367,
0.006306816101074219,
0.006354944229125976,
0.0063170561790466305,
0.006331391811370849,
0.006343679904937744,
0.0062904319763183595,
0.0063201279640197755,
0.0063324799537658695,
0.0063017277717590334,
0.006391808032989502,
0.00638259220123291,
0.006391808032989502,
0.00638259220123291,
0.00638976001739502,
0.00638976001739502,
0.006523871898651123,
0.0064204797744750975,
0.006396927833557129,
0.006392831802368164,
0.006434815883636475,
0.006369279861450195,
0.0063805441856384275,
0.006392831802368164,
0.006360064029693604,
0.006407167911529541,
0.006364160060882569,
0.006396927833557129,
0.006367231845855713,
0.006346752166748047,
0.0064471039772033695,
0.006407167911529541,
0.0063836159706115725,
0.006363135814666748,
0.006334464073181153,
0.006380512237548828,
0.006367231845855713,
0.006495264053344727,
0.006545407772064209,
0.00642252779006958,
0.006500351905822754,
0.006455296039581298,
0.006667263984680176,
0.006556672096252441,
0.006479872226715088,
0.006337535858154297,
0.006316031932830811,
0.006366208076477051,
0.006441984176635742,
0.006388735771179199,
0.006453248023986816,
0.006410208225250244,
0.006369279861450195,
0.006398975849151611,
0.0064174079895019534,
0.006363135814666748,
0.006497280120849609,
0.006358016014099121,
0.006397952079772949,
0.006376448154449463,
0.006376448154449463,
0.006423552036285401,
0.006362112045288086,
0.006427648067474365,
0.006391808032989502,
0.006432767868041992,
0.00638976001739502,
0.00637440013885498,
0.006391808032989502,
0.006411200046539307,
0.007307263851165771,
0.0065372161865234375,
0.006929408073425293,
0.0064471039772033695,
0.006819839954376221,
0.006964159965515137,
0.0064778242111206055,
0.006432767868041992,
0.006471680164337158,
0.007070720195770264,
0.006585343837738037,
0.006451200008392334,
0.0063949117660522465,
0.0065177597999572755,
0.006512639999389648,
0.0064430079460144046,
0.006457344055175781,
0.006546432018280029,
0.006376480102539063,
0.00643174409866333,
0.006367231845855713,
0.006423552036285401,
0.0063907837867736815
]
},
"throughput": {
"unit": "samples/s",
"value": 155.67520911154062
},
"energy": {
"unit": "kWh",
"cpu": 7.506079458318516e-08,
"ram": 4.1023806978208455e-08,
"gpu": 1.4159645645569857e-07,
"total": 2.5768105801709216e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3880766.431553806
}
}
}
}