
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d0952c7
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.252864, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 865.574912, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2260068359375, | |
"mean": 8.2260068359375, | |
"stdev": 0.0, | |
"p50": 8.2260068359375, | |
"p90": 8.2260068359375, | |
"p95": 8.2260068359375, | |
"p99": 8.2260068359375, | |
"values": [ | |
8.2260068359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.269450219444535e-06, | |
"ram": 2.3242749925187203e-06, | |
"gpu": 4.744448239999907e-06, | |
"total": 1.1338173451963163e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1105.813504, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9995386233329773, | |
"mean": 0.007295902360094725, | |
"stdev": 0.00027945153421338393, | |
"p50": 0.0074301438331604, | |
"p90": 0.0075739136695861815, | |
"p95": 0.007602329635620117, | |
"p99": 0.007671848964691161, | |
"values": [ | |
0.007812096118927002, | |
0.0076267518997192385, | |
0.007685120105743408, | |
0.007648255825042725, | |
0.00764518404006958, | |
0.00758681583404541, | |
0.007599040031433106, | |
0.007615488052368164, | |
0.00758681583404541, | |
0.007574528217315674, | |
0.007543807983398438, | |
0.0074967041015625, | |
0.007444479942321777, | |
0.007367680072784424, | |
0.007378943920135498, | |
0.00738918399810791, | |
0.0074301438331604, | |
0.007624703884124756, | |
0.007559103965759277, | |
0.007457791805267334, | |
0.007478271961212158, | |
0.0075008001327514645, | |
0.007444479942321777, | |
0.007459839820861816, | |
0.007548927783966064, | |
0.007541759967803955, | |
0.007519231796264648, | |
0.007519231796264648, | |
0.0075980801582336424, | |
0.007432191848754883, | |
0.007478271961212158, | |
0.007523327827453613, | |
0.007488480091094971, | |
0.0074967041015625, | |
0.007425087928771973, | |
0.007396416187286377, | |
0.007393280029296875, | |
0.007314432144165039, | |
0.00738099193572998, | |
0.007434239864349365, | |
0.007457856178283691, | |
0.00744652795791626, | |
0.0074997758865356446, | |
0.0075038719177246095, | |
0.0074967360496521, | |
0.007535615921020508, | |
0.007566336154937744, | |
0.007531519889831543, | |
0.0074711041450500485, | |
0.007480319976806641, | |
0.007504896163940429, | |
0.007519231796264648, | |
0.007479263782501221, | |
0.007445504188537597, | |
0.007511136054992676, | |
0.0074711041450500485, | |
0.0074035201072692874, | |
0.007383039951324463, | |
0.0074670081138610836, | |
0.007434239864349365, | |
0.007525375843048096, | |
0.007349184036254883, | |
0.007412735939025879, | |
0.007457791805267334, | |
0.007458816051483155, | |
0.007401472091674805, | |
0.007449600219726562, | |
0.00743833589553833, | |
0.007427072048187256, | |
0.007577600002288819, | |
0.0075304961204528805, | |
0.007514111995697022, | |
0.007559167861938477, | |
0.00757862377166748, | |
0.007451583862304687, | |
0.007480319976806641, | |
0.007480319976806641, | |
0.0073062400817871095, | |
0.007455743789672851, | |
0.00743833589553833, | |
0.00739734411239624, | |
0.007375807762145996, | |
0.007227392196655274, | |
0.007345151901245117, | |
0.007358463764190673, | |
0.007135231971740722, | |
0.007065599918365479, | |
0.007072832107543945, | |
0.007114751815795899, | |
0.007342144012451172, | |
0.007412735939025879, | |
0.007375872135162354, | |
0.007443456172943115, | |
0.007573503971099854, | |
0.007392255783081054, | |
0.0074700798988342285, | |
0.0074711041450500485, | |
0.006961152076721191, | |
0.006947840213775635, | |
0.006872064113616944, | |
0.006791168212890625, | |
0.00693555212020874, | |
0.006905856132507324, | |
0.006914048194885254, | |
0.006859776020050049, | |
0.006872064113616944, | |
0.006899712085723877, | |
0.006831103801727295, | |
0.00687820816040039, | |
0.0069027838706970214, | |
0.006906847953796386, | |
0.006850560188293457, | |
0.0068884482383728025, | |
0.006890495777130127, | |
0.006907904148101806, | |
0.006817791938781738, | |
0.0070522880554199216, | |
0.00687820816040039, | |
0.00688640022277832, | |
0.0068280320167541505, | |
0.006896639823913574, | |
0.006883359909057617, | |
0.006849535942077637, | |
0.006870016098022461, | |
0.00688428783416748, | |
0.006920191764831543, | |
0.0068351998329162595, | |
0.006897632122039795, | |
0.006938623905181885, | |
0.006851583957672119, | |
0.006887423992156983, | |
0.0068915200233459475, | |
0.006914048194885254, | |
0.006803455829620361, | |
0.006916096210479736, | |
0.006996992111206054, | |
0.00690176010131836 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.0632377798182 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.277812806915222e-08, | |
"ram": 4.52589732977075e-08, | |
"gpu": 1.7274877844755352e-07, | |
"total": 3.007858798144132e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3324624.1499667685 | |
} | |
} | |
} | |
} |