
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
320ab60
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.291008, | |
"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.51147412109375, | |
"mean": 7.51147412109375, | |
"stdev": 0.0, | |
"p50": 7.51147412109375, | |
"p90": 7.51147412109375, | |
"p95": 7.51147412109375, | |
"p99": 7.51147412109375, | |
"values": [ | |
7.51147412109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.315709902180566e-06, | |
"ram": 2.3469959448665162e-06, | |
"gpu": 6.608338619999189e-06, | |
"total": 1.3271044467046272e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.584704, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9976571536064145, | |
"mean": 0.00688039416280286, | |
"stdev": 0.0001901966630943743, | |
"p50": 0.006797311782836914, | |
"p90": 0.007175372695922852, | |
"p95": 0.007213049697875977, | |
"p99": 0.00728186866760254, | |
"values": [ | |
0.006968319892883301, | |
0.006998015880584717, | |
0.006966207981109619, | |
0.006960127830505371, | |
0.006882463932037354, | |
0.007001215934753418, | |
0.006809599876403808, | |
0.00675328016281128, | |
0.00675113582611084, | |
0.006665215969085693, | |
0.00673689603805542, | |
0.006759424209594727, | |
0.006726655960083008, | |
0.006635519981384277, | |
0.006708288192749023, | |
0.006746111869812011, | |
0.006821887969970703, | |
0.006819839954376221, | |
0.006817791938781738, | |
0.006811647891998291, | |
0.00679423999786377, | |
0.0067041277885437015, | |
0.006754303932189941, | |
0.00684441614151001, | |
0.006778880119323731, | |
0.006804480075836182, | |
0.006846464157104492, | |
0.006797311782836914, | |
0.006738944053649902, | |
0.006969344139099121, | |
0.007030784130096435, | |
0.006790143966674805, | |
0.006838272094726563, | |
0.006650879859924317, | |
0.006620160102844238, | |
0.006773759841918945, | |
0.006795392036437988, | |
0.006669312000274658, | |
0.007117824077606201, | |
0.0071495680809020995, | |
0.007136256217956543, | |
0.007211008071899414, | |
0.0072130560874938965, | |
0.007194623947143554, | |
0.00719155216217041, | |
0.0071577920913696285, | |
0.007102464199066162, | |
0.007046144008636474, | |
0.007186431884765625, | |
0.0071526398658752445, | |
0.00711683177947998, | |
0.007131135940551757, | |
0.007008255958557129, | |
0.00707583999633789, | |
0.007024640083312988, | |
0.007063551902770996, | |
0.00714137601852417, | |
0.006999040126800537, | |
0.007070879936218261, | |
0.0071495680809020995, | |
0.007241727828979493, | |
0.007151616096496582, | |
0.007213024139404297, | |
0.007218175888061523, | |
0.0073134078979492185, | |
0.007228415966033935, | |
0.007227392196655274, | |
0.007219200134277344, | |
0.00719974422454834, | |
0.007186431884765625, | |
0.007146495819091797, | |
0.007077888011932373, | |
0.007158783912658692, | |
0.007058432102203369, | |
0.007029759883880615, | |
0.006931456089019775, | |
0.006874112129211426, | |
0.00707583999633789, | |
0.006959104061126709, | |
0.006778880119323731, | |
0.006796288013458252, | |
0.006819839954376221, | |
0.006801407814025879, | |
0.006917088031768799, | |
0.007047167778015137, | |
0.007020544052124023, | |
0.007151616096496582, | |
0.007345151901245117, | |
0.007066624164581299, | |
0.007030784130096435, | |
0.006938623905181885, | |
0.006796288013458252, | |
0.006809599876403808, | |
0.00690176010131836, | |
0.0068628802299499515, | |
0.006742080211639404, | |
0.006801407814025879, | |
0.006766592025756836, | |
0.006756351947784424, | |
0.006713344097137451, | |
0.006739967823028564, | |
0.006733920097351074, | |
0.006714335918426514, | |
0.006671232223510742, | |
0.006687744140625, | |
0.0067051520347595215, | |
0.0067348480224609375, | |
0.006717440128326416, | |
0.006677504062652588, | |
0.006710271835327148, | |
0.00669593620300293, | |
0.006660096168518067, | |
0.0066938881874084475, | |
0.006700032234191895, | |
0.006702079772949219, | |
0.006717440128326416, | |
0.006726655960083008, | |
0.006715392112731934, | |
0.006715392112731934, | |
0.006730751991271973, | |
0.006708223819732666, | |
0.006713344097137451, | |
0.00672051191329956, | |
0.006730815887451172, | |
0.006750207901000976, | |
0.006739967823028564, | |
0.0067358717918396, | |
0.006710271835327148, | |
0.006710271835327148, | |
0.006724607944488525, | |
0.006704192161560058, | |
0.006686592102050781, | |
0.006703104019165039, | |
0.006717440128326416, | |
0.00674508810043335, | |
0.006747136116027832, | |
0.006729728221893311, | |
0.0067010560035705566, | |
0.006740992069244385, | |
0.006657023906707763, | |
0.0067276802062988285, | |
0.0066938881874084475, | |
0.00672051191329956, | |
0.006691904067993164, | |
0.006739967823028564 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.3405104908453 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.89678692817688e-08, | |
"ram": 4.317826708982011e-08, | |
"gpu": 1.6884457951999814e-07, | |
"total": 2.909907158915871e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3436535.7565997564 | |
} | |
} | |
} | |
} |