IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
35359f7 verified
raw
history blame
12.5 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.43.1",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.62624,
"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.1927060546875,
"mean": 7.1927060546875,
"stdev": 0.0,
"p50": 7.1927060546875,
"p90": 7.1927060546875,
"p95": 7.1927060546875,
"p99": 7.1927060546875,
"values": [
7.1927060546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0496021972762216e-06,
"ram": 5.594423079171899e-07,
"gpu": 1.8147236740019557e-06,
"total": 3.423768179195367e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.347136,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 153,
"total": 1.0015658254623414,
"mean": 0.0065461818657669354,
"stdev": 0.00016472519913862443,
"p50": 0.0065075201988220215,
"p90": 0.006770892715454102,
"p95": 0.006822912025451659,
"p99": 0.006996664085388182,
"values": [
0.006680575847625733,
0.006686719894409179,
0.006732800006866455,
0.006804480075836182,
0.0067123198509216305,
0.006717440128326416,
0.006730720043182373,
0.006562816143035889,
0.0065710082054138185,
0.006543360233306885,
0.006495232105255127,
0.006573056221008301,
0.006554624080657959,
0.0065146880149841305,
0.006440959930419922,
0.006459455966949463,
0.006482944011688232,
0.006608799934387207,
0.0065413122177124024,
0.00658022403717041,
0.006599679946899414,
0.006503424167633057,
0.006463488101959228,
0.006478847980499268,
0.00658739185333252,
0.006574079990386963,
0.006534143924713135,
0.006594560146331787,
0.006562816143035889,
0.0065054078102111815,
0.006509568214416504,
0.006549503803253174,
0.0065075201988220215,
0.0065771517753601075,
0.006497280120849609,
0.0065914239883422855,
0.006703104019165039,
0.0067348480224609375,
0.006681600093841553,
0.006642687797546387,
0.006743040084838867,
0.00669593620300293,
0.006751232147216797,
0.006818816184997558,
0.006799359798431396,
0.006811647891998291,
0.006829055786132812,
0.0067266240119934085,
0.0066273918151855465,
0.006730751991271973,
0.006783999919891357,
0.006737919807434082,
0.006951935768127441,
0.006582272052764892,
0.006503424167633057,
0.006449151992797852,
0.006457376003265381,
0.006419456005096436,
0.006499328136444092,
0.00653004789352417,
0.006426591873168946,
0.006458367824554443,
0.006470655918121338,
0.006535168170928955,
0.006504447937011719,
0.00643174409866333,
0.00653004789352417,
0.006503424167633057,
0.0065413122177124024,
0.00658022403717041,
0.006543360233306885,
0.006576128005981445,
0.0065484800338745115,
0.006505472183227539,
0.006545407772064209,
0.0064963197708129885,
0.006449151992797852,
0.006598688125610351,
0.006440959930419922,
0.006394879817962646,
0.006310912132263183,
0.006230016231536865,
0.00643174409866333,
0.006385663986206055,
0.006184959888458252,
0.006130688190460205,
0.006137856006622314,
0.006201344013214111,
0.0065771517753601075,
0.0068156800270080566,
0.00673689603805542,
0.006690815925598144,
0.006780928134918213,
0.006936575889587402,
0.006688767910003662,
0.007116799831390381,
0.0067758078575134275,
0.006556672096252441,
0.006504447937011719,
0.006519807815551758,
0.006542335987091064,
0.006475776195526123,
0.006551551818847656,
0.00688640022277832,
0.00648089599609375,
0.007045119762420654,
0.0067348480224609375,
0.006643712043762207,
0.006871039867401123,
0.006945792198181152,
0.006474751949310303,
0.006482944011688232,
0.006515711784362793,
0.006451200008392334,
0.006504447937011719,
0.006496255874633789,
0.0064778242111206055,
0.006707200050354004,
0.0064737281799316405,
0.0064287037849426265,
0.006458367824554443,
0.0064460158348083494,
0.006441984176635742,
0.006440959930419922,
0.0063949117660522465,
0.0064685440063476565,
0.006495232105255127,
0.0064143362045288085,
0.006427648067474365,
0.0063836159706115725,
0.006360064029693604,
0.006292479991912842,
0.006315008163452148,
0.006384640216827392,
0.006393856048583985,
0.006425600051879882,
0.006423552036285401,
0.006400000095367431,
0.006532095909118653,
0.006426623821258545,
0.006435904026031494,
0.006472703933715821,
0.0064174079895019534,
0.006433792114257812,
0.006408192157745361,
0.0063211522102355954,
0.0064440321922302245,
0.006398911952972412,
0.006433728218078613,
0.006404096126556396,
0.006434815883636475,
0.006413248062133789,
0.00639686393737793
]
},
"throughput": {
"unit": "samples/s",
"value": 152.76080324463186
},
"energy": {
"unit": "kWh",
"cpu": 7.517325643413346e-08,
"ram": 4.1101946893409214e-08,
"gpu": 1.418021528227862e-07,
"total": 2.580773561503289e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3874807.2086475673
}
}
}
}