IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
52d1e7c verified
raw
history blame
11.6 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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1107.402752,
"max_global_vram": 68702.69952,
"max_process_vram": 4126.16704,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08040436553955078
],
"count": 1,
"total": 0.08040436553955078,
"mean": 0.08040436553955078,
"p50": 0.08040436553955078,
"p90": 0.08040436553955078,
"p95": 0.08040436553955078,
"p99": 0.08040436553955078,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1230.262272,
"max_global_vram": 68702.69952,
"max_process_vram": 210314.87488,
"max_reserved": 555.74528,
"max_allocated": 499.442688
},
"latency": {
"unit": "s",
"values": [
0.00746653413772583,
0.007434694766998291,
0.007854053020477295,
0.007552615165710449,
0.007525574207305908,
0.007507174968719482,
0.007443014144897461,
0.007472774982452393,
0.0074569349288940425,
0.007460134029388428,
0.007464934825897216,
0.00743965482711792,
0.007518535137176514,
0.0075911741256713865,
0.007764934062957763,
0.0074638137817382814,
0.007636455059051514,
0.007547975063323975,
0.008295171737670899,
0.007571653842926025,
0.007654054164886475,
0.00750701379776001,
0.00750077486038208,
0.007486534118652344,
0.007498855113983154,
0.007525253772735596,
0.007511974811553955,
0.015765706062316896,
0.00740525484085083,
0.0075186948776245115,
0.007549414157867432,
0.007499494075775146,
0.007566054821014404,
0.007530535221099853,
0.007739014148712158,
0.007482533931732178,
0.007507174968719482,
0.007607173919677734,
0.007546693801879883,
0.007537895202636718,
0.007548614025115967,
0.0074740548133850095,
0.00752365493774414,
0.0075055742263793945,
0.007601254940032959,
0.007517253875732422,
0.00755821418762207,
0.007544455051422119,
0.007550213813781738,
0.007505094051361084,
0.007790853977203369,
0.0075343742370605465,
0.007547975063323975,
0.00756861400604248,
0.00758173418045044,
0.007563173770904541,
0.007619493961334228,
0.007564455032348633,
0.007573894023895264,
0.007580773830413818,
0.007580133914947509,
0.007557575225830078,
0.007571814060211182,
0.007526534080505371,
0.007533895015716553,
0.007530694961547852,
0.00758173418045044,
0.007571494102478028,
0.00757725477218628,
0.007558534145355225,
0.007579174041748047,
0.007515974998474121,
0.007579975128173828,
0.007516133785247803,
0.0075132551193237305,
0.007568774223327637,
0.007570054054260254,
0.007533254146575928,
0.007611655235290528,
0.007559494972229004,
0.007564613819122315,
0.00754237413406372,
0.00757773494720459,
0.007525734901428223,
0.007561893939971924,
0.007517735004425049,
0.007536933898925781,
0.007517254829406738,
0.007592615127563477,
0.007551494121551513,
0.007567493915557861,
0.007576933860778809,
0.00749693489074707,
0.007503173828125,
0.007576775074005127,
0.007507975101470947,
0.007563014030456543,
0.007521254062652588,
0.007597095012664795,
0.007498694896697998,
0.007590693950653076,
0.00751437520980835,
0.0075935740470886234,
0.007558854103088379,
0.007576933860778809,
0.007555015087127685,
0.00761837387084961,
0.0075249338150024415,
0.007585733890533447,
0.007585414886474609,
0.007516135215759277,
0.007590693950653076,
0.007601573944091797,
0.007611653804779053,
0.007583654880523681,
0.007539655208587646,
0.007673893928527832,
0.007322374820709228,
0.0074049348831176755,
0.0071841349601745605,
0.007244296073913574,
0.007264935970306396,
0.007160935878753662,
0.006963656902313232,
0.007100135803222656,
0.006932455062866211,
0.00707261610031128,
0.007276134967803955,
0.0070708560943603515,
0.00695725679397583,
0.007216455936431884,
0.007199494838714599
],
"count": 132,
"total": 0.9998886117935182,
"mean": 0.00757491372570847,
"p50": 0.007541014671325683,
"p90": 0.0076066139221191405,
"p95": 0.007662982058525085,
"p99": 0.00815842493534088,
"stdev": 0.0007335688962782211,
"stdev_": 9.684188135220134
},
"throughput": {
"unit": "samples/s",
"value": 132.01470488120597
},
"energy": null,
"efficiency": null
}
}
}