IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0037cf9 verified
raw
history blame
11.4 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.1",
"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.7344,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 155,
"total": 0.9970165429115296,
"mean": 0.006432364792977611,
"stdev": 0.00016534558454152487,
"p50": 0.006371327877044678,
"p90": 0.006567910385131836,
"p95": 0.006612172842025757,
"p99": 0.007136993398666385,
"values": [
0.007375872135162354,
0.006933504104614257,
0.006862847805023193,
0.0069324798583984375,
0.007387135982513428,
0.006642687797546387,
0.006401023864746094,
0.006428671836853027,
0.0063498239517211915,
0.006394879817962646,
0.006384640216827392,
0.0063272957801818845,
0.006333439826965332,
0.0062863359451293946,
0.006330368041992188,
0.006277120113372803,
0.006336512088775635,
0.0064133119583129885,
0.006363135814666748,
0.006385663986206055,
0.0063549761772155764,
0.006340608119964599,
0.006365280151367187,
0.0063405442237854,
0.006302720069885254,
0.006345727920532227,
0.006366208076477051,
0.006363135814666748,
0.006311935901641846,
0.006371327877044678,
0.006325247764587402,
0.006364160060882569,
0.006366208076477051,
0.006319104194641113,
0.006362112045288086,
0.006323200225830078,
0.0063498239517211915,
0.006367231845855713,
0.006329343795776367,
0.006347775936126709,
0.006311935901641846,
0.006405119895935059,
0.0063610877990722655,
0.0063272957801818845,
0.006384640216827392,
0.006330368041992188,
0.006369279861450195,
0.00643068790435791,
0.006404096126556396,
0.0063539199829101565,
0.006323200225830078,
0.006403071880340576,
0.006338624000549317,
0.0063272957801818845,
0.006384640216827392,
0.006352896213531494,
0.006367231845855713,
0.006360064029693604,
0.006326272010803223,
0.006366208076477051,
0.0063211522102355954,
0.006375423908233643,
0.0063508481979370115,
0.006363135814666748,
0.006385663986206055,
0.006391808032989502,
0.006386688232421875,
0.00633241605758667,
0.006352896213531494,
0.0063805441856384275,
0.006343679904937744,
0.006369279861450195,
0.006347775936126709,
0.006406144142150879,
0.006386688232421875,
0.006347775936126709,
0.006393824100494385,
0.006334464073181153,
0.006367231845855713,
0.006371327877044678,
0.00632422399520874,
0.006388735771179199,
0.006301695823669433,
0.006365151882171631,
0.0063539199829101565,
0.0063170561790466305,
0.006336512088775635,
0.006298592090606689,
0.006298624038696289,
0.006290495872497559,
0.006240255832672119,
0.0062873601913452145,
0.006253503799438477,
0.006303743839263916,
0.006269951820373535,
0.006275072097778321,
0.006280191898345947,
0.006245376110076905,
0.006275072097778321,
0.006227968215942382,
0.006273024082183838,
0.00626585578918457,
0.0062873601913452145,
0.006294528007507324,
0.006227968215942382,
0.0063836159706115725,
0.006602752208709717,
0.006622208118438721,
0.006585343837738037,
0.006559743881225586,
0.0066078720092773435,
0.006632448196411133,
0.0065781760215759275,
0.00657919979095459,
0.006565887928009034,
0.006510591983795166,
0.006583295822143555,
0.006575039863586426,
0.0065484800338745115,
0.006540287971496582,
0.006565887928009034,
0.006539328098297119,
0.00652185583114624,
0.006508543968200684,
0.0065484800338745115,
0.006511616230010986,
0.006495232105255127,
0.006518784046173095,
0.006489088058471679,
0.006486015796661377,
0.006511616230010986,
0.006527999877929688,
0.006519807815551758,
0.006545407772064209,
0.006534143924713135,
0.00653004789352417,
0.006567935943603515,
0.006536191940307618,
0.006559711933135986,
0.006558720111846924,
0.00653004789352417,
0.0065443840026855465,
0.006549503803253174,
0.006567872047424316,
0.0065372161865234375,
0.006551551818847656,
0.006556672096252441,
0.00653004789352417,
0.006512703895568847,
0.006533120155334473,
0.006512639999389648,
0.006533120155334473,
0.006560768127441406,
0.006534143924713135,
0.006529024124145508
]
},
"throughput": {
"unit": "samples/s",
"value": 155.46381963468977
},
"energy": {
"unit": "kWh",
"cpu": 7.452228727440039e-08,
"ram": 4.0617052183051776e-08,
"gpu": 1.2892545036250097e-07,
"total": 2.440647898199532e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4097272.6985228015
}
}
}
}