IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c7e9b85 verified
raw
history blame
11.8 kB
{
"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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 865.93536,
"max_global_vram": 688.390144,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3374736328125,
"mean": 8.3374736328125,
"stdev": 0.0,
"p50": 8.3374736328125,
"p90": 8.3374736328125,
"p95": 8.3374736328125,
"p99": 8.3374736328125,
"values": [
8.3374736328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.2943857722217875e-06,
"ram": 2.3377160172381057e-06,
"gpu": 4.734170453999926e-06,
"total": 1.136627224345982e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1105.231872,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0007792654037477,
"mean": 0.007252023662345996,
"stdev": 0.0001953490664485898,
"p50": 0.007279119968414306,
"p90": 0.007465417623519897,
"p95": 0.007524966239929199,
"p99": 0.007729213581085205,
"values": [
0.0074926080703735356,
0.007488512039184571,
0.00747811222076416,
0.007481344223022461,
0.007263232231140137,
0.007372896194458008,
0.007268352031707764,
0.007222271919250488,
0.007238656044006348,
0.007102528095245361,
0.007448575973510742,
0.0073686718940734865,
0.0074035201072692874,
0.0074035201072692874,
0.007393280029296875,
0.007318528175354004,
0.007264095783233643,
0.007414783954620361,
0.007451648235321045,
0.0074629120826721195,
0.007397215843200683,
0.007418879985809326,
0.007558144092559814,
0.007689216136932373,
0.007459839820861816,
0.007312287807464599,
0.0073062400817871095,
0.007329792022705078,
0.00748528003692627,
0.007386112213134765,
0.0074035201072692874,
0.007408703804016113,
0.007458816051483155,
0.007405600070953369,
0.007416831970214844,
0.00754585599899292,
0.007574528217315674,
0.007302271842956543,
0.0073768959045410155,
0.007290880203247071,
0.007398399829864502,
0.007356448173522949,
0.007168000221252442,
0.007062528133392334,
0.007157567977905273,
0.007080959796905518,
0.007408639907836914,
0.007319551944732666,
0.007353343963623047,
0.00729804801940918,
0.007198719978332519,
0.007184383869171143,
0.007244800090789795,
0.007312384128570557,
0.0071188478469848635,
0.00707689619064331,
0.007521279811859131,
0.007428095817565918,
0.007436287879943848,
0.0073431038856506346,
0.00738918399810791,
0.007357247829437256,
0.00739737606048584,
0.007307263851165771,
0.007279615879058838,
0.007356416225433349,
0.007345151901245117,
0.007400512218475342,
0.007372928142547607,
0.007418879985809326,
0.007358463764190673,
0.007131135940551757,
0.007129087924957276,
0.00739737606048584,
0.007608320236206055,
0.007318687915802002,
0.007294879913330078,
0.0073175039291381834,
0.007278624057769775,
0.007193600177764893,
0.007173120021820068,
0.007197696208953858,
0.0071905279159545895,
0.007103551864624023,
0.007157760143280029,
0.007090176105499267,
0.007003136157989502,
0.007200767993927002,
0.007262207984924316,
0.007061567783355713,
0.007003136157989502,
0.006884352207183838,
0.007048192024230957,
0.007173056125640869,
0.00720582389831543,
0.006980607986450196,
0.006980607986450196,
0.006966271877288818,
0.007155839920043945,
0.007280640125274658,
0.00775270414352417,
0.0073348798751831056,
0.007409759998321533,
0.00799129581451416,
0.007471263885498047,
0.007409664154052734,
0.007177120208740235,
0.007061503887176514,
0.007174143791198731,
0.007238656044006348,
0.0071823358535766605,
0.007067647933959961,
0.006909952163696289,
0.006993919849395752,
0.006993919849395752,
0.006959199905395508,
0.006958079814910889,
0.007002111911773682,
0.006982560157775879,
0.0069632000923156735,
0.007331840038299561,
0.0070830078125,
0.0069836158752441405,
0.0069836158752441405,
0.0069816322326660156,
0.006996992111206054,
0.0070133118629455565,
0.006993919849395752,
0.006988800048828125,
0.0070266880989074704,
0.0070266880989074704,
0.006974463939666748,
0.006974431991577148,
0.007003136157989502,
0.007136256217956543,
0.007102464199066162,
0.007058303833007812,
0.0069816322326660156
]
},
"throughput": {
"unit": "samples/s",
"value": 137.89254511016097
},
"energy": {
"unit": "kWh",
"cpu": 8.181336498084314e-08,
"ram": 4.4732453010548864e-08,
"gpu": 1.676840421931036e-07,
"total": 2.942298601844956e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3398703.3109860234
}
}
}
}