IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b038668 verified
raw
history blame
13 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": "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.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.336384,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 194,
"total": 0.9951592302322385,
"mean": 0.005129686753774426,
"stdev": 0.0002641217112734914,
"p50": 0.00517630410194397,
"p90": 0.005337132835388184,
"p95": 0.005670246338844299,
"p99": 0.006076897077560425,
"values": [
0.005936192035675049,
0.005727231979370117,
0.005534815788269043,
0.005430272102355957,
0.005494783878326416,
0.005422080039978027,
0.005637087821960449,
0.005752831935882568,
0.0056555519104003905,
0.005697535991668701,
0.005970943927764893,
0.005105663776397705,
0.0049489917755126955,
0.004904960155487061,
0.0049162240028381345,
0.004910079956054687,
0.004930560111999512,
0.0049162240028381345,
0.004894752025604248,
0.0049090561866760255,
0.004899839878082276,
0.004868095874786377,
0.004853759765625,
0.004867072105407715,
0.00486297607421875,
0.004891647815704346,
0.004892672061920166,
0.004877312183380127,
0.004851744174957275,
0.004883456230163574,
0.004858880043029785,
0.0048527359962463375,
0.004857855796813965,
0.004883456230163574,
0.004863999843597412,
0.004853759765625,
0.004860960006713867,
0.0048568320274353025,
0.00487116813659668,
0.004894720077514648,
0.004839424133300781,
0.004844607830047608,
0.004853759765625,
0.004853759765625,
0.0048558077812194825,
0.004855743885040283,
0.004933631896972656,
0.0048855037689208985,
0.004839424133300781,
0.004844543933868409,
0.004859903812408447,
0.004828159809112549,
0.004891647815704346,
0.004888576030731201,
0.0050094079971313476,
0.0048752641677856446,
0.004907008171081543,
0.004901887893676758,
0.004860864162445068,
0.004863999843597412,
0.004901887893676758,
0.004859903812408447,
0.0048568320274353025,
0.0048558077812194825,
0.004877312183380127,
0.004873216152191162,
0.004863999843597412,
0.004865024089813232,
0.004857855796813965,
0.004900864124298096,
0.00486195182800293,
0.004863999843597412,
0.004857823848724365,
0.00485478401184082,
0.004877312183380127,
0.0048793601989746095,
0.0048587841987609865,
0.004858880043029785,
0.004900864124298096,
0.004863999843597412,
0.004858880043029785,
0.004873216152191162,
0.004865024089813232,
0.005025792121887207,
0.0052705278396606445,
0.005149695873260498,
0.005190656185150146,
0.005154816150665284,
0.0051456642150878905,
0.00515993595123291,
0.0051773438453674315,
0.005157887935638428,
0.005173247814178467,
0.005208064079284668,
0.005129216194152832,
0.0051333122253417966,
0.005122047901153564,
0.005067776203155518,
0.00506774377822876,
0.005067776203155518,
0.005090303897857666,
0.005286943912506103,
0.005430272102355957,
0.005190656185150146,
0.005134335994720459,
0.005139455795288086,
0.005156864166259765,
0.005131264209747314,
0.0051138558387756345,
0.005130208015441894,
0.005337088108062744,
0.00515993595123291,
0.005253119945526123,
0.006006752014160156,
0.00601804780960083,
0.006096896171569824,
0.00607539176940918,
0.006176767826080322,
0.005445631980895996,
0.005064703941345215,
0.0050022401809692385,
0.005138432025909424,
0.005337152004241943,
0.00530944013595581,
0.005288959980010987,
0.005343232154846191,
0.005276671886444092,
0.005235680103302002,
0.00526643180847168,
0.005244927883148193,
0.005203968048095703,
0.005208064079284668,
0.005260287761688232,
0.005241856098175048,
0.0052070398330688475,
0.005249023914337158,
0.005193727970123291,
0.005190656185150146,
0.005248000144958496,
0.005180416107177735,
0.005183487892150879,
0.005242879867553711,
0.005178368091583252,
0.005191679954528809,
0.005185535907745361,
0.005214208126068115,
0.005186560153961181,
0.005203968048095703,
0.005215231895446777,
0.005180416107177735,
0.005186560153961181,
0.005232639789581299,
0.005195775985717774,
0.005217311859130859,
0.005244863986968994,
0.0052008957862854,
0.005188608169555664,
0.005184512138366699,
0.005269504070281982,
0.005203968048095703,
0.005191679954528809,
0.005234687805175781,
0.005191679954528809,
0.005204991817474365,
0.005240896224975586,
0.005193727970123291,
0.005202943801879883,
0.005266528129577636,
0.005213215827941895,
0.005206016063690186,
0.005224448204040527,
0.005189631938934326,
0.0052008957862854,
0.005222400188446045,
0.005227519989013672,
0.005198847770690918,
0.005198847770690918,
0.005241856098175048,
0.00517632007598877,
0.005195775985717774,
0.005212160110473632,
0.005187583923339844,
0.005206016063690186,
0.0052008957862854,
0.005184512138366699,
0.005178368091583252,
0.005185535907745361,
0.005206016063690186,
0.005194752216339111,
0.0051998720169067385,
0.005230591773986816,
0.005206016063690186,
0.00517628812789917,
0.005215231895446777
]
},
"throughput": {
"unit": "samples/s",
"value": 194.94367746026586
},
"energy": {
"unit": "kWh",
"cpu": 6.281652558616727e-08,
"ram": 3.419363335819931e-08,
"gpu": 1.45175554736842e-07,
"total": 2.4218571368120855e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4129062.713072786
}
}
}
}