IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
175d1f4 verified
raw
history blame
12.6 kB
{
"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": {},
"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.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.458304,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.117685546875,
"mean": 7.117685546875,
"stdev": 0.0,
"p50": 7.117685546875,
"p90": 7.117685546875,
"p95": 7.117685546875,
"p99": 7.117685546875,
"values": [
7.117685546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0487268368403117e-06,
"ram": 5.504453700562332e-07,
"gpu": 1.8450014760001965e-06,
"total": 3.444173682896741e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 911.921152,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 156,
"total": 0.996712381839752,
"mean": 0.006389181934870206,
"stdev": 0.00023420817945482973,
"p50": 0.006393311977386474,
"p90": 0.006571007966995239,
"p95": 0.006873071908950805,
"p99": 0.007281356716156005,
"values": [
0.007076863765716553,
0.007020544052124023,
0.00709939193725586,
0.007015423774719238,
0.00699283218383789,
0.006617087841033936,
0.006660096168518067,
0.007307263851165771,
0.0064174079895019534,
0.006391808032989502,
0.006238207817077636,
0.006181888103485108,
0.006232063770294189,
0.00617574405670166,
0.0064839677810668945,
0.00674508810043335,
0.0064430079460144046,
0.006437888145446777,
0.006412288188934326,
0.00643174409866333,
0.006710303783416748,
0.0064430079460144046,
0.006465536117553711,
0.006451200008392334,
0.006833151817321777,
0.006714399814605713,
0.007260159969329834,
0.00748748779296875,
0.0065382399559021,
0.0064430079460144046,
0.006438975811004639,
0.0064174079895019534,
0.006487040042877197,
0.0063836159706115725,
0.0065136637687683106,
0.006493184089660644,
0.00640825605392456,
0.0064542717933654785,
0.0064204797744750975,
0.006391808032989502,
0.006399936199188232,
0.006362112045288086,
0.006401023864746094,
0.00643891191482544,
0.0062791681289672855,
0.006300672054290772,
0.006258687973022461,
0.006280191898345947,
0.006252543926239014,
0.0062791681289672855,
0.0064143362045288085,
0.006392831802368164,
0.006450175762176514,
0.0064143362045288085,
0.006406144142150879,
0.006434815883636475,
0.006409215927124024,
0.006397952079772949,
0.006091775894165039,
0.006161407947540283,
0.006311935901641846,
0.006271999835968017,
0.006330368041992188,
0.006277120113372803,
0.0062873601913452145,
0.00626585578918457,
0.006300672054290772,
0.006181888103485108,
0.006139904022216797,
0.006635519981384277,
0.006370304107666015,
0.006397952079772949,
0.0064020161628723146,
0.006415359973907471,
0.00643891191482544,
0.006391744136810303,
0.006457344055175781,
0.006421504020690918,
0.0064102401733398436,
0.006418432235717773,
0.006367231845855713,
0.006404096126556396,
0.006401023864746094,
0.006379519939422608,
0.006385663986206055,
0.006250495910644531,
0.006301695823669433,
0.006295487880706787,
0.006206463813781738,
0.0060999679565429685,
0.0060661759376525876,
0.006082592010498047,
0.00606822395324707,
0.006107103824615478,
0.0061010241508483885,
0.006072319984436035,
0.006105088233947754,
0.006107135772705078,
0.006155327796936035,
0.0062197761535644535,
0.006559743881225586,
0.006366208076477051,
0.0064471039772033695,
0.006426623821258545,
0.006393856048583985,
0.006421504020690918,
0.006582272052764892,
0.00638976001739502,
0.006407167911529541,
0.0063610877990722655,
0.006401023864746094,
0.006348800182342529,
0.006427648067474365,
0.0064133119583129885,
0.006370304107666015,
0.006395904064178467,
0.006336512088775635,
0.006295551776885986,
0.006254591941833496,
0.006194176197052002,
0.006104063987731933,
0.006120448112487793,
0.0063211522102355954,
0.006093823909759521,
0.006102015972137451,
0.006064127922058105,
0.006086656093597412,
0.006064127922058105,
0.006074368000030517,
0.006050816059112549,
0.0060590081214904785,
0.006089727878570556,
0.006269951820373535,
0.006395904064178467,
0.006247424125671387,
0.006375423908233643,
0.006351871967315674,
0.006375423908233643,
0.0063610877990722655,
0.006345727920532227,
0.006556672096252441,
0.006411263942718506,
0.0064133119583129885,
0.006400000095367431,
0.00638156795501709,
0.0063937921524047855,
0.006407167911529541,
0.006352896213531494,
0.0065382399559021,
0.006378496170043945,
0.0064133119583129885,
0.0064133119583129885,
0.006415359973907471,
0.006418432235717773,
0.006388735771179199,
0.006419456005096436
]
},
"throughput": {
"unit": "samples/s",
"value": 156.51456011016137
},
"energy": {
"unit": "kWh",
"cpu": 7.283527914487999e-08,
"ram": 3.9821067680822055e-08,
"gpu": 1.3862315111656846e-07,
"total": 2.512794979422705e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3979632.2747737346
}
}
}
}