
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f709647
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.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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.884928, | |
"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.46746484375, | |
"mean": 7.46746484375, | |
"stdev": 0.0, | |
"p50": 7.46746484375, | |
"p90": 7.46746484375, | |
"p95": 7.46746484375, | |
"p99": 7.46746484375, | |
"values": [ | |
7.46746484375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.3280493881967335e-06, | |
"ram": 2.3564526028033583e-06, | |
"gpu": 6.838061026000555e-06, | |
"total": 1.3522563017000648e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.613376, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9998570899963379, | |
"mean": 0.007041247112650267, | |
"stdev": 0.000235542390065599, | |
"p50": 0.00712499213218689, | |
"p90": 0.0072995840549469, | |
"p95": 0.007379968166351319, | |
"p99": 0.007499806747436524, | |
"values": [ | |
0.007383039951324463, | |
0.007423999786376953, | |
0.007506944179534912, | |
0.007379968166351319, | |
0.007367680072784424, | |
0.0073471999168395995, | |
0.007786496162414551, | |
0.007226336002349854, | |
0.007241727828979493, | |
0.007263232231140137, | |
0.007261184215545655, | |
0.0071485438346862796, | |
0.007138304233551026, | |
0.007126016139984131, | |
0.007187456130981445, | |
0.007214079856872559, | |
0.007241727828979493, | |
0.007247871875762939, | |
0.007237631797790528, | |
0.0071905279159545895, | |
0.007177216053009033, | |
0.007202816009521484, | |
0.007337984085083008, | |
0.0072325119972229, | |
0.007268383979797364, | |
0.007239615917205811, | |
0.007209983825683594, | |
0.007215167999267578, | |
0.007245823860168457, | |
0.00724889612197876, | |
0.007261184215545655, | |
0.007104512214660645, | |
0.007041024208068848, | |
0.007166975975036621, | |
0.007206912040710449, | |
0.007085055828094483, | |
0.007208960056304932, | |
0.007187456130981445, | |
0.007176191806793213, | |
0.007319551944732666, | |
0.007300096035003662, | |
0.007489535808563232, | |
0.007214079856872559, | |
0.007226367950439453, | |
0.007173120021820068, | |
0.00724070405960083, | |
0.007180287837982178, | |
0.0071833600997924804, | |
0.007211008071899414, | |
0.007153664112091064, | |
0.007127039909362793, | |
0.00719155216217041, | |
0.007123968124389648, | |
0.007243775844573975, | |
0.007185408115386963, | |
0.0071833600997924804, | |
0.007174143791198731, | |
0.007208960056304932, | |
0.007216127872467041, | |
0.007147520065307617, | |
0.007188479900360107, | |
0.007324672222137451, | |
0.007294976234436036, | |
0.007238656044006348, | |
0.007379968166351319, | |
0.007226367950439453, | |
0.007192575931549072, | |
0.007432191848754883, | |
0.007202816009521484, | |
0.007221248149871826, | |
0.007117824077606201, | |
0.007102464199066162, | |
0.007085055828094483, | |
0.006850560188293457, | |
0.007056320190429687, | |
0.007121920108795166, | |
0.006802432060241699, | |
0.006796288013458252, | |
0.006817791938781738, | |
0.006795263767242431, | |
0.007065663814544678, | |
0.007160831928253173, | |
0.007143424034118652, | |
0.007160831928253173, | |
0.007294976234436036, | |
0.00738099193572998, | |
0.007009280204772949, | |
0.006800384044647217, | |
0.006850560188293457, | |
0.006804480075836182, | |
0.006758399963378906, | |
0.006812672138214112, | |
0.006817791938781738, | |
0.006797311782836914, | |
0.0067983360290527345, | |
0.006782976150512696, | |
0.006763519763946534, | |
0.006782976150512696, | |
0.006846464157104492, | |
0.0067983360290527345, | |
0.006752255916595459, | |
0.006817791938781738, | |
0.00675328016281128, | |
0.0067686400413513184, | |
0.0067870721817016606, | |
0.006717440128326416, | |
0.006790143966674805, | |
0.006743040084838867, | |
0.006748127937316895, | |
0.006796288013458252, | |
0.006773759841918945, | |
0.006788095951080322, | |
0.006829055786132812, | |
0.006883327960968018, | |
0.006725632190704346, | |
0.006758399963378906, | |
0.006774784088134766, | |
0.006719488143920899, | |
0.006758399963378906, | |
0.006782976150512696, | |
0.006724607944488525, | |
0.006772736072540283, | |
0.006795263767242431, | |
0.00675222396850586, | |
0.006755328178405762, | |
0.0067983360290527345, | |
0.006762495994567871, | |
0.006760447978973389, | |
0.006862847805023193, | |
0.006755328178405762, | |
0.006762495994567871, | |
0.006795263767242431, | |
0.006740992069244385, | |
0.006782976150512696, | |
0.0068689918518066405, | |
0.0067276802062988285, | |
0.006922239780426025, | |
0.006766592025756836, | |
0.006851583957672119, | |
0.006780928134918213, | |
0.006819839954376221, | |
0.006721536159515381 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.02029612103874 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.750233750284454e-08, | |
"ram": 4.237413385609548e-08, | |
"gpu": 1.7055569200000567e-07, | |
"total": 2.904321633589457e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3443144.8240259048 | |
} | |
} | |
} | |
} |