
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ed5a955
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"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": 789.336064, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.46490869140625, | |
"mean": 7.46490869140625, | |
"stdev": 0.0, | |
"p50": 7.46490869140625, | |
"p90": 7.46490869140625, | |
"p95": 7.46490869140625, | |
"p99": 7.46490869140625, | |
"values": [ | |
7.46490869140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.353471431467268e-06, | |
"ram": 2.3513987673382528e-06, | |
"gpu": 6.402505122000079e-06, | |
"total": 1.3107375320805602e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.0768, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.0019356813430784, | |
"mean": 0.006591682114099201, | |
"stdev": 0.000163114928313214, | |
"p50": 0.0065613119602203375, | |
"p90": 0.006632243394851685, | |
"p95": 0.00678654556274414, | |
"p99": 0.007318620219230652, | |
"values": [ | |
0.0073400321006774905, | |
0.00729804801940918, | |
0.007268352031707764, | |
0.007238656044006348, | |
0.0072202239036560055, | |
0.007477248191833496, | |
0.0064737281799316405, | |
0.006318143844604492, | |
0.006239232063293457, | |
0.006297632217407227, | |
0.006238175868988037, | |
0.006352896213531494, | |
0.006543360233306885, | |
0.006569983959197998, | |
0.006540287971496582, | |
0.006540287971496582, | |
0.006580160140991211, | |
0.006583295822143555, | |
0.006495232105255127, | |
0.006557695865631104, | |
0.00658841609954834, | |
0.006498303890228272, | |
0.006551551818847656, | |
0.006527999877929688, | |
0.006592512130737305, | |
0.006543295860290527, | |
0.0065669121742248536, | |
0.006494207859039307, | |
0.006551551818847656, | |
0.006584320068359375, | |
0.006549503803253174, | |
0.00653926420211792, | |
0.006515711784362793, | |
0.006554624080657959, | |
0.006564864158630371, | |
0.0065075201988220215, | |
0.006550528049468994, | |
0.006591487884521485, | |
0.0065075201988220215, | |
0.006576128005981445, | |
0.006526976108551025, | |
0.0065372161865234375, | |
0.006573056221008301, | |
0.006552576065063476, | |
0.006516736030578613, | |
0.006606847763061524, | |
0.006822912216186523, | |
0.006527999877929688, | |
0.006551551818847656, | |
0.006535168170928955, | |
0.00657097578048706, | |
0.006565887928009034, | |
0.006526912212371826, | |
0.0065812478065490725, | |
0.006610879898071289, | |
0.0065075201988220215, | |
0.006608895778656006, | |
0.006561855792999268, | |
0.006532095909118653, | |
0.006591487884521485, | |
0.00658841609954834, | |
0.006534111976623535, | |
0.006560768127441406, | |
0.006632448196411133, | |
0.006556608200073242, | |
0.006546432018280029, | |
0.006536191940307618, | |
0.006557695865631104, | |
0.006555647850036621, | |
0.0065669121742248536, | |
0.006612991809844971, | |
0.0066078720092773435, | |
0.006556672096252441, | |
0.0066130561828613285, | |
0.006545407772064209, | |
0.006509568214416504, | |
0.006605823993682861, | |
0.006589439868927002, | |
0.006520832061767578, | |
0.006614016056060791, | |
0.006654975891113281, | |
0.006651904106140137, | |
0.006584320068359375, | |
0.006584320068359375, | |
0.006602752208709717, | |
0.00658022403717041, | |
0.00657203197479248, | |
0.006565887928009034, | |
0.006763519763946534, | |
0.006545407772064209, | |
0.006582272052764892, | |
0.006559743881225586, | |
0.006553599834442139, | |
0.006618112087249756, | |
0.0066119680404663084, | |
0.006508543968200684, | |
0.006583295822143555, | |
0.006608895778656006, | |
0.006814688205718994, | |
0.0066304001808166506, | |
0.006612991809844971, | |
0.006586368083953857, | |
0.006620160102844238, | |
0.00674508810043335, | |
0.006603775978088379, | |
0.006751232147216797, | |
0.00659660816192627, | |
0.006557695865631104, | |
0.006592512130737305, | |
0.006550528049468994, | |
0.006573056221008301, | |
0.006605823993682861, | |
0.006558720111846924, | |
0.006585343837738037, | |
0.006635519981384277, | |
0.006594560146331787, | |
0.00653004789352417, | |
0.006584320068359375, | |
0.006620160102844238, | |
0.006550528049468994, | |
0.006589439868927002, | |
0.006550528049468994, | |
0.0066007041931152345, | |
0.00653926420211792, | |
0.006546432018280029, | |
0.006519807815551758, | |
0.006546432018280029, | |
0.006557695865631104, | |
0.00657919979095459, | |
0.0065146880149841305, | |
0.006520832061767578, | |
0.0066304001808166506, | |
0.006559743881225586, | |
0.006527999877929688, | |
0.0065382399559021, | |
0.0065771517753601075, | |
0.006560768127441406, | |
0.006586368083953857, | |
0.0065146880149841305, | |
0.006553599834442139, | |
0.006573056221008301, | |
0.0065372161865234375, | |
0.006523903846740723, | |
0.006542335987091064, | |
0.00657203197479248, | |
0.006574079990386963, | |
0.00652288007736206, | |
0.006490143775939941, | |
0.006652927875518798, | |
0.006543360233306885, | |
0.006554624080657959, | |
0.006554624080657959 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.7063448586305 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.746878229541544e-08, | |
"ram": 4.235425036288044e-08, | |
"gpu": 1.644264205751634e-07, | |
"total": 2.8424945323345927e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3518036.6703420947 | |
} | |
} | |
} | |
} |