IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4a14d61 verified
raw
history blame
10.9 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "8ebe8531a5b12ea7926cab66905381c76b24fcc4",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 1007.644672,
"max_global_vram": 897.14688,
"max_process_vram": 183640.682496,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9965034790039062,
"mean": 0.0067789352313190904,
"stdev": 0.0003515679545150349,
"p50": 0.006608005046844482,
"p90": 0.006973540782928467,
"p95": 0.007133941173553466,
"p99": 0.007498057165145873,
"values": [
0.007027204990386963,
0.0069112048149108886,
0.006906085968017578,
0.0069729647636413575,
0.006992324829101563,
0.006960326194763183,
0.006955045223236084,
0.006944165229797363,
0.006944165229797363,
0.006940966129302979,
0.006950244903564453,
0.0069320049285888675,
0.006908966064453125,
0.0069252848625183105,
0.0069228849411010745,
0.006883045196533203,
0.00690384578704834,
0.006889764785766602,
0.006852485179901123,
0.006867044925689697,
0.0070414462089538575,
0.0068806447982788085,
0.006885125160217285,
0.006897446155548096,
0.00690448522567749,
0.006871204853057861,
0.00691872501373291,
0.006923205852508545,
0.006890085220336914,
0.006905924797058105,
0.006952324867248535,
0.006917605876922608,
0.006846405029296875,
0.006891045093536377,
0.006876484870910644,
0.010060808181762696,
0.006950564861297607,
0.006559364795684815,
0.0065889649391174315,
0.006780486106872558,
0.006600645065307617,
0.006773924827575684,
0.006781445026397705,
0.006791045188903808,
0.006598404884338379,
0.006594725131988525,
0.0066048049926757816,
0.006580005168914795,
0.0066073651313781736,
0.006583684921264648,
0.006732165813446045,
0.006590565204620361,
0.006580645084381103,
0.006748964786529541,
0.006573285102844238,
0.006741125106811524,
0.006588005065917969,
0.006572645187377929,
0.006568005084991455,
0.006587045192718506,
0.006590244770050049,
0.006574564933776855,
0.006568964958190918,
0.006591044902801514,
0.006681604862213135,
0.006608644962310791,
0.0065963249206542965,
0.006592965126037598,
0.006579844951629638,
0.006599685192108154,
0.0065768051147460935,
0.006603525161743164,
0.006581924915313721,
0.006583205223083496,
0.006590085029602051,
0.006612965106964111,
0.006586565017700195,
0.006584004878997803,
0.006605124950408935,
0.006599205017089844,
0.006604165077209473,
0.006608005046844482,
0.006589284896850586,
0.006602725028991699,
0.006569604873657226,
0.006591845035552979,
0.006581445217132568,
0.006547365188598633,
0.006536324977874756,
0.006572004795074463,
0.00655904483795166,
0.006551525115966797,
0.006564644813537598,
0.006545444965362549,
0.006573285102844238,
0.006556005001068115,
0.006569284915924073,
0.006556964874267578,
0.006570885181427002,
0.0065603251457214354,
0.006548484802246094,
0.006559685230255127,
0.006558565139770508,
0.0065982451438903805,
0.006596165180206299,
0.006570405006408692,
0.0065768051147460935,
0.0065644850730896,
0.006579844951629638,
0.006592325210571289,
0.006547844886779785,
0.006576964855194092,
0.006776325225830078,
0.007486566066741944,
0.007464165210723877,
0.007507845878601074,
0.007100005149841309,
0.006943846225738525,
0.00680304479598999,
0.006921444892883301,
0.006960326194763183,
0.00688768482208252,
0.00714848518371582,
0.00745456600189209,
0.007448165893554687,
0.0074654450416564945,
0.0070768060684204106,
0.0069694452285766605,
0.006907044887542724,
0.006964005947113037,
0.0069534449577331545,
0.006893284797668457,
0.006908484935760498,
0.007024325847625732,
0.006974404811859131,
0.00677840518951416,
0.00673312520980835,
0.006574725151062012,
0.006585444927215576,
0.006572004795074463,
0.006581445217132568,
0.006565444946289063,
0.006578084945678711,
0.006568964958190918,
0.006607685089111328,
0.006592803955078125,
0.006608005046844482
]
},
"throughput": {
"unit": "samples/s",
"value": 147.5157920642079
},
"energy": null,
"efficiency": null
}
}
}