IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6c026de
verified
{ | |
"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.2.1", | |
"optimum_benchmark_commit": "c551ed4717b9f9db50458281347948dd265d9e3b", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1839.702016, | |
"max_global_vram": 2740.232192, | |
"max_process_vram": 98972.049408, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 158, | |
"total": 0.994730692863464, | |
"mean": 0.0062957638788826865, | |
"stdev": 0.000132625257138094, | |
"p50": 0.0062627804279327395, | |
"p90": 0.006320396518707276, | |
"p95": 0.006560515046119691, | |
"p99": 0.006890623278617862, | |
"values": [ | |
0.007188938140869141, | |
0.006528299808502197, | |
0.006641900062561035, | |
0.006727499008178711, | |
0.0067074990272521975, | |
0.006645259857177735, | |
0.006632938861846924, | |
0.006629740238189697, | |
0.006548298835754395, | |
0.006544139862060547, | |
0.006470699787139892, | |
0.006454539775848389, | |
0.006381740093231201, | |
0.00629646110534668, | |
0.006319340229034424, | |
0.006280941009521484, | |
0.006292779922485351, | |
0.006326381206512451, | |
0.006253420829772949, | |
0.0062604608535766606, | |
0.006279820919036865, | |
0.006238861083984375, | |
0.0062508611679077146, | |
0.006271501064300537, | |
0.006270860195159912, | |
0.006249421119689942, | |
0.00629262113571167, | |
0.006266540050506592, | |
0.0062747011184692385, | |
0.006279019832611084, | |
0.006259340763092041, | |
0.006263821125030517, | |
0.006265580177307129, | |
0.0062942209243774415, | |
0.006271820068359375, | |
0.006291821002960205, | |
0.006287180900573731, | |
0.006244781017303466, | |
0.006293900966644287, | |
0.006262700080871582, | |
0.0062697410583496095, | |
0.006283501148223877, | |
0.006242061138153076, | |
0.006250219821929932, | |
0.006242540836334229, | |
0.0062575812339782716, | |
0.006261899948120118, | |
0.006231020927429199, | |
0.00627406120300293, | |
0.006251659870147705, | |
0.00627022123336792, | |
0.006246700763702393, | |
0.006254059791564941, | |
0.006268301010131836, | |
0.006260140895843506, | |
0.006240300178527832, | |
0.006233420848846436, | |
0.006248620986938477, | |
0.006241100788116455, | |
0.0062697410583496095, | |
0.006247500896453858, | |
0.0062767801284790035, | |
0.006254061222076416, | |
0.006244941234588623, | |
0.006250060081481933, | |
0.006253581047058105, | |
0.006271340847015381, | |
0.006242700099945068, | |
0.006285100936889648, | |
0.0062753410339355465, | |
0.006245420932769775, | |
0.00626206111907959, | |
0.006279019832611084, | |
0.00624846076965332, | |
0.006242061138153076, | |
0.006255500793457032, | |
0.006228621006011963, | |
0.006236300945281982, | |
0.006269260883331299, | |
0.0062620601654052735, | |
0.00627198076248169, | |
0.006263020038604736, | |
0.006262220859527588, | |
0.006244941234588623, | |
0.00626446008682251, | |
0.006244300842285156, | |
0.006266541004180908, | |
0.006249579906463623, | |
0.006221580982208252, | |
0.006260140895843506, | |
0.006218541145324707, | |
0.006231339931488037, | |
0.006225420951843262, | |
0.006198060989379883, | |
0.006237101078033447, | |
0.006214859962463379, | |
0.0062660608291625975, | |
0.006262860774993897, | |
0.006242219924926758, | |
0.0062801408767700195, | |
0.006273581027984619, | |
0.006259020805358887, | |
0.0062513408660888675, | |
0.00630925989151001, | |
0.006305100917816162, | |
0.006286220073699951, | |
0.00630302095413208, | |
0.006290060043334961, | |
0.006322861194610596, | |
0.0062743802070617674, | |
0.006281421184539795, | |
0.006297100067138672, | |
0.006288940906524658, | |
0.0062801408767700195, | |
0.006233581066131592, | |
0.00628334093093872, | |
0.00627869987487793, | |
0.006271181106567383, | |
0.006266380786895752, | |
0.0062577400207519535, | |
0.006262220859527588, | |
0.006238541126251221, | |
0.00625197982788086, | |
0.006271501064300537, | |
0.006242061138153076, | |
0.006292780876159668, | |
0.006249260902404785, | |
0.006260940074920654, | |
0.006232141017913818, | |
0.00621518087387085, | |
0.0062367811203002926, | |
0.0062724599838256834, | |
0.006235021114349365, | |
0.006252460956573487, | |
0.006244140148162842, | |
0.006220140933990479, | |
0.006247341156005859, | |
0.006242061138153076, | |
0.006207180976867676, | |
0.006211501121520996, | |
0.00623534107208252, | |
0.006264780044555664, | |
0.006300780773162842, | |
0.006238221168518066, | |
0.006212940216064453, | |
0.006273100852966309, | |
0.007106857776641846, | |
0.006298861026763916, | |
0.006268620014190674, | |
0.006273261070251465, | |
0.006254058837890625, | |
0.006257101058959961, | |
0.0062483010292053226, | |
0.00626669979095459, | |
0.006260941028594971, | |
0.0062446208000183105, | |
0.0062603001594543455, | |
0.006273740768432617 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 158.83696073072403 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |