IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b6ac413 verified
raw
history blame
12.4 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.285632,
"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": 720.30208,
"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.16056982421875,
"mean": 7.16056982421875,
"stdev": 0.0,
"p50": 7.16056982421875,
"p90": 7.16056982421875,
"p95": 7.16056982421875,
"p99": 7.16056982421875,
"values": [
7.16056982421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.026071608066559e-06,
"ram": 5.472010366739254e-07,
"gpu": 1.772501417999714e-06,
"total": 3.345774062740198e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.8176,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.9988119034767152,
"mean": 0.006528182375664804,
"stdev": 0.0002627922461643685,
"p50": 0.006498303890228272,
"p90": 0.006756966400146484,
"p95": 0.0068265984535217285,
"p99": 0.007400046138763426,
"values": [
0.006958079814910889,
0.007280576229095459,
0.006927360057830811,
0.006642687797546387,
0.006811647891998291,
0.006856768131256103,
0.006597631931304931,
0.0065382399559021,
0.0064430079460144046,
0.006479872226715088,
0.006469632148742676,
0.006450175762176514,
0.006451200008392334,
0.0063805441856384275,
0.006375423908233643,
0.006411295890808105,
0.0064143362045288085,
0.006481919765472412,
0.006562816143035889,
0.006703104019165039,
0.00677785587310791,
0.006662176132202148,
0.006657023906707763,
0.006523903846740723,
0.006498303890228272,
0.00643993616104126,
0.006457344055175781,
0.006626304149627686,
0.006481919765472412,
0.006615039825439453,
0.006672383785247803,
0.006426623821258545,
0.006766592025756836,
0.006636544227600098,
0.006573056221008301,
0.006628352165222168,
0.006614016056060791,
0.0066078720092773435,
0.006608895778656006,
0.006669375896453857,
0.006647808074951172,
0.006663199901580811,
0.006694911956787109,
0.00653926420211792,
0.006812672138214112,
0.006806528091430664,
0.0066979842185974124,
0.006705215930938721,
0.006688767910003662,
0.0067870721817016606,
0.006795263767242431,
0.006659071922302246,
0.006714367866516113,
0.006516736030578613,
0.006465536117553711,
0.006684671878814697,
0.006731808185577393,
0.006609920024871826,
0.006715392112731934,
0.006457344055175781,
0.006339583873748779,
0.006559743881225586,
0.006676479816436768,
0.006616064071655273,
0.006659071922302246,
0.006657023906707763,
0.0066713600158691405,
0.006520864009857178,
0.006620160102844238,
0.006707200050354004,
0.006751232147216797,
0.006758399963378906,
0.006717504024505615,
0.0067010560035705566,
0.006691840171813965,
0.006621183872222901,
0.006688767910003662,
0.006427648067474365,
0.00673689603805542,
0.006554624080657959,
0.0064430079460144046,
0.006586368083953857,
0.006636544227600098,
0.006446112155914307,
0.006307839870452881,
0.006914048194885254,
0.006518784046173095,
0.006533120155334473,
0.006527999877929688,
0.006563839912414551,
0.006650879859924317,
0.006670335769653321,
0.006709248065948486,
0.006847487926483154,
0.006534143924713135,
0.006421504020690918,
0.006441023826599121,
0.00637440013885498,
0.006364160060882569,
0.006387712001800537,
0.006300672054290772,
0.006305791854858398,
0.006364160060882569,
0.006284287929534912,
0.0063201279640197755,
0.006259712219238281,
0.006315008163452148,
0.007529471874237061,
0.006341631889343262,
0.006358975887298584,
0.006338560104370118,
0.006260735988616943,
0.006325183868408203,
0.006278143882751465,
0.006302688121795654,
0.006303743839263916,
0.00628326416015625,
0.006315008163452148,
0.006293504238128662,
0.006308864116668702,
0.006284287929534912,
0.006260735988616943,
0.0063211522102355954,
0.006289408206939697,
0.006294528007507324,
0.006299647808074951,
0.006330368041992188,
0.00626585578918457,
0.006296576023101807,
0.00632422399520874,
0.006318079948425293,
0.006330368041992188,
0.006298624038696289,
0.006304768085479737,
0.006328320026397705,
0.0062863359451293946,
0.006302720069885254,
0.006285312175750732,
0.0063272957801818845,
0.006299647808074951,
0.006294528007507324,
0.006330368041992188,
0.006303711891174317,
0.006305791854858398,
0.006285312175750732,
0.006553599834442139,
0.006178815841674804,
0.006153215885162353,
0.006142975807189942,
0.006318079948425293,
0.008478719711303711,
0.006498303890228272,
0.006402048110961914
]
},
"throughput": {
"unit": "samples/s",
"value": 153.18199499568422
},
"energy": {
"unit": "kWh",
"cpu": 7.495387298816032e-08,
"ram": 4.097498280569096e-08,
"gpu": 1.425300015063274e-07,
"total": 2.5845885730017867e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3869087.755187985
}
}
}
}