IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
49202e1 verified
raw
history blame
12.6 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",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 950.956032,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 183,
"total": 0.9949346594810482,
"mean": 0.0054368014179292275,
"stdev": 0.0002803143423706716,
"p50": 0.005320703983306885,
"p90": 0.00587571210861206,
"p95": 0.005979721450805664,
"p99": 0.0064993892765045184,
"values": [
0.006758399963378906,
0.006359039783477783,
0.006048704147338867,
0.005915616035461426,
0.006065152168273926,
0.0059023361206054685,
0.005876736164093017,
0.0058716158866882326,
0.005883903980255127,
0.0058388481140136715,
0.006170688152313232,
0.005882880210876465,
0.006031360149383545,
0.005976064205169678,
0.005980127811431884,
0.006723584175109864,
0.005793727874755859,
0.00581324815750122,
0.005726208209991455,
0.005806079864501953,
0.005839935779571533,
0.005844031810760498,
0.005954559803009033,
0.005867519855499268,
0.005907455921173096,
0.006450175762176514,
0.005313536167144775,
0.005165056228637695,
0.0051363840103149415,
0.005126143932342529,
0.005332992076873779,
0.005408768177032471,
0.00537395191192627,
0.005345280170440674,
0.005388383865356445,
0.0053944320678710935,
0.005312511920928955,
0.005291007995605469,
0.005349376201629639,
0.0053821439743042,
0.005409791946411133,
0.005432320117950439,
0.00535756778717041,
0.005388288021087646,
0.005372928142547607,
0.005412864208221436,
0.005412864208221436,
0.005408768177032471,
0.005343232154846191,
0.0053309440612792965,
0.005321728229522705,
0.0053002238273620605,
0.005328896045684814,
0.0052899842262268066,
0.005320703983306885,
0.005325823783874512,
0.005286911964416504,
0.005320703983306885,
0.0052971520423889164,
0.005291007995605469,
0.005288959980010987,
0.005286911964416504,
0.0054241280555725096,
0.005282815933227539,
0.0053043198585510255,
0.005268479824066162,
0.005295104026794434,
0.0052930560111999515,
0.005273600101470947,
0.005292031764984131,
0.0054241280555725096,
0.005255167961120606,
0.0052377920150756836,
0.005258240222930908,
0.005239808082580567,
0.005239871978759766,
0.0052540478706359865,
0.005253119945526123,
0.005246975898742676,
0.005274623870849609,
0.005276639938354492,
0.005234687805175781,
0.005235712051391602,
0.00530841588973999,
0.005237760066986084,
0.005319680213928223,
0.0054241280555725096,
0.005345280170440674,
0.005331967830657959,
0.005254144191741943,
0.005235712051391602,
0.005248000144958496,
0.005237760066986084,
0.005232639789581299,
0.005273600101470947,
0.005258207798004151,
0.005270463943481445,
0.005289951801300049,
0.005328896045684814,
0.005292031764984131,
0.005274623870849609,
0.005320672035217285,
0.005294079780578613,
0.0052971520423889164,
0.005291007995605469,
0.005291007995605469,
0.005273600101470947,
0.00532480001449585,
0.005291007995605469,
0.005288959980010987,
0.0053944320678710935,
0.005315584182739258,
0.005298175811767578,
0.005311488151550293,
0.0053002238273620605,
0.005306367874145508,
0.005320703983306885,
0.005287936210632324,
0.005346303939819336,
0.00537395191192627,
0.006388639926910401,
0.0058787841796875,
0.005846015930175781,
0.005444608211517334,
0.005502975940704345,
0.005573631763458252,
0.005535808086395264,
0.005464064121246338,
0.005508096218109131,
0.005480447769165039,
0.005517312049865723,
0.005557248115539551,
0.005511168003082275,
0.005413887977600097,
0.005426176071166992,
0.005448703765869141,
0.005446656227111817,
0.005396480083465576,
0.005392416000366211,
0.005381120204925537,
0.005306367874145508,
0.005299200057983398,
0.005318592071533203,
0.005259263992309571,
0.005262368202209473,
0.005295104026794434,
0.005276671886444092,
0.005315584182739258,
0.005323775768280029,
0.0053012480735778805,
0.005355519771575928,
0.005437439918518067,
0.005422080039978027,
0.005370880126953125,
0.00541593599319458,
0.005351424217224121,
0.0053944320678710935,
0.0053944320678710935,
0.005343232154846191,
0.005275648117065429,
0.00530944013595581,
0.005320672035217285,
0.0052899842262268066,
0.005310463905334473,
0.005265408039093018,
0.005272575855255127,
0.005311488151550293,
0.005283840179443359,
0.005273600101470947,
0.005299200057983398,
0.005280767917633057,
0.0052899842262268066,
0.005314559936523438,
0.005285888195037842,
0.005275648117065429,
0.005286911964416504,
0.005275648117065429,
0.005390367984771729,
0.0052899842262268066,
0.0053647360801696775,
0.005354496002197265,
0.005392384052276611,
0.0052715520858764645
]
},
"throughput": {
"unit": "samples/s",
"value": 183.9316765740693
},
"energy": {
"unit": "kWh",
"cpu": 6.335028494247283e-08,
"ram": 3.4635660449566784e-08,
"gpu": 1.34117754352941e-07,
"total": 2.321036997449806e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4308419.043292848
}
}
}
}