IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a79f920
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": "4", | |
"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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1108.062208, | |
"max_global_vram": 409.522176, | |
"max_process_vram": 40850.345984, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.86741064453125, | |
"mean": 7.86741064453125, | |
"stdev": 0.0, | |
"p50": 7.86741064453125, | |
"p90": 7.86741064453125, | |
"p95": 7.86741064453125, | |
"p99": 7.86741064453125, | |
"values": [ | |
7.86741064453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1192.493056, | |
"max_global_vram": 521.8304, | |
"max_process_vram": 102787.03104, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 0.9993932399749754, | |
"mean": 0.007138523142678397, | |
"stdev": 0.0006407521496543568, | |
"p50": 0.0070172581672668455, | |
"p90": 0.007364026069641113, | |
"p95": 0.007790191864967345, | |
"p99": 0.009304779529571499, | |
"values": [ | |
0.00787389612197876, | |
0.007573097229003906, | |
0.0073516578674316406, | |
0.007381737232208252, | |
0.007298057079315186, | |
0.007288938045501709, | |
0.0072846169471740725, | |
0.0072972579002380375, | |
0.007270377159118652, | |
0.0072855777740478515, | |
0.007297418117523193, | |
0.007291656970977783, | |
0.00730413818359375, | |
0.007264136791229248, | |
0.007315978050231934, | |
0.007267336845397949, | |
0.00727581787109375, | |
0.0072302169799804685, | |
0.007284778118133545, | |
0.007222696781158448, | |
0.007554536819458008, | |
0.0072258968353271485, | |
0.007191177845001221, | |
0.007204137802124024, | |
0.007203816890716553, | |
0.007190537929534912, | |
0.010203648567199707, | |
0.00717261791229248, | |
0.007038858890533448, | |
0.0070303788185119625, | |
0.0068927788734436035, | |
0.007237098217010498, | |
0.007042538166046142, | |
0.007096938133239746, | |
0.007095657825469971, | |
0.007064619064331055, | |
0.007060298919677735, | |
0.007018698215484619, | |
0.007067498207092285, | |
0.007045258045196534, | |
0.007040297985076905, | |
0.007007177829742432, | |
0.006990219116210937, | |
0.006979018211364746, | |
0.007015818119049072, | |
0.006970219135284424, | |
0.007161258220672607, | |
0.00707485818862915, | |
0.007117897987365723, | |
0.007092298030853272, | |
0.007043017864227295, | |
0.007054537773132324, | |
0.007041897773742676, | |
0.007032938957214355, | |
0.007053258895874023, | |
0.007005097866058349, | |
0.007039658069610596, | |
0.006873579025268555, | |
0.006864459037780762, | |
0.006879017829895019, | |
0.00689181900024414, | |
0.007351177215576172, | |
0.0069319791793823245, | |
0.00691933822631836, | |
0.006924458980560303, | |
0.006927818775177002, | |
0.006917898178100586, | |
0.0069178991317749025, | |
0.006912777900695801, | |
0.0069020590782165525, | |
0.006893418788909912, | |
0.006903017997741699, | |
0.006892299175262451, | |
0.006894059181213379, | |
0.006888617992401123, | |
0.0068766188621521, | |
0.00688909912109375, | |
0.006871977806091309, | |
0.006883819103240967, | |
0.006881099224090576, | |
0.006905097961425782, | |
0.0068806190490722655, | |
0.006901258945465088, | |
0.006931978225708008, | |
0.0069306988716125485, | |
0.006871819019317627, | |
0.006897737979888916, | |
0.006884298801422119, | |
0.00686669921875, | |
0.006893898010253906, | |
0.006907339096069336, | |
0.006901258945465088, | |
0.006885578155517578, | |
0.0068737387657165526, | |
0.0072354979515075685, | |
0.00690573787689209, | |
0.012744280815124511, | |
0.004368466854095459, | |
0.006921419143676758, | |
0.006899178981781006, | |
0.006928778171539306, | |
0.006925579071044922, | |
0.006907339096069336, | |
0.006896779060363769, | |
0.0068303790092468265, | |
0.006922217845916748, | |
0.006919979095458984, | |
0.006883338928222656, | |
0.006911977767944336, | |
0.006906379222869873, | |
0.006910378932952881, | |
0.006914379119873047, | |
0.006925579071044922, | |
0.006890697956085205, | |
0.006914538860321045, | |
0.006890058994293213, | |
0.006896937847137451, | |
0.006928459167480468, | |
0.006893418788909912, | |
0.006897899150848388, | |
0.007298538208007813, | |
0.007817094802856445, | |
0.007871816158294678, | |
0.007786215782165528, | |
0.00720429801940918, | |
0.007193737030029297, | |
0.007338697910308838, | |
0.007307656764984131, | |
0.006912299156188965, | |
0.0068897390365600586, | |
0.006930058002471924, | |
0.007703496932983399, | |
0.007898536205291748, | |
0.007898856163024902, | |
0.00778877592086792, | |
0.00753037691116333, | |
0.007362058162689209, | |
0.007333258152008057, | |
0.00728205680847168, | |
0.007239817142486572 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.08499797687801 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |