IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ade79fc
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": "6", | |
"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": 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.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.581056, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47119.33952, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.819009765625, | |
"mean": 8.819009765625, | |
"stdev": 0.0, | |
"p50": 8.819009765625, | |
"p90": 8.819009765625, | |
"p95": 8.819009765625, | |
"p99": 8.819009765625, | |
"values": [ | |
8.819009765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.979136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 115559.428096, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 1.000398195743561, | |
"mean": 0.006995791578626299, | |
"stdev": 0.0003915482811125864, | |
"p50": 0.006812653064727783, | |
"p90": 0.007309421825408936, | |
"p95": 0.007559406900405884, | |
"p99": 0.007713995275497437, | |
"values": [ | |
0.007188813209533691, | |
0.007155533790588379, | |
0.007250253200531006, | |
0.007147213935852051, | |
0.0072729730606079105, | |
0.007220173835754394, | |
0.007204813003540039, | |
0.00727057409286499, | |
0.007263214111328125, | |
0.007269934177398681, | |
0.007286094188690186, | |
0.007274573802947998, | |
0.007288173198699951, | |
0.0072238540649414065, | |
0.007207693099975586, | |
0.007192973136901855, | |
0.007225934028625488, | |
0.007172653198242188, | |
0.007171373844146728, | |
0.007103212833404541, | |
0.007242413997650146, | |
0.007241612911224366, | |
0.007182414054870605, | |
0.007158092975616455, | |
0.007314733982086182, | |
0.007179533958435059, | |
0.010458099365234374, | |
0.007165934085845947, | |
0.006812653064727783, | |
0.006794092178344727, | |
0.006836651802062988, | |
0.006761453151702881, | |
0.0067776131629943845, | |
0.006801773071289063, | |
0.006778572082519531, | |
0.006768013000488281, | |
0.006799373149871826, | |
0.006784812927246094, | |
0.006781292915344238, | |
0.006802571773529053, | |
0.006773612022399902, | |
0.0067756929397583005, | |
0.006772812843322754, | |
0.006907533168792725, | |
0.00689857292175293, | |
0.006938572883605957, | |
0.006956653118133545, | |
0.006961293220520019, | |
0.00692913293838501, | |
0.0070600128173828125, | |
0.006922573089599609, | |
0.00694929313659668, | |
0.006946094036102295, | |
0.006945292949676513, | |
0.0069750528335571285, | |
0.00703505277633667, | |
0.006980972766876221, | |
0.007004013061523437, | |
0.006930733203887939, | |
0.006747532844543457, | |
0.006769292831420899, | |
0.006977932929992676, | |
0.006743372917175293, | |
0.006814571857452392, | |
0.006773931980133057, | |
0.006754892826080322, | |
0.006778573036193848, | |
0.00676497220993042, | |
0.0069268932342529295, | |
0.006779372215270996, | |
0.006772333145141601, | |
0.006765772819519043, | |
0.006747052192687988, | |
0.006748173236846924, | |
0.006759852886199951, | |
0.006728652954101562, | |
0.006750731945037842, | |
0.006742733001708984, | |
0.006735692977905274, | |
0.006745131969451904, | |
0.006757933139801026, | |
0.006737452983856201, | |
0.006761452198028564, | |
0.006765293121337891, | |
0.006721453189849853, | |
0.006737613201141358, | |
0.006782412052154541, | |
0.006737452983856201, | |
0.006789453029632568, | |
0.006768812179565429, | |
0.006786411762237549, | |
0.0067592129707336425, | |
0.00676481294631958, | |
0.006791691780090332, | |
0.006745292186737061, | |
0.0067665729522705075, | |
0.006743692874908448, | |
0.006724011898040771, | |
0.006758573055267334, | |
0.006757293224334717, | |
0.006731691837310791, | |
0.006741612911224365, | |
0.006748493194580078, | |
0.006734092235565186, | |
0.006765613079071045, | |
0.006798892021179199, | |
0.006806093215942383, | |
0.006781453132629394, | |
0.00676209306716919, | |
0.006760171890258789, | |
0.006766092777252197, | |
0.006763213157653809, | |
0.007009132862091065, | |
0.00694545316696167, | |
0.006960972785949707, | |
0.0067451329231262205, | |
0.006755692958831787, | |
0.006768651962280273, | |
0.006746092796325684, | |
0.006758893013000488, | |
0.006737932205200196, | |
0.006739531993865967, | |
0.006770732879638672, | |
0.007507853984832764, | |
0.007649774074554443, | |
0.007714734077453613, | |
0.007712975025177002, | |
0.007688173770904541, | |
0.007709135055541992, | |
0.007401134014129639, | |
0.007190732955932617, | |
0.007099534034729004, | |
0.007110093116760254, | |
0.007385933876037597, | |
0.007671053886413574, | |
0.00756513500213623, | |
0.007223533153533935, | |
0.00733121395111084, | |
0.0074371337890625, | |
0.007384014129638672, | |
0.007149773120880127, | |
0.007160493850708008, | |
0.007228972911834716 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.94308067370426 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |