IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
cfe802c verified
raw
history blame
12.2 kB
{
"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.4.0",
"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.307392,
"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.47788818359375,
"mean": 7.47788818359375,
"stdev": 0.0,
"p50": 7.47788818359375,
"p90": 7.47788818359375,
"p95": 7.47788818359375,
"p99": 7.47788818359375,
"values": [
7.47788818359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.3251784311400526e-06,
"ram": 2.353356434372813e-06,
"gpu": 4.83611497999973e-06,
"total": 1.1514649845512595e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 977.166336,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9991772165298465,
"mean": 0.006797123921971743,
"stdev": 0.00025429866481692224,
"p50": 0.006749216079711914,
"p90": 0.007072153663635254,
"p95": 0.007156326293945313,
"p99": 0.007697285261154174,
"values": [
0.007186431884765625,
0.007173120021820068,
0.007150591850280762,
0.006899712085723877,
0.006859807968139648,
0.006809599876403808,
0.006803455829620361,
0.006791168212890625,
0.006829055786132812,
0.006774720191955567,
0.006708255767822266,
0.006762495994567871,
0.006680575847625733,
0.007188479900360107,
0.00695091199874878,
0.006980607986450196,
0.007028736114501953,
0.007047167778015137,
0.007013376235961914,
0.0070225920677185055,
0.006958079814910889,
0.006974463939666748,
0.00704204797744751,
0.007059391975402832,
0.007005184173583984,
0.007090176105499267,
0.0070266880989074704,
0.00674505615234375,
0.007293951988220215,
0.007018496036529541,
0.006996992111206054,
0.007005184173583984,
0.006905856132507324,
0.006865920066833496,
0.006924287796020508,
0.0069745278358459475,
0.007602176189422607,
0.007907328128814697,
0.007778304100036621,
0.007074816226959229,
0.007158783912658692,
0.007104512214660645,
0.007071743965148926,
0.007072768211364746,
0.007010303974151612,
0.006949888229370117,
0.0069847040176391605,
0.007023615837097168,
0.007016448020935059,
0.007004159927368164,
0.006953983783721924,
0.00693452787399292,
0.006879231929779053,
0.006916096210479736,
0.006873055934906006,
0.007038976192474365,
0.006930431842803955,
0.0068915200233459475,
0.006904831886291504,
0.00693555212020874,
0.007050240039825439,
0.007009280204772949,
0.006941696166992187,
0.00703385591506958,
0.007093247890472412,
0.007072768211364746,
0.007032832145690918,
0.007047167778015137,
0.006986783981323242,
0.006766623973846435,
0.0067010560035705566,
0.00667955207824707,
0.006729728221893311,
0.006623231887817383,
0.0065710082054138185,
0.006526976108551025,
0.006427648067474365,
0.006557695865631104,
0.006557695865631104,
0.006398975849151611,
0.0063610877990722655,
0.006341631889343262,
0.006450143814086914,
0.006684703826904297,
0.006749216079711914,
0.006774784088134766,
0.006812672138214112,
0.006788095951080322,
0.006910975933074951,
0.006946815967559815,
0.0067041277885437015,
0.006645760059356689,
0.006666240215301514,
0.006767615795135498,
0.0066713600158691405,
0.006665215969085693,
0.006676479816436768,
0.006598656177520752,
0.006602752208709717,
0.006614016056060791,
0.006560768127441406,
0.006605823993682861,
0.006599679946899414,
0.00658022403717041,
0.006565887928009034,
0.0065771517753601075,
0.00658739185333252,
0.006614016056060791,
0.006574079990386963,
0.006594560146331787,
0.006601727962493896,
0.006614016056060791,
0.006593535900115967,
0.006589439868927002,
0.006594560146331787,
0.006612991809844971,
0.006526976108551025,
0.006614016056060791,
0.0065771517753601075,
0.006573056221008301,
0.0066007041931152345,
0.006560800075531006,
0.006512639999389648,
0.006493184089660644,
0.006529024124145508,
0.0066304001808166506,
0.0066109437942504885,
0.006567935943603515,
0.006593535900115967,
0.00658022403717041,
0.0065914239883422855,
0.006602752208709717,
0.00658022403717041,
0.00657919979095459,
0.006590464115142822,
0.006567935943603515,
0.0066109437942504885,
0.006533120155334473,
0.006565887928009034,
0.0066447358131408694,
0.006599679946899414,
0.006574079990386963,
0.006582272052764892,
0.006557695865631104,
0.006598656177520752,
0.0066078720092773435,
0.0065484800338745115
]
},
"throughput": {
"unit": "samples/s",
"value": 147.1210487670372
},
"energy": {
"unit": "kWh",
"cpu": 7.450228556990624e-08,
"ram": 4.069049112782253e-08,
"gpu": 1.5965116938750189e-07,
"total": 2.7484394608523064e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3638428.330853227
}
}
}
}