IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dc404a6 verified
raw
history blame
11.7 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": 2,
"sequence_length": 16,
"num_choices": 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.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1109.66784,
"max_global_vram": 68702.69952,
"max_process_vram": 4770.541568,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.09973605346679687
],
"count": 1,
"total": 0.09973605346679687,
"mean": 0.09973605346679687,
"p50": 0.09973605346679687,
"p90": 0.09973605346679687,
"p95": 0.09973605346679687,
"p99": 0.09973605346679687,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1226.850304,
"max_global_vram": 68702.69952,
"max_process_vram": 225736.384512,
"max_reserved": 555.74528,
"max_allocated": 500.456448
},
"latency": {
"unit": "s",
"values": [
0.007179442882537842,
0.007025525093078613,
0.0070250449180603025,
0.01995882797241211,
0.007580719947814942,
0.0070794448852539065,
0.007059924125671387,
0.007078004837036133,
0.007063445091247559,
0.007025684833526611,
0.00702408504486084,
0.007049045085906982,
0.0070744848251342776,
0.0070509638786315915,
0.007066965103149414,
0.007094004154205322,
0.007078323841094971,
0.0070551252365112305,
0.0070884041786193844,
0.007063125133514404,
0.007090165138244629,
0.007037845134735108,
0.007255763053894043,
0.007077044010162354,
0.007079285144805908,
0.0070959248542785645,
0.0070716052055358886,
0.007070644855499268,
0.007101044178009033,
0.007071764945983887,
0.007042485237121582,
0.00706904411315918,
0.007100883960723877,
0.007043284893035889,
0.007077683925628662,
0.007174004077911377,
0.007110964775085449,
0.007041685104370117,
0.007112564086914063,
0.007090963840484619,
0.007062644958496094,
0.00707720422744751,
0.0070932040214538574,
0.007107443809509277,
0.007064565181732178,
0.007087604999542236,
0.007249523162841797,
0.007128243923187256,
0.007090165138244629,
0.007118644237518311,
0.007077364921569824,
0.007160243034362793,
0.007114004135131836,
0.007086324214935303,
0.007101044178009033,
0.007074965000152588,
0.007046645164489746,
0.007041204929351807,
0.007044404983520508,
0.007074804782867432,
0.007052885055541992,
0.00703224515914917,
0.007038004875183105,
0.021216733932495117,
0.008452549934387207,
0.009039104461669922,
0.007949834823608398,
0.00805687427520752,
0.007584878921508789,
0.007350320816040039,
0.007411921024322509,
0.007453999996185303,
0.007543919086456299,
0.007418160915374756,
0.00735896110534668,
0.00745192003250122,
0.007975755214691162,
0.007939754962921142,
0.007940074920654298,
0.007962954998016357,
0.008001194000244141,
0.007933674812316894,
0.007414000988006592,
0.0073567209243774415,
0.007176884174346924,
0.007086164951324463,
0.007091605186462403,
0.007113365173339844,
0.0070604047775268556,
0.007052885055541992,
0.007097044944763184,
0.00735272216796875,
0.007100083827972412,
0.007053844928741455,
0.00709992504119873,
0.007054325103759766,
0.007124403953552246,
0.007092084884643555,
0.007083604812622071,
0.007111124038696289,
0.007123604774475097,
0.007107124805450439,
0.007045205116271973,
0.007072244167327881,
0.007117363929748535,
0.007070324897766113,
0.007093685150146484,
0.013276979446411133,
0.007009524822235108,
0.007066164970397949,
0.007103925228118897,
0.007142963886260986,
0.007118644237518311,
0.007094644069671631,
0.007084723949432373,
0.0071116042137145995,
0.007085204124450684,
0.007073685169219971,
0.007035924911499024,
0.007100083827972412,
0.007092884063720703,
0.007069524765014649,
0.007079124927520752,
0.007091924190521241,
0.007094324111938477,
0.007065205097198486,
0.007086164951324463,
0.007106005191802978,
0.007083445072174072,
0.00702600622177124,
0.007073523998260498,
0.007129844188690186,
0.007100405216217041,
0.007122163772583008
],
"count": 134,
"total": 0.9972765803337098,
"mean": 0.007442362539803803,
"p50": 0.007091764688491821,
"p90": 0.007583631229400635,
"p95": 0.007984658789634705,
"p99": 0.017753817958831707,
"stdev": 0.0017286010451875102,
"stdev_": 23.22650953836871
},
"throughput": {
"unit": "samples/s",
"value": 268.73186965878773
},
"energy": null,
"efficiency": null
}
}
}