IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
df862f0 verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 816.533504,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.06191820907592773
],
"count": 1,
"total": 0.06191820907592773,
"mean": 0.06191820907592773,
"p50": 0.06191820907592773,
"p90": 0.06191820907592773,
"p95": 0.06191820907592773,
"p99": 0.06191820907592773,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.145664,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006662144184112549,
0.006619071960449219,
0.006508543968200684,
0.0065781760215759275,
0.006496255874633789,
0.006608895778656006,
0.006479872226715088,
0.00653004789352417,
0.006505472183227539,
0.006536191940307618,
0.0064471039772033695,
0.006653952121734619,
0.006452223777770996,
0.006479872226715088,
0.006470655918121338,
0.006427648067474365,
0.0063539199829101565,
0.006298624038696289,
0.00633241605758667,
0.006412288188934326,
0.006401023864746094,
0.006411295890808105,
0.006411295890808105,
0.006445055961608887,
0.006457344055175781,
0.0064737281799316405,
0.00638156795501709,
0.00643071985244751,
0.0065146880149841305,
0.006499328136444092,
0.006536191940307618,
0.006553599834442139,
0.006546432018280029,
0.006470655918121338,
0.006449151992797852,
0.006460351943969727,
0.006441984176635742,
0.006472703933715821,
0.006502399921417237,
0.006490111827850342,
0.006411263942718506,
0.006450175762176514,
0.006555647850036621,
0.006465536117553711,
0.006322175979614258,
0.0063498239517211915,
0.006463488101959228,
0.0065699520111083985,
0.00638156795501709,
0.00638976001739502,
0.006520832061767578,
0.0064143362045288085,
0.006339583873748779,
0.006364128112792969,
0.006395904064178467,
0.006432767868041992,
0.006394879817962646,
0.006363135814666748,
0.006394879817962646,
0.006405119895935059,
0.006407104015350342,
0.006377471923828125,
0.006445055961608887,
0.006509568214416504,
0.006558720111846924,
0.006469632148742676,
0.006490111827850342,
0.006496255874633789,
0.006496255874633789,
0.006453248023986816,
0.006456319808959961,
0.0064471039772033695,
0.006386688232421875,
0.006284287929534912,
0.006449151992797852,
0.0063201279640197755,
0.006340608119964599,
0.0063170561790466305,
0.006284287929534912,
0.006266880035400391,
0.006529983997344971,
0.006400000095367431,
0.006091775894165039,
0.006187007904052734,
0.006205440044403076,
0.00608358383178711,
0.006232063770294189,
0.0062975997924804685,
0.006217728137969971,
0.006178815841674804,
0.0062740478515625,
0.00638259220123291,
0.006394879817962646,
0.00618393611907959,
0.006141952037811279,
0.00613478422164917,
0.006078464031219482,
0.006171648025512695,
0.006095871925354004,
0.006182911872863769,
0.006138879776000977,
0.006052864074707031,
0.006091775894165039,
0.006051839828491211,
0.0060364799499511715,
0.006023136138916016,
0.00603545618057251,
0.00607539176940918,
0.00607539176940918,
0.006004735946655273,
0.006055935859680176,
0.0060364799499511715,
0.006051839828491211,
0.006023168087005615,
0.0060282878875732426,
0.006050816059112549,
0.006034431934356689,
0.006051839828491211,
0.006025152206420898,
0.006085631847381592,
0.006030335903167725,
0.006024191856384278,
0.006053919792175293,
0.0060364799499511715,
0.006073344230651856,
0.006012928009033203,
0.00607539176940918,
0.0060999679565429685,
0.006147071838378906,
0.006031360149383545,
0.006052864074707031,
0.006055871963500977,
0.006114367961883545,
0.006041632175445556,
0.006103040218353272,
0.00601087999343872,
0.0059770879745483394,
0.0060661759376525876,
0.005928959846496582,
0.0059658241271972655,
0.005940224170684814,
0.005940224170684814,
0.005941279888153076,
0.00602726411819458,
0.006053887844085694,
0.006000639915466309,
0.006020095825195313,
0.006044672012329101,
0.006011903762817383,
0.00601910400390625,
0.006179840087890625,
0.006088704109191895,
0.006056960105895996,
0.006030335903167725,
0.0060026879310607914,
0.00607539176940918,
0.006067200183868408,
0.006046783924102783,
0.006011903762817383
],
"count": 159,
"total": 0.9967993245124819,
"mean": 0.006269178141587935,
"p50": 0.0063170561790466305,
"p90": 0.006510592174530029,
"p95": 0.006553804636001587,
"p99": 0.006633721628189087,
"stdev": 0.0002039480656182009,
"stdev_": 3.253186638058149
},
"throughput": {
"unit": "samples/s",
"value": 319.0210829602324
},
"energy": {
"unit": "kWh",
"cpu": 6.924131243540519e-08,
"ram": 3.778193286754594e-08,
"gpu": 1.4960283286046177e-07,
"total": 2.5662607816341293e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7793440.223664451
}
}
}
}