
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
35a6e9b
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.3", | |
"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.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.17632, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.49177734375, | |
"mean": 7.49177734375, | |
"stdev": 0.0, | |
"p50": 7.49177734375, | |
"p90": 7.49177734375, | |
"p95": 7.49177734375, | |
"p99": 7.49177734375, | |
"values": [ | |
7.49177734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.347433977656894e-06, | |
"ram": 2.3671110122137406e-06, | |
"gpu": 6.537227452002581e-06, | |
"total": 1.3251772441873217e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.121856, | |
"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.9976093745231625, | |
"mean": 0.007025418130444808, | |
"stdev": 0.00021858706935046392, | |
"p50": 0.007105535984039306, | |
"p90": 0.007277772903442383, | |
"p95": 0.007315251111984253, | |
"p99": 0.007443199791908264, | |
"values": [ | |
0.007453695774078369, | |
0.007374847888946533, | |
0.007428095817565918, | |
0.0073994240760803225, | |
0.007363584041595459, | |
0.007311359882354736, | |
0.007336959838867187, | |
0.007308288097381592, | |
0.007256063938140869, | |
0.007207935810089112, | |
0.0071996479034423825, | |
0.007122943878173828, | |
0.007103487968444824, | |
0.007155712127685547, | |
0.0071833600997924804, | |
0.0072499198913574215, | |
0.007237631797790528, | |
0.007256063938140869, | |
0.0072540159225463864, | |
0.007144447803497315, | |
0.007175168037414551, | |
0.007260159969329834, | |
0.007201791763305664, | |
0.007493631839752197, | |
0.007208960056304932, | |
0.0072120318412780765, | |
0.007222271919250488, | |
0.007155712127685547, | |
0.007278592109680176, | |
0.00719155216217041, | |
0.007080959796905518, | |
0.0071495680809020995, | |
0.007037951946258545, | |
0.007090176105499267, | |
0.007110655784606934, | |
0.00719155216217041, | |
0.007171072006225586, | |
0.007136256217956543, | |
0.007290880203247071, | |
0.007184383869171143, | |
0.007300096035003662, | |
0.0073062400817871095, | |
0.007188479900360107, | |
0.007081984043121338, | |
0.007270400047302246, | |
0.0072325119972229, | |
0.007177216053009033, | |
0.007154687881469727, | |
0.007162879943847656, | |
0.007117824077606201, | |
0.0071485438346862796, | |
0.007155712127685547, | |
0.007211008071899414, | |
0.0072427520751953125, | |
0.007126016139984131, | |
0.007168000221252442, | |
0.007136256217956543, | |
0.007092095851898193, | |
0.007176191806793213, | |
0.007155776023864746, | |
0.007315455913543701, | |
0.007238592147827148, | |
0.007243775844573975, | |
0.007258111953735351, | |
0.0072499198913574215, | |
0.007135231971740722, | |
0.00724070405960083, | |
0.007186431884765625, | |
0.0071188478469848635, | |
0.007258111953735351, | |
0.0071157760620117185, | |
0.007027520179748535, | |
0.006952960014343262, | |
0.0069027838706970214, | |
0.007107583999633789, | |
0.0069959678649902345, | |
0.006852575778961182, | |
0.006791200160980225, | |
0.006843391895294189, | |
0.0068280320167541505, | |
0.006907904148101806, | |
0.0071506562232971195, | |
0.007300096035003662, | |
0.007235712051391602, | |
0.007175168037414551, | |
0.007270400047302246, | |
0.006928319931030273, | |
0.006927360057830811, | |
0.0068884482383728025, | |
0.006830080032348633, | |
0.00682700777053833, | |
0.006801407814025879, | |
0.006748159885406494, | |
0.006796288013458252, | |
0.006797311782836914, | |
0.006792191982269287, | |
0.006779903888702392, | |
0.006712384223937988, | |
0.006774784088134766, | |
0.006747231960296631, | |
0.006790143966674805, | |
0.006754303932189941, | |
0.0068351998329162595, | |
0.0067983360290527345, | |
0.006788095951080322, | |
0.0067983360290527345, | |
0.006807551860809326, | |
0.0066979842185974124, | |
0.006738944053649902, | |
0.006766592025756836, | |
0.006749184131622315, | |
0.006699007987976074, | |
0.006802432060241699, | |
0.006790143966674805, | |
0.006804480075836182, | |
0.006788095951080322, | |
0.006796288013458252, | |
0.006795263767242431, | |
0.00679423999786377, | |
0.006812736034393311, | |
0.006724607944488525, | |
0.006767615795135498, | |
0.006755328178405762, | |
0.006796288013458252, | |
0.006810624122619629, | |
0.006761472225189209, | |
0.006711264133453369, | |
0.006754303932189941, | |
0.006819839954376221, | |
0.006820864200592041, | |
0.00673689603805542, | |
0.006800384044647217, | |
0.006825984001159668, | |
0.006746111869812011, | |
0.006795263767242431, | |
0.006780928134918213, | |
0.006767615795135498, | |
0.006796288013458252, | |
0.0068055038452148435, | |
0.006804480075836182, | |
0.006779903888702392, | |
0.006791168212890625 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.34028230525917 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.819011916368329e-08, | |
"ram": 4.2750546762734836e-08, | |
"gpu": 1.6656994319735226e-07, | |
"total": 2.8751060912377036e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3478132.5219533388 | |
} | |
} | |
} | |
} |