IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a1f823a
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": "3b109cf557e2496fe3c954817385781e6dc5cad1", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.966272, | |
"max_global_vram": 409.120768, | |
"max_process_vram": 48784.760832, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.50197314453125, | |
"mean": 7.50197314453125, | |
"stdev": 0.0, | |
"p50": 7.50197314453125, | |
"p90": 7.50197314453125, | |
"p95": 7.50197314453125, | |
"p99": 7.50197314453125, | |
"values": [ | |
7.50197314453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1849.274368, | |
"max_global_vram": 520.527872, | |
"max_process_vram": 273124.794368, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9987908215522765, | |
"mean": 0.007864494657891942, | |
"stdev": 0.0002684716123504164, | |
"p50": 0.007798821926116944, | |
"p90": 0.00830374584197998, | |
"p95": 0.008516593074798583, | |
"p99": 0.008779239597320555, | |
"values": [ | |
0.008317057609558105, | |
0.008430497169494629, | |
0.008821213722229004, | |
0.008659774780273438, | |
0.008585536003112793, | |
0.00855305576324463, | |
0.008626015663146972, | |
0.008533536911010742, | |
0.008477057456970215, | |
0.008382336616516113, | |
0.008313057899475097, | |
0.008297537803649902, | |
0.008289857864379883, | |
0.00832105827331543, | |
0.00919801139831543, | |
0.007873061180114747, | |
0.007805222034454345, | |
0.00782794189453125, | |
0.007781382083892822, | |
0.007778501987457275, | |
0.007747622966766357, | |
0.00775402307510376, | |
0.0078113021850585935, | |
0.007783301830291748, | |
0.007820102214813232, | |
0.007782822132110596, | |
0.007820900917053222, | |
0.00782954216003418, | |
0.007809862136840821, | |
0.00778698205947876, | |
0.007846022129058838, | |
0.007807462215423584, | |
0.007788102149963379, | |
0.007816102027893066, | |
0.007816261768341064, | |
0.007816740989685059, | |
0.007801382064819336, | |
0.007777222156524658, | |
0.0077708220481872555, | |
0.007774181842803955, | |
0.007812901973724366, | |
0.007783462047576904, | |
0.007782503128051758, | |
0.007775463104248047, | |
0.00781754207611084, | |
0.0077756218910217285, | |
0.007795462131500244, | |
0.007794822216033935, | |
0.007778343200683594, | |
0.00777642297744751, | |
0.007795301914215088, | |
0.00782842206954956, | |
0.007830181121826173, | |
0.007810982227325439, | |
0.007832901954650879, | |
0.007802341938018799, | |
0.007798821926116944, | |
0.007807141780853272, | |
0.007801062107086182, | |
0.0077617020606994625, | |
0.007831302165985108, | |
0.007822980880737304, | |
0.007806662082672119, | |
0.007824741840362548, | |
0.00778314208984375, | |
0.007798662185668945, | |
0.007783301830291748, | |
0.007803462028503418, | |
0.0078113021850585935, | |
0.007786821842193603, | |
0.007818501949310303, | |
0.0077725830078125, | |
0.007793861865997315, | |
0.007798501968383789, | |
0.007793382167816162, | |
0.007795621871948242, | |
0.007765382766723633, | |
0.007779622077941894, | |
0.0077989821434020995, | |
0.007742181777954101, | |
0.007773541927337647, | |
0.0077775421142578125, | |
0.007790182113647461, | |
0.007790182113647461, | |
0.007789381980895996, | |
0.007777222156524658, | |
0.007804262161254883, | |
0.007810502052307129, | |
0.007791942119598389, | |
0.007608744144439697, | |
0.0073650660514831545, | |
0.007458505153656006, | |
0.007396584987640381, | |
0.007391304969787598, | |
0.0072290668487548825, | |
0.007824421882629395, | |
0.007779781818389893, | |
0.007780101776123047, | |
0.007816902160644531, | |
0.007770983219146729, | |
0.0077660231590271, | |
0.007835941791534424, | |
0.007773702144622803, | |
0.007806022167205811, | |
0.007805222034454345, | |
0.007804741859436035, | |
0.007817381858825684, | |
0.007794822216033935, | |
0.0077829818725585935, | |
0.007781702995300293, | |
0.007806982040405273, | |
0.007820102214813232, | |
0.007812742233276368, | |
0.007775941848754883, | |
0.007788901805877686, | |
0.007852422237396241, | |
0.007778983116149902, | |
0.007761542797088623, | |
0.007782662868499756, | |
0.007759142875671387, | |
0.0077737030982971194, | |
0.007791781902313232, | |
0.00784986114501953, | |
0.007785061836242676, | |
0.007814181804656982, | |
0.007805222034454345, | |
0.007831942081451417 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.15375157595281 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |