
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
29b9e13
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.285632, | |
"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.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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.733376, | |
"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.41481787109375, | |
"mean": 7.41481787109375, | |
"stdev": 0.0, | |
"p50": 7.41481787109375, | |
"p90": 7.41481787109375, | |
"p95": 7.41481787109375, | |
"p99": 7.41481787109375, | |
"values": [ | |
7.41481787109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.293662640783522e-06, | |
"ram": 2.3375991645252725e-06, | |
"gpu": 5.007781783999965e-06, | |
"total": 1.1639043589308759e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.175104, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9996852126121519, | |
"mean": 0.006942258420917723, | |
"stdev": 0.0004335638392253219, | |
"p50": 0.006900239944458007, | |
"p90": 0.007150079917907715, | |
"p95": 0.007432447934150694, | |
"p99": 0.009113251924514768, | |
"values": [ | |
0.00941875171661377, | |
0.009262080192565919, | |
0.00891596794128418, | |
0.007032832145690918, | |
0.006897664070129395, | |
0.006871103763580322, | |
0.007099423885345459, | |
0.007095295906066895, | |
0.007094272136688232, | |
0.007097343921661377, | |
0.007106560230255127, | |
0.007087103843688965, | |
0.006948863983154297, | |
0.006919167995452881, | |
0.007061471939086914, | |
0.007087103843688965, | |
0.007114751815795899, | |
0.007090176105499267, | |
0.007072768211364746, | |
0.00704204797744751, | |
0.0069959678649902345, | |
0.007139328002929687, | |
0.007122943878173828, | |
0.0070830078125, | |
0.007130112171173096, | |
0.007116799831390381, | |
0.007041024208068848, | |
0.00687820816040039, | |
0.006865920066833496, | |
0.006809599876403808, | |
0.007006175994873047, | |
0.00704204797744751, | |
0.006958079814910889, | |
0.0069847040176391605, | |
0.006982656002044678, | |
0.007003136157989502, | |
0.00702675199508667, | |
0.007103487968444824, | |
0.007098368167877197, | |
0.00708406400680542, | |
0.007185408115386963, | |
0.006894591808319092, | |
0.006821887969970703, | |
0.006808576107025147, | |
0.006737919807434082, | |
0.006858751773834228, | |
0.0070687360763549804, | |
0.007127039909362793, | |
0.007076863765716553, | |
0.0070860800743103025, | |
0.007066624164581299, | |
0.006951935768127441, | |
0.006978559970855713, | |
0.006978559970855713, | |
0.007169023990631103, | |
0.006973440170288086, | |
0.007058432102203369, | |
0.007060480117797851, | |
0.007011328220367432, | |
0.007010303974151612, | |
0.007029727935791015, | |
0.007045119762420654, | |
0.007184383869171143, | |
0.007219200134277344, | |
0.007127039909362793, | |
0.007208960056304932, | |
0.007154687881469727, | |
0.00709939193725586, | |
0.0071157760620117185, | |
0.007066624164581299, | |
0.007067647933959961, | |
0.0071792640686035155, | |
0.006910943984985351, | |
0.0067348480224609375, | |
0.006604800224304199, | |
0.006617087841033936, | |
0.007039999961853028, | |
0.006901792049407959, | |
0.006707200050354004, | |
0.0067645440101623535, | |
0.0074700798988342285, | |
0.008052736282348634, | |
0.008232959747314453, | |
0.007523327827453613, | |
0.006870016098022461, | |
0.0068986878395080565, | |
0.007679999828338623, | |
0.007037951946258545, | |
0.006710271835327148, | |
0.006722559928894043, | |
0.006795263767242431, | |
0.006732800006866455, | |
0.006747136116027832, | |
0.006759424209594727, | |
0.0066979842185974124, | |
0.00672051191329956, | |
0.006710303783416748, | |
0.006703104019165039, | |
0.006704160213470459, | |
0.006702079772949219, | |
0.006710207939147949, | |
0.0066007041931152345, | |
0.0066109437942504885, | |
0.006597568035125732, | |
0.006651904106140137, | |
0.006688767910003662, | |
0.006702079772949219, | |
0.006672383785247803, | |
0.006708223819732666, | |
0.006684671878814697, | |
0.006706175804138184, | |
0.006508543968200684, | |
0.006339583873748779, | |
0.006341631889343262, | |
0.006363135814666748, | |
0.006329343795776367, | |
0.00638156795501709, | |
0.006340608119964599, | |
0.006341631889343262, | |
0.006344672203063965, | |
0.0066119680404663084, | |
0.007009280204772949, | |
0.006802432060241699, | |
0.006618112087249756, | |
0.0067358717918396, | |
0.0067420158386230465, | |
0.0067338237762451176, | |
0.0067420158386230465, | |
0.006751232147216797, | |
0.006773759841918945, | |
0.006618144035339356, | |
0.006635519981384277, | |
0.0066119680404663084, | |
0.006675456047058105, | |
0.0066826238632202144, | |
0.006687744140625, | |
0.006696959972381592, | |
0.006703104019165039, | |
0.006738944053649902, | |
0.006680575847625733, | |
0.006714367866516113, | |
0.006711296081542969, | |
0.006690752029418945, | |
0.006730815887451172 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.0453436574616 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.539498240746932e-08, | |
"ram": 4.122230196802758e-08, | |
"gpu": 1.6326092324840782e-07, | |
"total": 2.798782076239047e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3572982.7216264796 | |
} | |
} | |
} | |
} |