IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
771c202 verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 949.317632,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 178,
"total": 0.9992702364921571,
"mean": 0.005613877733102005,
"stdev": 0.0003942634822951972,
"p50": 0.005596159934997558,
"p90": 0.00580986876487732,
"p95": 0.005916518354415894,
"p99": 0.007489277935028075,
"values": [
0.007929855823516846,
0.007560192108154297,
0.007468095779418945,
0.007373760223388672,
0.007358463764190673,
0.005881855964660645,
0.005933055877685547,
0.005913599967956543,
0.005886975765228271,
0.005774335861206055,
0.00570470380783081,
0.005726208209991455,
0.0057190399169921875,
0.005766143798828125,
0.00570470380783081,
0.005611519813537597,
0.005559296131134033,
0.005600255966186523,
0.005691391944885254,
0.0056555519104003905,
0.0057784318923950195,
0.005756927967071533,
0.005775360107421875,
0.0057784318923950195,
0.005773312091827393,
0.006231040000915527,
0.006452223777770996,
0.006291456222534179,
0.005802048206329346,
0.005764095783233642,
0.005804031848907471,
0.005787648200988769,
0.005772287845611572,
0.005751808166503906,
0.005687295913696289,
0.005738495826721191,
0.005746687889099121,
0.0057487359046936035,
0.00577023983001709,
0.00571289587020874,
0.005534719944000244,
0.00563097620010376,
0.005574656009674072,
0.005607423782348633,
0.005679103851318359,
0.005581823825836182,
0.005705728054046631,
0.00568832015991211,
0.005691391944885254,
0.005781504154205322,
0.005780479907989502,
0.005826560020446778,
0.005777408123016357,
0.005825535774230957,
0.005747712135314941,
0.005735424041748047,
0.005633024215698243,
0.005656576156616211,
0.005847040176391601,
0.005765120029449463,
0.005736447811126709,
0.005725183963775635,
0.005767104148864746,
0.005631999969482422,
0.005588992118835449,
0.005649407863616943,
0.00566374397277832,
0.00568832015991211,
0.00566374397277832,
0.005823488235473633,
0.00571289587020874,
0.005619711875915527,
0.005629951953887939,
0.005663680076599121,
0.005675007820129394,
0.005657599925994873,
0.0057200961112976074,
0.005632031917572022,
0.005662720203399658,
0.005679103851318359,
0.005720064163208007,
0.005891071796417236,
0.0057794561386108395,
0.005826528072357178,
0.005763072013854981,
0.005775424003601074,
0.005698560237884521,
0.005776383876800537,
0.005730303764343261,
0.005574656009674072,
0.005727231979370117,
0.005658624172210694,
0.005560319900512695,
0.005541888236999512,
0.005407743930816651,
0.005439487934112549,
0.005544960021972656,
0.005587967872619629,
0.005391359806060791,
0.005311488151550293,
0.00532480001449585,
0.00532371187210083,
0.005404672145843506,
0.005411839962005615,
0.005411839962005615,
0.005429247856140137,
0.005550079822540284,
0.0055203838348388675,
0.00555622386932373,
0.005604351997375488,
0.00571289587020874,
0.0055920639038085935,
0.005500927925109863,
0.005458943843841553,
0.00537395191192627,
0.0053350400924682614,
0.005384191989898681,
0.005368832111358642,
0.005325823783874512,
0.005359615802764893,
0.005338111877441406,
0.005318655967712403,
0.005368896007537842,
0.005326848030090332,
0.005310463905334473,
0.005709824085235596,
0.0053340158462524415,
0.005347328186035156,
0.005337088108062744,
0.00530944013595581,
0.0053944320678710935,
0.005352447986602784,
0.005299200057983398,
0.00531763219833374,
0.0053257598876953124,
0.0053144960403442385,
0.005350399971008301,
0.0053309440612792965,
0.005298175811767578,
0.005319680213928223,
0.0053012480735778805,
0.0052971520423889164,
0.00531763219833374,
0.0053002238273620605,
0.0052705278396606445,
0.005336063861846924,
0.005318655967712403,
0.005307392120361328,
0.00531660795211792,
0.005342207908630371,
0.005276671886444092,
0.0053340158462524415,
0.005296127796173096,
0.0052971520423889164,
0.00531660795211792,
0.005303296089172363,
0.005303296089172363,
0.005327871799468994,
0.00530841588973999,
0.00532480001449585,
0.00534009599685669,
0.005313536167144775,
0.005295104026794434,
0.0053309440612792965,
0.005305344104766845,
0.00531660795211792,
0.005313536167144775,
0.00530841588973999,
0.005393407821655274,
0.005361663818359375,
0.005342207908630371,
0.00530841588973999,
0.005356544017791748,
0.005337088108062744,
0.005332992076873779,
0.005426176071166992,
0.0053012480735778805,
0.005326848030090332
]
},
"throughput": {
"unit": "samples/s",
"value": 178.1299927683747
},
"energy": {
"unit": "kWh",
"cpu": 6.15205875263862e-08,
"ram": 3.363506324311635e-08,
"gpu": 1.2813481753367933e-07,
"total": 2.2329046830318185e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4478471.506639543
}
}
}
}