IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
df0991f verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "5",
"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": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"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": 1078.247424,
"max_global_vram": 68702.69952,
"max_process_vram": 41508.728832,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3357705078125,
"mean": 8.3357705078125,
"stdev": 0.0,
"p50": 8.3357705078125,
"p90": 8.3357705078125,
"p95": 8.3357705078125,
"p99": 8.3357705078125,
"values": [
8.3357705078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1194.975232,
"max_global_vram": 68702.69952,
"max_process_vram": 230102.36416,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9993674993515016,
"mean": 0.0068921896507000095,
"stdev": 0.0008266065602552249,
"p50": 0.006659984111785889,
"p90": 0.007376013946533203,
"p95": 0.007524237155914306,
"p99": 0.009245629425048835,
"values": [
0.007805582046508789,
0.007230863094329834,
0.00734702205657959,
0.007395341873168946,
0.007339662075042725,
0.007296942234039307,
0.007252462863922119,
0.0075364608764648434,
0.0072835030555725095,
0.00717726182937622,
0.007094062805175781,
0.007085103034973145,
0.00710142183303833,
0.007047502994537353,
0.007032302856445313,
0.007024622917175293,
0.006988943099975586,
0.006933262825012207,
0.006998063087463379,
0.00697678279876709,
0.007011023044586182,
0.007043822765350342,
0.007060142993927002,
0.007039183139801025,
0.006936943054199219,
0.006956623077392578,
0.006961583137512207,
0.006978542804718018,
0.006944622993469238,
0.0069983830451965335,
0.006950063228607178,
0.007007503032684327,
0.007025423049926757,
0.007018383026123047,
0.006995822906494141,
0.006979183197021484,
0.006925743103027343,
0.0069659028053283695,
0.007102542877197265,
0.006926702976226807,
0.006862702846527099,
0.010377095222473145,
0.006813902854919434,
0.006633903980255127,
0.006645743846893311,
0.006638224124908447,
0.006661104202270508,
0.006650544166564941,
0.006660783767700195,
0.006639664173126221,
0.006648143768310547,
0.006621103763580322,
0.006635024070739746,
0.006641903877258301,
0.006630543231964111,
0.006609903812408447,
0.006627984046936035,
0.006649263858795166,
0.0066287841796875,
0.006633103847503662,
0.006661424160003662,
0.0066062240600585935,
0.006825104236602784,
0.006657104015350342,
0.006632783889770508,
0.0066571030616760256,
0.006650063991546631,
0.006606383800506592,
0.006659984111785889,
0.006635344028472901,
0.006639023780822754,
0.006639664173126221,
0.006643824100494385,
0.006635024070739746,
0.006621263980865479,
0.006867183208465576,
0.006634543895721436,
0.006642064094543457,
0.006652624130249024,
0.0066502242088317875,
0.006642864227294922,
0.006651503086090088,
0.006625264167785644,
0.006614543914794922,
0.006623504161834717,
0.006604784011840821,
0.006631343841552734,
0.013975646018981934,
0.002347033977508545,
0.005108468055725098,
0.006599023818969727,
0.006610703945159912,
0.006576464176177978,
0.006607344150543213,
0.006633584022521973,
0.0065971040725708,
0.006596464157104492,
0.0065726242065429685,
0.006595503807067871,
0.006587345123291016,
0.006591024875640869,
0.00658574390411377,
0.0065902237892150875,
0.006611824035644531,
0.006594223976135254,
0.006623023986816406,
0.006600304126739502,
0.006608143806457519,
0.006615503787994385,
0.00659662389755249,
0.006603983879089356,
0.006609583854675293,
0.00660862398147583,
0.006614223957061767,
0.006597263813018799,
0.006605423927307129,
0.0065993437767028805,
0.006608143806457519,
0.006593264102935791,
0.006609263896942138,
0.006587823867797851,
0.006898542881011963,
0.007500301837921142,
0.0075118222236633305,
0.007511820793151856,
0.007529741764068604,
0.007600302219390869,
0.006987823963165283,
0.006918223857879638,
0.006954223155975342,
0.0071191821098327635,
0.0073286228179931644,
0.007527341842651367,
0.007521421909332276,
0.007504782199859619,
0.007524940967559814,
0.007486862182617187,
0.007304141998291016,
0.0070198230743408205,
0.006922704219818115,
0.006871344089508057,
0.007026863098144531,
0.007009263038635254,
0.006810381889343262,
0.00662062406539917
]
},
"throughput": {
"unit": "samples/s",
"value": 145.091770639021
},
"energy": null,
"efficiency": null
}
}
}