
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
27a5db4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.6.0.dev20240917+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 811.147264, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.4949970703125, | |
"mean": 8.4949970703125, | |
"stdev": 0.0, | |
"p50": 8.4949970703125, | |
"p90": 8.4949970703125, | |
"p95": 8.4949970703125, | |
"p99": 8.4949970703125, | |
"values": [ | |
8.4949970703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0381181749873274e-06, | |
"ram": 5.496451973902203e-07, | |
"gpu": 1.6905569080044591e-06, | |
"total": 3.2783202803820067e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1098.928128, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.0000793929100034, | |
"mean": 0.006667195952733357, | |
"stdev": 0.0002283985679161313, | |
"p50": 0.006562832117080688, | |
"p90": 0.006862131214141846, | |
"p95": 0.007115588784217832, | |
"p99": 0.007373793277740478, | |
"values": [ | |
0.00739737606048584, | |
0.00734822416305542, | |
0.007349247932434082, | |
0.007325695991516113, | |
0.007342112064361572, | |
0.00729804801940918, | |
0.0077281279563903805, | |
0.00672051191329956, | |
0.006551551818847656, | |
0.006491136074066162, | |
0.006552544116973877, | |
0.0065177597999572755, | |
0.006472703933715821, | |
0.006487040042877197, | |
0.006466559886932373, | |
0.006631392002105713, | |
0.006508543968200684, | |
0.0064778242111206055, | |
0.006489088058471679, | |
0.00652288007736206, | |
0.006461440086364746, | |
0.006498367786407471, | |
0.006457344055175781, | |
0.006479872226715088, | |
0.006446176052093506, | |
0.006465407848358154, | |
0.006481919765472412, | |
0.006493120193481445, | |
0.006486015796661377, | |
0.006529024124145508, | |
0.006497280120849609, | |
0.006471680164337158, | |
0.006529024124145508, | |
0.00648089599609375, | |
0.006486015796661377, | |
0.006505472183227539, | |
0.006505472183227539, | |
0.006505472183227539, | |
0.006511583805084229, | |
0.006452223777770996, | |
0.006497280120849609, | |
0.006453248023986816, | |
0.006473696231842041, | |
0.006495232105255127, | |
0.006467584133148193, | |
0.006505472183227539, | |
0.006470655918121338, | |
0.006436863899230957, | |
0.00648089599609375, | |
0.006457344055175781, | |
0.00648089599609375, | |
0.006499328136444092, | |
0.006463488101959228, | |
0.006472703933715821, | |
0.006519807815551758, | |
0.006482944011688232, | |
0.006515711784362793, | |
0.006475776195526123, | |
0.0064880638122558594, | |
0.006509568214416504, | |
0.006498303890228272, | |
0.006498303890228272, | |
0.006651904106140137, | |
0.007050240039825439, | |
0.006662144184112549, | |
0.0065731201171875, | |
0.0065382399559021, | |
0.006533120155334473, | |
0.006536191940307618, | |
0.006504447937011719, | |
0.006533120155334473, | |
0.006497280120849609, | |
0.00648089599609375, | |
0.006497280120849609, | |
0.006486015796661377, | |
0.0066078720092773435, | |
0.006504479885101318, | |
0.006496255874633789, | |
0.006490111827850342, | |
0.006474751949310303, | |
0.006418464183807373, | |
0.006540287971496582, | |
0.006493184089660644, | |
0.006466559886932373, | |
0.006487040042877197, | |
0.0064839677810668945, | |
0.006500288009643555, | |
0.0065484800338745115, | |
0.006481919765472412, | |
0.00667955207824707, | |
0.0067358717918396, | |
0.006667263984680176, | |
0.006686783790588379, | |
0.0067051520347595215, | |
0.006672383785247803, | |
0.006683648109436035, | |
0.006781951904296875, | |
0.006685696125030518, | |
0.006750207901000976, | |
0.006729728221893311, | |
0.006724639892578125, | |
0.0067010560035705566, | |
0.0067420158386230465, | |
0.006711296081542969, | |
0.006677504062652588, | |
0.0069847040176391605, | |
0.007169055938720703, | |
0.00703385591506958, | |
0.006808576107025147, | |
0.006817791938781738, | |
0.0068249602317810056, | |
0.006773759841918945, | |
0.0068280320167541505, | |
0.006817791938781738, | |
0.006818816184997558, | |
0.006738880157470703, | |
0.006820864200592041, | |
0.006819839954376221, | |
0.006765567779541016, | |
0.0068055038452148435, | |
0.00693555212020874, | |
0.006838272094726563, | |
0.00682809591293335, | |
0.00687718391418457, | |
0.0068618240356445315, | |
0.00683622407913208, | |
0.006864895820617676, | |
0.006887423992156983, | |
0.006848512172698974, | |
0.006766592025756836, | |
0.006801407814025879, | |
0.006759424209594727, | |
0.006802432060241699, | |
0.006804480075836182, | |
0.0068310718536376954, | |
0.0067645440101623535, | |
0.006723584175109864, | |
0.006778880119323731, | |
0.006763519763946534, | |
0.006752255916595459, | |
0.006788095951080322, | |
0.006798367977142334, | |
0.006790143966674805, | |
0.006812672138214112, | |
0.006823935985565186, | |
0.006815711975097657, | |
0.006761472225189209, | |
0.006790143966674805, | |
0.0067983360290527345, | |
0.006808576107025147 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.98809200890952 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.823313306831999e-08, | |
"ram": 4.269056784790297e-08, | |
"gpu": 1.55718326328967e-07, | |
"total": 2.7664202724518995e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3614779.756922806 | |
} | |
} | |
} | |
} |