IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3e4dce6 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 901.922816,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 151,
"total": 1.0014278054237367,
"mean": 0.0066319722213492496,
"stdev": 0.00014354626250215384,
"p50": 0.006622208118438721,
"p90": 0.006796288013458252,
"p95": 0.006890496015548706,
"p99": 0.00699289584159851,
"values": [
0.007423999786376953,
0.007000063896179199,
0.006825984001159668,
0.0068853759765625,
0.006895616054534912,
0.006796288013458252,
0.006779903888702392,
0.006767615795135498,
0.006752255916595459,
0.0066406397819519045,
0.0066447358131408694,
0.006648896217346191,
0.006667263984680176,
0.006664127826690674,
0.006597599983215332,
0.006545407772064209,
0.0066406397819519045,
0.006652927875518798,
0.006622208118438721,
0.006714367866516113,
0.0067348480224609375,
0.006677440166473389,
0.006665215969085693,
0.006646783828735352,
0.006559743881225586,
0.006684671878814697,
0.006680575847625733,
0.006673408031463623,
0.0066938881874084475,
0.006691840171813965,
0.006653952121734619,
0.006635519981384277,
0.006708223819732666,
0.0066641921997070315,
0.006665215969085693,
0.006676479816436768,
0.006574079990386963,
0.006575104236602783,
0.006606783866882324,
0.006608895778656006,
0.006598656177520752,
0.0066406397819519045,
0.006632480144500732,
0.0066344962120056155,
0.006669312000274658,
0.006732800006866455,
0.006703104019165039,
0.006713344097137451,
0.006648896217346191,
0.006595583915710449,
0.006651904106140137,
0.006675519943237305,
0.006665215969085693,
0.006673408031463623,
0.006659071922302246,
0.006642687797546387,
0.006820864200592041,
0.006920191764831543,
0.006916096210479736,
0.006876160144805908,
0.0069847040176391605,
0.006969344139099121,
0.006592512130737305,
0.006555488109588623,
0.0066447358131408694,
0.006646783828735352,
0.00662937593460083,
0.006670335769653321,
0.006620160102844238,
0.006659071922302246,
0.006699967861175537,
0.006737919807434082,
0.006796288013458252,
0.006760447978973389,
0.0067358717918396,
0.006621183872222901,
0.006687744140625,
0.006690815925598144,
0.006556672096252441,
0.006692863941192627,
0.006597631931304931,
0.006509664058685302,
0.0063591041564941405,
0.006415359973907471,
0.006501376152038574,
0.006478847980499268,
0.006328320026397705,
0.0062904319763183595,
0.006266880035400391,
0.0063907837867736815,
0.006725632190704346,
0.006763519763946534,
0.006790143966674805,
0.0067870721817016606,
0.006856704235076904,
0.006985727787017822,
0.0068618240356445315,
0.006646783828735352,
0.006619135856628418,
0.006620160102844238,
0.006633471965789795,
0.006589439868927002,
0.006626304149627686,
0.006583295822143555,
0.006550528049468994,
0.006622208118438721,
0.00653107213973999,
0.006555647850036621,
0.006558720111846924,
0.006536191940307618,
0.006508543968200684,
0.00652288007736206,
0.006523903846740723,
0.006520832061767578,
0.0065382399559021,
0.006502399921417237,
0.006556672096252441,
0.006525951862335205,
0.006525951862335205,
0.0065474557876586915,
0.006549503803253174,
0.006501376152038574,
0.006548416137695312,
0.0065443840026855465,
0.0065382399559021,
0.006568960189819336,
0.00653715181350708,
0.006554624080657959,
0.006508543968200684,
0.006519807815551758,
0.006520832061767578,
0.006509568214416504,
0.006495232105255127,
0.006534143924713135,
0.006516736030578613,
0.006458367824554443,
0.006546432018280029,
0.0065146880149841305,
0.006549503803253174,
0.0065146880149841305,
0.0065177597999572755,
0.006559743881225586,
0.006524928092956543,
0.006503456115722657,
0.006543360233306885,
0.0065064959526062015,
0.0065146880149841305,
0.006512639999389648,
0.00652185583114624,
0.00653004789352417,
0.0065413122177124024
]
},
"throughput": {
"unit": "samples/s",
"value": 150.7847087749945
},
"energy": {
"unit": "kWh",
"cpu": 7.697096548727237e-08,
"ram": 4.207605983797943e-08,
"gpu": 1.3950047235064945e-07,
"total": 2.5854749767590124e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3867761.2778659984
}
}
}
}