IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2b0c30f
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_type": "resnet50", | |
"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": {}, | |
"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, | |
"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": "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": "61123f7169ae188508e9e8c5ca6b9a54a00965ed", | |
"transformers_version": "4.42.4", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 983.16288, | |
"max_global_vram": 409.137152, | |
"max_process_vram": 44490.375168, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.28777197265625, | |
"mean": 7.28777197265625, | |
"stdev": 0.0, | |
"p50": 7.28777197265625, | |
"p90": 7.28777197265625, | |
"p95": 7.28777197265625, | |
"p99": 7.28777197265625, | |
"values": [ | |
7.28777197265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1841.852416, | |
"max_global_vram": 520.507392, | |
"max_process_vram": 283436.007424, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9988921990394586, | |
"mean": 0.007567365144238327, | |
"stdev": 0.00044676339688009945, | |
"p50": 0.007866868019104004, | |
"p90": 0.007981027221679688, | |
"p95": 0.0079950674533844, | |
"p99": 0.008287170858383179, | |
"values": [ | |
0.008312466621398926, | |
0.008230867385864258, | |
0.007851828098297119, | |
0.007642387866973877, | |
0.007674228191375732, | |
0.007552947998046875, | |
0.007542387962341308, | |
0.007476949214935303, | |
0.007366067886352539, | |
0.007329588890075684, | |
0.007302069187164307, | |
0.007443508148193359, | |
0.007237749099731445, | |
0.00720366907119751, | |
0.007204469203948975, | |
0.007194549083709717, | |
0.00723262882232666, | |
0.00725662899017334, | |
0.007207347869873047, | |
0.0072228689193725585, | |
0.007148949146270752, | |
0.007160628795623779, | |
0.007168787956237793, | |
0.007149269104003906, | |
0.00912126636505127, | |
0.008097586631774902, | |
0.007930228233337402, | |
0.007926386833190918, | |
0.007953588008880616, | |
0.007954067230224609, | |
0.007931987762451171, | |
0.007956947803497314, | |
0.007920947074890137, | |
0.007962227821350098, | |
0.00792462682723999, | |
0.007923828125, | |
0.007924627780914307, | |
0.007935667991638183, | |
0.00791838788986206, | |
0.007924946784973144, | |
0.007926387786865234, | |
0.007954866886138915, | |
0.00793854808807373, | |
0.007932466983795166, | |
0.00791022777557373, | |
0.007949267864227295, | |
0.007942866802215577, | |
0.007933588027954101, | |
0.007913267135620117, | |
0.007926387786865234, | |
0.007938228130340575, | |
0.007290389060974121, | |
0.007009748935699463, | |
0.007036788940429688, | |
0.007033429145812988, | |
0.007014389038085937, | |
0.0070131092071533205, | |
0.007061588764190674, | |
0.007038709163665772, | |
0.0072369489669799805, | |
0.0072223877906799315, | |
0.007026228904724121, | |
0.007023668766021728, | |
0.007025428771972656, | |
0.007036949157714844, | |
0.006997910022735596, | |
0.006989109992980957, | |
0.006987029075622558, | |
0.006967988967895508, | |
0.006984148979187012, | |
0.007181748867034912, | |
0.007093587875366211, | |
0.006963349819183349, | |
0.0069927887916564945, | |
0.006991189002990722, | |
0.006981908798217773, | |
0.006974709033966064, | |
0.006963988780975342, | |
0.007081589221954346, | |
0.0069947090148925785, | |
0.006976469039916992, | |
0.007184948921203613, | |
0.006985589027404785, | |
0.00759902811050415, | |
0.00791838788986206, | |
0.007913747787475585, | |
0.007904627799987792, | |
0.00798734712600708, | |
0.007884307861328125, | |
0.007906707763671875, | |
0.007970067024230957, | |
0.007923987865447998, | |
0.007916946887969971, | |
0.00788190793991089, | |
0.007972146987915039, | |
0.00791022777557373, | |
0.007896307945251466, | |
0.008006546974182129, | |
0.007918707847595215, | |
0.007981107234954835, | |
0.007964148044586181, | |
0.00798030710220337, | |
0.00799262809753418, | |
0.007942226886749268, | |
0.00793150806427002, | |
0.008010706901550292, | |
0.007989428043365478, | |
0.007985587120056153, | |
0.007964148044586181, | |
0.007957266807556153, | |
0.007992467880249023, | |
0.00799726676940918, | |
0.007993268013000489, | |
0.007927027225494385, | |
0.00792334794998169, | |
0.007953748226165772, | |
0.00791566801071167, | |
0.007921428203582763, | |
0.007923827171325684, | |
0.007933427810668945, | |
0.007946547031402587, | |
0.007814548015594482, | |
0.007293108940124512, | |
0.007022869110107422, | |
0.007031349182128907, | |
0.007012148857116699, | |
0.007019029140472412, | |
0.007021429061889649, | |
0.006990387916564942, | |
0.006973108768463135, | |
0.006991989135742187, | |
0.007035348892211914 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.1463918998787 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |