IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
091fecd verified
raw
history blame
12.9 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",
"numactl": false,
"numactl_kwargs": {},
"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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"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": 948.96128,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 191,
"total": 0.9961559333801263,
"mean": 0.005215476090995428,
"stdev": 0.00018250936098935806,
"p50": 0.005182464122772217,
"p90": 0.0054271998405456545,
"p95": 0.005542912006378174,
"p99": 0.005881446552276611,
"values": [
0.005886975765228271,
0.0055552000999450684,
0.005679103851318359,
0.005627967834472656,
0.005673984050750733,
0.005612544059753418,
0.0055797758102417,
0.006056960105895996,
0.005361663818359375,
0.005063680171966553,
0.005066751956939697,
0.005047296047210693,
0.005037055969238281,
0.005053440093994141,
0.005038080215454102,
0.005037055969238281,
0.005022719860076904,
0.005082079887390137,
0.005073919773101807,
0.005092351913452148,
0.0050432000160217285,
0.0051066880226135255,
0.005056511878967285,
0.005040128231048584,
0.005094399929046631,
0.005056511878967285,
0.00506879997253418,
0.005083136081695557,
0.005054463863372802,
0.00509446382522583,
0.005048384189605713,
0.005051360130310058,
0.005053440093994141,
0.005078015804290771,
0.005040128231048584,
0.005064703941345215,
0.005025792121887207,
0.005058559894561767,
0.0050728960037231445,
0.005073919773101807,
0.0050728960037231445,
0.005032959938049316,
0.005037055969238281,
0.005062655925750732,
0.005047296047210693,
0.0050728960037231445,
0.005061632156372071,
0.005213183879852295,
0.005045248031616211,
0.005183487892150879,
0.005328896045684814,
0.005268479824066162,
0.0052633600234985355,
0.005325823783874512,
0.005287936210632324,
0.005313471794128418,
0.005291007995605469,
0.005283840179443359,
0.005268479824066162,
0.00531763219833374,
0.005283840179443359,
0.005276671886444092,
0.0052787518501281735,
0.005273600101470947,
0.005249023914337158,
0.005327871799468994,
0.0053012480735778805,
0.005279744148254394,
0.005338111877441406,
0.005283840179443359,
0.005182464122772217,
0.005084224224090576,
0.00505241584777832,
0.005029888153076172,
0.0050360321998596195,
0.00506982421875,
0.005047296047210693,
0.00516812801361084,
0.005264383792877197,
0.005305344104766845,
0.005256192207336426,
0.005277696132659912,
0.005282815933227539,
0.005264383792877197,
0.005305344104766845,
0.005298175811767578,
0.005254144191741943,
0.005303296089172363,
0.005264383792877197,
0.005260287761688232,
0.005249023914337158,
0.005302271842956543,
0.00526643180847168,
0.0052367358207702636,
0.005530623912811279,
0.005279744148254394,
0.005278719902038574,
0.005288959980010987,
0.005305344104766845,
0.005262335777282715,
0.0052674241065979,
0.005261312007904053,
0.005244927883148193,
0.005286911964416504,
0.0053125758171081545,
0.005245984077453613,
0.005310463905334473,
0.005273600101470947,
0.005276671886444092,
0.005282815933227539,
0.005268479824066162,
0.005284895896911621,
0.005506048202514649,
0.005391327857971191,
0.00536575984954834,
0.005428287982940674,
0.005392384052276611,
0.005443583965301513,
0.005429247856140137,
0.005391359806060791,
0.0053658242225646975,
0.005299200057983398,
0.005880832195281982,
0.005316639900207519,
0.005122079849243164,
0.005099520206451416,
0.00516096019744873,
0.005100543975830078,
0.005091328144073487,
0.005083136081695557,
0.005133247852325439,
0.005098495960235596,
0.0051476478576660155,
0.005080095767974854,
0.005044223785400391,
0.0050503678321838375,
0.0050360321998596195,
0.005066751956939697,
0.005066815853118896,
0.005028863906860351,
0.005030911922454834,
0.005082111835479736,
0.005059584140777588,
0.005051392078399658,
0.005061632156372071,
0.00502784013748169,
0.005045248031616211,
0.005047296047210693,
0.00506060791015625,
0.00506982421875,
0.005044223785400391,
0.005099584102630615,
0.005071872234344482,
0.00505241584777832,
0.005047296047210693,
0.0050514559745788576,
0.0050421757698059086,
0.005059584140777588,
0.005051392078399658,
0.005082079887390137,
0.0050503678321838375,
0.005039103984832764,
0.00505241584777832,
0.005064703941345215,
0.005055488109588623,
0.005054463863372802,
0.005157887935638428,
0.00511897611618042,
0.005047296047210693,
0.005083136081695557,
0.005089280128479004,
0.005058559894561767,
0.0050503678321838375,
0.005565440177917481,
0.0054282240867614745,
0.0054271998405456545,
0.005437439918518067,
0.0054282240867614745,
0.005371903896331787,
0.00541593599319458,
0.005400576114654541,
0.005409791946411133,
0.005399551868438721,
0.005431295871734619,
0.005409791946411133,
0.005406720161437988,
0.005414912223815918,
0.005409791946411133,
0.005406720161437988,
0.005387263774871826,
0.00541593599319458
]
},
"throughput": {
"unit": "samples/s",
"value": 191.73704999367365
},
"energy": {
"unit": "kWh",
"cpu": 5.977842343179692e-08,
"ram": 3.2675120757685634e-08,
"gpu": 1.261307541708546e-07,
"total": 2.1858429836033718e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4574894.022586634
}
}
}
}