IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c9b7357
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"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", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1178.075136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 7419.756544, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4924554138183594 | |
], | |
"count": 1, | |
"total": 0.4924554138183594, | |
"mean": 0.4924554138183594, | |
"p50": 0.4924554138183594, | |
"p90": 0.4924554138183594, | |
"p95": 0.4924554138183594, | |
"p99": 0.4924554138183594, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.493696, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118792.593408, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007733581066131592, | |
0.007015982151031494, | |
0.006972302913665771, | |
0.00701182222366333, | |
0.006927662849426269, | |
0.00699214220046997, | |
0.006926063060760498, | |
0.006979981899261475, | |
0.006966702938079834, | |
0.006982862949371338, | |
0.006941903114318848, | |
0.007095662117004395, | |
0.007337741851806641, | |
0.007229742050170899, | |
0.00751806116104126, | |
0.007528621196746826, | |
0.007430702209472656, | |
0.007428141117095948, | |
0.0074647808074951175, | |
0.007197581768035889, | |
0.007155342102050781, | |
0.007086382865905762, | |
0.0071283020973205566, | |
0.007835020065307617, | |
0.00782974100112915, | |
0.007815340995788574, | |
0.007840459823608398, | |
0.007819981098175048, | |
0.007865099906921387, | |
0.007841259956359863, | |
0.00783694076538086, | |
0.007983980178833007, | |
0.00786814022064209, | |
0.007868939876556397, | |
0.00788430118560791, | |
0.007855501174926758, | |
0.007855659961700439, | |
0.007837261199951172, | |
0.007842541217803955, | |
0.007862060070037842, | |
0.007867980003356933, | |
0.007876461029052734, | |
0.008063179016113281, | |
0.007889101028442383, | |
0.007884620189666748, | |
0.00788238000869751, | |
0.007879340171813964, | |
0.007886061191558838, | |
0.007861579895019531, | |
0.007855820178985595, | |
0.007870861053466797, | |
0.007858060836791992, | |
0.007844299793243407, | |
0.007857739925384521, | |
0.007849260807037354, | |
0.007850860118865967, | |
0.007833900928497315, | |
0.007847021102905274, | |
0.007846859931945801, | |
0.007836300849914551, | |
0.00787070083618164, | |
0.007593101024627686, | |
0.00692622184753418, | |
0.0072873420715332034, | |
0.007343822002410889, | |
0.006954701900482177, | |
0.0069580631256103516, | |
0.007166061878204346, | |
0.006938703060150146, | |
0.006923501968383789, | |
0.006961583137512207, | |
0.006944302082061767, | |
0.007084622859954834, | |
0.00712926197052002, | |
0.0071575818061828615, | |
0.007410700798034668, | |
0.007528780937194824, | |
0.007276301860809326, | |
0.007341901779174805, | |
0.007364780902862549, | |
0.007356462001800537, | |
0.00725102186203003, | |
0.007201101779937744, | |
0.006959661960601806, | |
0.007077902793884277, | |
0.007066382884979248, | |
0.007092621803283692, | |
0.0069507031440734866, | |
0.006947182178497315, | |
0.007083343029022217, | |
0.006939982891082764, | |
0.006928462982177735, | |
0.00691198205947876, | |
0.0069358229637146, | |
0.006950222969055176, | |
0.006935341835021973, | |
0.006938383102416992, | |
0.006919503211975098, | |
0.006931663036346436, | |
0.0069348630905151365, | |
0.0069105420112609865, | |
0.006921903133392334, | |
0.006931023120880127, | |
0.006941421985626221, | |
0.0068827028274536135, | |
0.00697678279876709, | |
0.006963982105255127, | |
0.006958383083343506, | |
0.006958062171936035, | |
0.006962223052978516, | |
0.006947982788085938, | |
0.006972783088684082, | |
0.006947982788085938, | |
0.00695678186416626, | |
0.006956782817840576, | |
0.00696110200881958, | |
0.006935183048248291, | |
0.007140781879425049, | |
0.006945902824401855, | |
0.00700750207901001, | |
0.007226222038269043, | |
0.007344461917877197, | |
0.007143822193145752, | |
0.00720558214187622, | |
0.007009421825408936, | |
0.0070271830558776855, | |
0.007475982189178467, | |
0.006995182037353515, | |
0.007036302089691162, | |
0.007024622917175293, | |
0.006991022109985352, | |
0.007183660984039306, | |
0.007167662143707275, | |
0.007139182090759278, | |
0.007174702167510987, | |
0.007143662929534912, | |
0.007131503105163574 | |
], | |
"count": 137, | |
"total": 1.0011106243133547, | |
"mean": 0.007307376819805507, | |
"p50": 0.007143822193145752, | |
"p90": 0.007866251945495605, | |
"p95": 0.007879948139190674, | |
"p99": 0.007949823684692381, | |
"stdev": 0.00038124217868345785, | |
"stdev_": 5.217223472726359 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.84801326922894 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |