
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4317ac1
verified
{ | |
"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.791744, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 0.9985904016494752, | |
"mean": 0.006747232443577535, | |
"stdev": 0.00019932771417930333, | |
"p50": 0.006681087970733642, | |
"p90": 0.006974771213531494, | |
"p95": 0.007063654541969299, | |
"p99": 0.0072991899919509886, | |
"values": [ | |
0.007357439994812012, | |
0.007068672180175781, | |
0.007233503818511963, | |
0.007111680030822754, | |
0.0071833600997924804, | |
0.007128032207489013, | |
0.007102464199066162, | |
0.007054336071014404, | |
0.007039999961853028, | |
0.006966335773468018, | |
0.006961152076721191, | |
0.00695091199874878, | |
0.006918144226074219, | |
0.0069027838706970214, | |
0.006882304191589355, | |
0.006880256175994873, | |
0.006855679988861084, | |
0.006892543792724609, | |
0.006993919849395752, | |
0.006968319892883301, | |
0.006939648151397705, | |
0.006918144226074219, | |
0.006892543792724609, | |
0.006843391895294189, | |
0.006956031799316406, | |
0.006938560009002686, | |
0.006961152076721191, | |
0.006929344177246094, | |
0.007008255958557129, | |
0.006895616054534912, | |
0.006916096210479736, | |
0.006892543792724609, | |
0.006965248107910156, | |
0.006974463939666748, | |
0.00687820816040039, | |
0.006804480075836182, | |
0.006821887969970703, | |
0.0068884482383728025, | |
0.0068853759765625, | |
0.006841343879699707, | |
0.006851583957672119, | |
0.006909952163696289, | |
0.00690176010131836, | |
0.006936575889587402, | |
0.006975488185882568, | |
0.006958079814910889, | |
0.006900735855102539, | |
0.0068618240356445315, | |
0.006853631973266602, | |
0.0067276802062988285, | |
0.006705088138580322, | |
0.006651904106140137, | |
0.006639616012573242, | |
0.006657023906707763, | |
0.006582272052764892, | |
0.006750207901000976, | |
0.006660096168518067, | |
0.006624256134033203, | |
0.006668288230895996, | |
0.006767615795135498, | |
0.006657023906707763, | |
0.006625279903411865, | |
0.006598656177520752, | |
0.00662937593460083, | |
0.006650911808013916, | |
0.00667955207824707, | |
0.006624256134033203, | |
0.0066406397819519045, | |
0.00662937593460083, | |
0.006758399963378906, | |
0.006785024166107178, | |
0.006654975891113281, | |
0.006717440128326416, | |
0.006683648109436035, | |
0.006646783828735352, | |
0.006662144184112549, | |
0.0066416640281677245, | |
0.0066344962120056155, | |
0.006589439868927002, | |
0.00657203197479248, | |
0.0064471039772033695, | |
0.0063498239517211915, | |
0.006532095909118653, | |
0.006553599834442139, | |
0.006378496170043945, | |
0.0062679038047790524, | |
0.006306816101074219, | |
0.006298624038696289, | |
0.006475776195526123, | |
0.006749184131622315, | |
0.006818816184997558, | |
0.006750207901000976, | |
0.006875135898590088, | |
0.007051263809204102, | |
0.006897664070129395, | |
0.006668288230895996, | |
0.007516160011291504, | |
0.006999040126800537, | |
0.0067051520347595215, | |
0.0066007041931152345, | |
0.0066713600158691405, | |
0.006636544227600098, | |
0.0065771517753601075, | |
0.006627327919006347, | |
0.006625279903411865, | |
0.0066109437942504885, | |
0.0065812478065490725, | |
0.006628352165222168, | |
0.006584320068359375, | |
0.006593535900115967, | |
0.006597631931304931, | |
0.006583295822143555, | |
0.0066826558113098145, | |
0.006595583915710449, | |
0.006582272052764892, | |
0.006632448196411133, | |
0.006586368083953857, | |
0.006575104236602783, | |
0.0066826238632202144, | |
0.006641632080078125, | |
0.006593535900115967, | |
0.006608895778656006, | |
0.006574079990386963, | |
0.006591487884521485, | |
0.006606847763061524, | |
0.006575104236602783, | |
0.006594560146331787, | |
0.006690815925598144, | |
0.00657919979095459, | |
0.006589439868927002, | |
0.00658022403717041, | |
0.00658739185333252, | |
0.006593567848205566, | |
0.006729728221893311, | |
0.006599679946899414, | |
0.006586368083953857, | |
0.006575104236602783, | |
0.006569983959197998, | |
0.006601727962493896, | |
0.006592512130737305, | |
0.006583295822143555, | |
0.006594560146331787, | |
0.006830080032348633, | |
0.0066713600158691405, | |
0.0068280320167541505, | |
0.006783040046691895, | |
0.006822912216186523, | |
0.006651904106140137 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.20891504217653 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.878350172084951e-08, | |
"ram": 4.3069576453405975e-08, | |
"gpu": 1.3693719564238348e-07, | |
"total": 2.58790273816639e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3864132.856509635 | |
} | |
} | |
} | |
} |