
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6245c62
verified
{ | |
"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": {}, | |
"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", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 908.005376, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 154, | |
"total": 0.9989794883728027, | |
"mean": 0.006486879794628589, | |
"stdev": 0.00014497112456265002, | |
"p50": 0.006457344055175781, | |
"p90": 0.006613094282150269, | |
"p95": 0.006732543921470642, | |
"p99": 0.007088906364440917, | |
"values": [ | |
0.007197696208953858, | |
0.006968319892883301, | |
0.006803455829620361, | |
0.006681600093841553, | |
0.0068392958641052244, | |
0.006658048152923584, | |
0.006887423992156983, | |
0.006586368083953857, | |
0.007147520065307617, | |
0.006624256134033203, | |
0.006518784046173095, | |
0.006469632148742676, | |
0.006554624080657959, | |
0.006474751949310303, | |
0.006557695865631104, | |
0.006617087841033936, | |
0.006469632148742676, | |
0.0065781760215759275, | |
0.006565887928009034, | |
0.006406144142150879, | |
0.006555647850036621, | |
0.006697951793670654, | |
0.006412288188934326, | |
0.006549503803253174, | |
0.006479872226715088, | |
0.006445055961608887, | |
0.006497280120849609, | |
0.006298624038696289, | |
0.0064839677810668945, | |
0.006542335987091064, | |
0.006396927833557129, | |
0.006540287971496582, | |
0.00652288007736206, | |
0.0064102401733398436, | |
0.006558720111846924, | |
0.006345727920532227, | |
0.006322175979614258, | |
0.006370304107666015, | |
0.00638156795501709, | |
0.006563839912414551, | |
0.006494207859039307, | |
0.006457344055175781, | |
0.006512639999389648, | |
0.006474751949310303, | |
0.00643993616104126, | |
0.006510591983795166, | |
0.006449151992797852, | |
0.006490111827850342, | |
0.0065075201988220215, | |
0.006395904064178467, | |
0.0066007041931152345, | |
0.0065710082054138185, | |
0.006665215969085693, | |
0.006576128005981445, | |
0.006684671878814697, | |
0.006429696083068847, | |
0.0064143362045288085, | |
0.006388768196105957, | |
0.006354944229125976, | |
0.006550528049468994, | |
0.007036928176879883, | |
0.006500351905822754, | |
0.006492159843444824, | |
0.006421504020690918, | |
0.006487008094787598, | |
0.0064880638122558594, | |
0.006389791965484619, | |
0.006472703933715821, | |
0.006491136074066162, | |
0.006419456005096436, | |
0.006482944011688232, | |
0.006504447937011719, | |
0.006450175762176514, | |
0.006512639999389648, | |
0.006456319808959961, | |
0.0064737281799316405, | |
0.006405119895935059, | |
0.0062975997924804685, | |
0.006368256092071533, | |
0.00642252779006958, | |
0.006268928050994873, | |
0.006421504020690918, | |
0.006337535858154297, | |
0.006333439826965332, | |
0.006395904064178467, | |
0.006269951820373535, | |
0.00638156795501709, | |
0.006400000095367431, | |
0.006253568172454834, | |
0.0063836159706115725, | |
0.006296576023101807, | |
0.006347775936126709, | |
0.006387712001800537, | |
0.006435840129852295, | |
0.006561791896820069, | |
0.00652185583114624, | |
0.006398975849151611, | |
0.006702079772949219, | |
0.006519807815551758, | |
0.006397952079772949, | |
0.006556672096252441, | |
0.006434815883636475, | |
0.006553599834442139, | |
0.006789120197296142, | |
0.006589439868927002, | |
0.00652185583114624, | |
0.006552576065063476, | |
0.006427648067474365, | |
0.006542335987091064, | |
0.0065382399559021, | |
0.006494207859039307, | |
0.006524928092956543, | |
0.006495232105255127, | |
0.006437888145446777, | |
0.00652288007736206, | |
0.006503424167633057, | |
0.006487040042877197, | |
0.006456319808959961, | |
0.006392831802368164, | |
0.0064737281799316405, | |
0.006441952228546143, | |
0.006384640216827392, | |
0.006457344055175781, | |
0.006412288188934326, | |
0.006403071880340576, | |
0.006481823921203614, | |
0.006433792114257812, | |
0.006449151992797852, | |
0.006377471923828125, | |
0.006597631931304931, | |
0.00639081621170044, | |
0.006375423908233643, | |
0.006405119895935059, | |
0.006366208076477051, | |
0.006407167911529541, | |
0.0063508481979370115, | |
0.0064102401733398436, | |
0.006386688232421875, | |
0.006406144142150879, | |
0.006474751949310303, | |
0.006415359973907471, | |
0.006375423908233643, | |
0.006426623821258545, | |
0.006385663986206055, | |
0.006388800144195557, | |
0.006603775978088379, | |
0.00636518383026123, | |
0.006421504020690918, | |
0.006367231845855713, | |
0.006377408027648926, | |
0.0064204797744750975, | |
0.006372352123260498, | |
0.006397952079772949, | |
0.006415359973907471 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 154.15731933680078 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.543949712191755e-08, | |
"ram": 4.124434678936419e-08, | |
"gpu": 1.3960733036943034e-07, | |
"total": 2.5629117428071206e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3901812.080757468 | |
} | |
} | |
} | |
} |