IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
43af2e8 verified
raw
history blame
11.3 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",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 904.6016,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 152,
"total": 0.9984950699806215,
"mean": 0.006569046513030404,
"stdev": 0.00020197973982400986,
"p50": 0.006535167932510376,
"p90": 0.006918963241577149,
"p95": 0.007013836932182312,
"p99": 0.007087462368011475,
"values": [
0.007012351989746094,
0.006711296081542969,
0.006880256175994873,
0.006788095951080322,
0.0068280320167541505,
0.006799359798431396,
0.006774784088134766,
0.0067051520347595215,
0.006687744140625,
0.0066416640281677245,
0.006599679946899414,
0.006667200088500976,
0.006668288230895996,
0.006615039825439453,
0.006627327919006347,
0.006575104236602783,
0.006511616230010986,
0.0066119680404663084,
0.00658128023147583,
0.006959104061126709,
0.007014400005340577,
0.007095295906066895,
0.007098368167877197,
0.00703385591506958,
0.006971392154693603,
0.007079936027526855,
0.0070522880554199216,
0.0069928960800170895,
0.007001088142395019,
0.007027711868286133,
0.007013376235961914,
0.006951935768127441,
0.007015423774719238,
0.00683619213104248,
0.006632448196411133,
0.006561791896820069,
0.006512639999389648,
0.006489088058471679,
0.006492159843444824,
0.006567935943603515,
0.006482944011688232,
0.006605823993682861,
0.006620128154754639,
0.006559743881225586,
0.006606847763061524,
0.006643712043762207,
0.00662937593460083,
0.006647808074951172,
0.006565887928009034,
0.006538144111633301,
0.006534143924713135,
0.006516736030578613,
0.006628352165222168,
0.006648831844329834,
0.006569983959197998,
0.006602752208709717,
0.006570943832397461,
0.00652288007736206,
0.006502399921417237,
0.00658739185333252,
0.006543360233306885,
0.0064982399940490725,
0.006717440128326416,
0.006575104236602783,
0.006525951862335205,
0.006553599834442139,
0.006639616012573242,
0.006562816143035889,
0.0065413122177124024,
0.006512639999389648,
0.0065177597999572755,
0.006527999877929688,
0.006575104236602783,
0.006680575847625733,
0.006617087841033936,
0.0065812478065490725,
0.006606847763061524,
0.006584320068359375,
0.006552576065063476,
0.006557695865631104,
0.006461440086364746,
0.006504447937011719,
0.006505472183227539,
0.006403200149536133,
0.006335487842559814,
0.006258687973022461,
0.006377471923828125,
0.006523903846740723,
0.006333439826965332,
0.006213632106781006,
0.006138815879821778,
0.006141024112701416,
0.00621670389175415,
0.006605823993682861,
0.00675328016281128,
0.00670201587677002,
0.006743040084838867,
0.006850560188293457,
0.006923264026641846,
0.0067717118263244626,
0.006553599834442139,
0.0065177597999572755,
0.006534143924713135,
0.006550528049468994,
0.006536191940307618,
0.006421408176422119,
0.0064551677703857425,
0.006426623821258545,
0.006392831802368164,
0.006458303928375244,
0.006469664096832276,
0.006403071880340576,
0.006449151992797852,
0.006375423908233643,
0.006470655918121338,
0.006458367824554443,
0.006378496170043945,
0.006474751949310303,
0.006394879817962646,
0.006434815883636475,
0.0064174079895019534,
0.006335487842559814,
0.006418432235717773,
0.006341631889343262,
0.006402048110961914,
0.006453248023986816,
0.006335487842559814,
0.006440959930419922,
0.006432703971862793,
0.006396959781646729,
0.006385663986206055,
0.006396927833557129,
0.006500351905822754,
0.0064204797744750975,
0.0064143362045288085,
0.006425727844238281,
0.006370304107666015,
0.006341728210449218,
0.006460415840148926,
0.006402048110961914,
0.006435840129852295,
0.006440959930419922,
0.006434815883636475,
0.0063907837867736815,
0.006352896213531494,
0.006429696083068847,
0.006417535781860352,
0.006370431900024414,
0.006360064029693604,
0.006333439826965332,
0.006414207935333252,
0.0063610877990722655
]
},
"throughput": {
"unit": "samples/s",
"value": 152.22909413358445
},
"energy": {
"unit": "kWh",
"cpu": 7.569028904314845e-08,
"ram": 4.137666648811591e-08,
"gpu": 1.3756911217834807e-07,
"total": 2.546360677096124e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3927173.432242923
}
}
}
}