IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f510280 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16
},
"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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.227-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 883.310592,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3617679443359375
],
"count": 1,
"total": 0.3617679443359375,
"mean": 0.3617679443359375,
"p50": 0.3617679443359375,
"p90": 0.3617679443359375,
"p95": 0.3617679443359375,
"p99": 0.3617679443359375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1125.912576,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 133.139968
},
"latency": {
"unit": "s",
"values": [
0.00811520004272461,
0.007760831832885742,
0.007759871959686279,
0.007787519931793213,
0.007723999977111816,
0.007611392021179199,
0.007592959880828858,
0.007693151950836182,
0.007734272003173828,
0.00775270414352417,
0.007682943820953369,
0.0076943359375,
0.007768095970153809,
0.007701504230499268,
0.007569407939910889,
0.007752799987792968,
0.0076871681213378906,
0.007768064022064209,
0.007803904056549072,
0.007730175971984863,
0.007701504230499268,
0.007681024074554443,
0.007685984134674072,
0.007728000164031982,
0.00775270414352417,
0.007739391803741455,
0.007727104187011719,
0.00775878381729126,
0.007628799915313721,
0.007624735832214355,
0.0077118721008300785,
0.007764992237091065,
0.007623680114746094,
0.007706624031066894,
0.007711743831634522,
0.007658495903015137,
0.00780083179473877,
0.007670783996582031,
0.0075980801582336424,
0.0076943359375,
0.0076451201438903806,
0.007680960178375244,
0.007674880027770996,
0.007674880027770996,
0.0077578239440917966,
0.0077619199752807615,
0.007803904056549072,
0.007712768077850342,
0.007677951812744141,
0.007773280143737793,
0.007708672046661377,
0.007739391803741455,
0.007620607852935791,
0.007724031925201416,
0.007656447887420655,
0.007574528217315674,
0.007566175937652588,
0.007434239864349365,
0.007547904014587403,
0.007632895946502686,
0.007291903972625732,
0.007359488010406494,
0.007434239864349365,
0.00738918399810791,
0.007352320194244385,
0.007444479942321777,
0.007480319976806641,
0.007558144092559814,
0.0077556161880493165,
0.007589888095855713,
0.00747219181060791,
0.007400447845458984,
0.0073471999168395995,
0.007368703842163086,
0.007359488010406494,
0.007332863807678222,
0.007373824119567871,
0.007326720237731933,
0.007286784172058106,
0.007322624206542969,
0.00733081579208374,
0.007206912040710449,
0.007258111953735351,
0.007301119804382325,
0.00728985595703125,
0.007283872127532959,
0.007211008071899414,
0.007228415966033935,
0.007245888233184814,
0.007228320121765137,
0.007272480010986328,
0.007263232231140137,
0.007204927921295166,
0.007267327785491944,
0.0074115519523620605,
0.007355391979217529,
0.007219200134277344,
0.007271423816680909,
0.007180287837982178,
0.007206912040710449,
0.007288671970367431,
0.007231488227844239,
0.007230463981628418,
0.007219200134277344,
0.007258111953735351,
0.007299071788787842,
0.007201791763305664,
0.007244800090789795,
0.007239712238311768,
0.007151616096496582,
0.00724070405960083,
0.007228415966033935,
0.0072765440940856935,
0.007209983825683594,
0.007201791763305664,
0.007291872024536133,
0.007570432186126709,
0.007593952178955078,
0.007351295948028564,
0.007319551944732666,
0.0072897601127624514,
0.007255040168762207,
0.00721401596069336,
0.007187520027160645,
0.007197696208953858,
0.007215104103088379,
0.007276576042175293,
0.0072468481063842774,
0.007230463981628418,
0.007280640125274658,
0.007271423816680909,
0.007202847957611084,
0.007173120021820068,
0.007266304016113281
],
"count": 134,
"total": 1.0024684810638431,
"mean": 0.007481108067640619,
"p50": 0.007439359903335571,
"p90": 0.007757161617279053,
"p95": 0.007768075203895569,
"p99": 0.007803904056549072,
"stdev": 0.00022226309002207006,
"stdev_": 2.9709915698646907
},
"throughput": {
"unit": "samples/s",
"value": 267.34007608457887
},
"energy": {
"unit": "kWh",
"cpu": 8.430695327028867e-08,
"ram": 4.606848240551369e-08,
"gpu": 2.0612506639716282e-07,
"total": 3.3650050207296516e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 5943527.536153065
}
}
}
}