IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0c96919 verified
raw
history blame
10.2 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model": "timm/resnet50.a1_in1k",
"processor": "timm/resnet50.a1_in1k",
"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": false,
"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": "50da7b73412b5fcfdb3831f32e0f2c5b8acaf7cf",
"transformers_version": "4.42.3",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1831.559168,
"max_global_vram": 541.581312,
"max_process_vram": 66146.934784,
"max_reserved": 148.897792,
"max_allocated": 113.520128
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9976299109458924,
"mean": 0.007615495503403759,
"stdev": 0.0004512714492180638,
"p50": 0.007498549938201904,
"p90": 0.008008149147033692,
"p95": 0.008024309635162354,
"p99": 0.00825765285491943,
"values": [
0.007444631099700927,
0.0074342298507690426,
0.007498549938201904,
0.007356791019439697,
0.007309909820556641,
0.007271030902862549,
0.007407189846038819,
0.0073678297996521,
0.007331671237945557,
0.007340789794921875,
0.0073447909355163574,
0.007287030220031738,
0.00721311092376709,
0.007311830043792725,
0.0072236709594726565,
0.007193430900573731,
0.007319510936737061,
0.0077614297866821285,
0.007238709926605224,
0.007272150993347168,
0.007259191036224365,
0.007219991207122803,
0.007203670978546142,
0.007243669986724853,
0.007245271205902099,
0.007192951202392578,
0.007203190803527832,
0.007233591079711914,
0.00727439022064209,
0.007321431159973145,
0.007348309993743896,
0.007314071178436279,
0.010658226013183593,
0.007221590042114258,
0.007349750995635986,
0.0072679901123046875,
0.007511670112609863,
0.007249751091003418,
0.007258551120758057,
0.007259029865264893,
0.0072329511642456054,
0.007249751091003418,
0.007498390197753906,
0.007378870964050293,
0.007079191207885742,
0.007378231048583985,
0.007168790817260742,
0.007168469905853271,
0.007070711135864258,
0.007307031154632568,
0.007323670864105225,
0.007532470226287842,
0.007321431159973145,
0.007308469772338867,
0.00722895097732544,
0.007214230060577392,
0.007375670909881592,
0.007062390804290771,
0.007095351219177246,
0.007154390811920166,
0.007351349830627441,
0.00741455078125,
0.006999190807342529,
0.0070188698768615726,
0.006962070941925049,
0.00698927116394043,
0.007012950897216797,
0.007226710796356201,
0.0071220707893371584,
0.007015830993652343,
0.007791349887847901,
0.007881110191345214,
0.008005270004272461,
0.007754710197448731,
0.00789727020263672,
0.007892469882965087,
0.007877749919891357,
0.00784782886505127,
0.007967989921569824,
0.007889750003814698,
0.007920788764953614,
0.007908790111541749,
0.008333108901977538,
0.007985109806060792,
0.00800382900238037,
0.007987669944763184,
0.008024470329284668,
0.008010229110717774,
0.008044469833374023,
0.007980148792266845,
0.00801455020904541,
0.008007988929748536,
0.007997590065002442,
0.007919350147247314,
0.00802414894104004,
0.007963669776916505,
0.008081588745117187,
0.007946710109710693,
0.008012789726257324,
0.007995988845825195,
0.007957429885864257,
0.007894390106201172,
0.007895188808441162,
0.007898709774017333,
0.007878389835357666,
0.007927509784698486,
0.007968949794769286,
0.00791519021987915,
0.007919990062713623,
0.007944469928741454,
0.008008149147033692,
0.0079092698097229,
0.008048469543457032,
0.007926068782806396,
0.00794798994064331,
0.008005590438842773,
0.007943190097808838,
0.00793390989303589,
0.008003508567810059,
0.00793871021270752,
0.008060629844665528,
0.007952949047088624,
0.008001749992370605,
0.00801646900177002,
0.007970870018005371,
0.008013270378112792,
0.007934709072113038,
0.00799103021621704,
0.00793950891494751,
0.007931509971618652,
0.00795678997039795
]
},
"throughput": {
"unit": "samples/s",
"value": 131.31121928350535
},
"energy": null,
"efficiency": null
}
}
}