
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
68c629e
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.261056, | |
"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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 852.934656, | |
"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.65153173828125, | |
"mean": 7.65153173828125, | |
"stdev": 0.0, | |
"p50": 7.65153173828125, | |
"p90": 7.65153173828125, | |
"p95": 7.65153173828125, | |
"p99": 7.65153173828125, | |
"values": [ | |
7.65153173828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.306989406944419e-06, | |
"ram": 2.328093932321386e-06, | |
"gpu": 6.744449840000036e-06, | |
"total": 1.3379533179265841e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.64896, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 0.9983642249107356, | |
"mean": 0.0071311730350766865, | |
"stdev": 0.00016526705355907927, | |
"p50": 0.007102463960647583, | |
"p90": 0.0073668638229370115, | |
"p95": 0.007421695995330811, | |
"p99": 0.007515688915252685, | |
"values": [ | |
0.00729699182510376, | |
0.007202816009521484, | |
0.007250944137573242, | |
0.0074997758865356446, | |
0.007342080116271973, | |
0.007222271919250488, | |
0.007202816009521484, | |
0.007192575931549072, | |
0.007173120021820068, | |
0.007103487968444824, | |
0.007054336071014404, | |
0.007117824077606201, | |
0.007103551864624023, | |
0.0070563840866088865, | |
0.006980607986450196, | |
0.006996992111206054, | |
0.007094272136688232, | |
0.007085055828094483, | |
0.007176256179809571, | |
0.007171072006225586, | |
0.0071792640686035155, | |
0.007112703800201416, | |
0.0070553598403930665, | |
0.007041024208068848, | |
0.007108607769012451, | |
0.007114751815795899, | |
0.0071055998802185055, | |
0.007101439952850342, | |
0.0071157760620117185, | |
0.007064576148986816, | |
0.007090176105499267, | |
0.007236608028411865, | |
0.007228415966033935, | |
0.00707583999633789, | |
0.007051263809204102, | |
0.006979584217071533, | |
0.006982656002044678, | |
0.007058432102203369, | |
0.007062528133392334, | |
0.007117824077606201, | |
0.007164927959442138, | |
0.0070943360328674316, | |
0.007108607769012451, | |
0.007192512035369873, | |
0.0072325119972229, | |
0.007165952205657959, | |
0.007154687881469727, | |
0.007126016139984131, | |
0.007035903930664063, | |
0.007071743965148926, | |
0.007221248149871826, | |
0.007176159858703613, | |
0.007047167778015137, | |
0.007096320152282715, | |
0.007054399967193603, | |
0.007322624206542969, | |
0.007312384128570557, | |
0.007251967906951904, | |
0.007350272178649903, | |
0.00738918399810791, | |
0.007125984191894532, | |
0.007601151943206787, | |
0.007353343963623047, | |
0.00733081579208374, | |
0.007315455913543701, | |
0.007436287879943848, | |
0.007321599960327148, | |
0.0074414081573486324, | |
0.007420928001403809, | |
0.007368735790252686, | |
0.007437312126159668, | |
0.007337984085083008, | |
0.007321599960327148, | |
0.007372799873352051, | |
0.007351295948028564, | |
0.0072991042137146, | |
0.007521279811859131, | |
0.007316480159759522, | |
0.0073471999168395995, | |
0.007162879943847656, | |
0.007188479900360107, | |
0.007371744155883789, | |
0.007136256217956543, | |
0.006976511955261231, | |
0.006969344139099121, | |
0.0070594558715820314, | |
0.007303167819976806, | |
0.007305215835571289, | |
0.007352255821228028, | |
0.007366655826568603, | |
0.007404543876647949, | |
0.007506944179534912, | |
0.0072468481063842774, | |
0.007132160186767578, | |
0.007007232189178467, | |
0.007003136157989502, | |
0.0070891518592834475, | |
0.007022560119628906, | |
0.006964223861694336, | |
0.006978559970855713, | |
0.006998015880584717, | |
0.007010303974151612, | |
0.006979584217071533, | |
0.006975456237792969, | |
0.0069621758460998535, | |
0.00693555212020874, | |
0.006914048194885254, | |
0.006909952163696289, | |
0.006938623905181885, | |
0.006977536201477051, | |
0.006947840213775635, | |
0.007396351814270019, | |
0.006959104061126709, | |
0.006978559970855713, | |
0.006952960014343262, | |
0.006960127830505371, | |
0.006948863983154297, | |
0.006994976043701172, | |
0.00693555212020874, | |
0.006960127830505371, | |
0.006971392154693603, | |
0.006968319892883301, | |
0.006937600135803222, | |
0.006947840213775635, | |
0.007051263809204102, | |
0.006974463939666748, | |
0.006897664070129395, | |
0.006924287796020508, | |
0.006946815967559815, | |
0.006968287944793701, | |
0.006906879901885986, | |
0.006923264026641846, | |
0.007286784172058106, | |
0.006979584217071533, | |
0.006959104061126709, | |
0.007001088142395019, | |
0.00694163179397583, | |
0.006937600135803222, | |
0.006921279907226563, | |
0.006940671920776367 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.22938373269275 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.299411362847085e-08, | |
"ram": 4.5187909373225e-08, | |
"gpu": 1.7640639112500003e-07, | |
"total": 3.0458841412669587e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3283118.9684846066 | |
} | |
} | |
} | |
} |