IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
ed634cd verified
raw
history blame
13.2 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": 951.136256,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 198,
"total": 0.9958519682884212,
"mean": 0.005029555395396069,
"stdev": 0.0002530561190212336,
"p50": 0.004920319795608521,
"p90": 0.005239193439483643,
"p95": 0.005478124737739557,
"p99": 0.0058962227439880366,
"values": [
0.006095871925354004,
0.005708672046661377,
0.005879807949066162,
0.005880832195281982,
0.005843967914581299,
0.005832704067230224,
0.005890048027038574,
0.005784575939178467,
0.0057825279235839844,
0.006375423908233643,
0.005122047901153564,
0.004921343803405762,
0.0048752641677856446,
0.004853759765625,
0.004910079956054687,
0.004910079956054687,
0.004898975849151612,
0.005003392219543457,
0.004994016170501709,
0.0048158721923828125,
0.004844543933868409,
0.004869120121002197,
0.004873216152191162,
0.004866112232208252,
0.004902912139892578,
0.00487014389038086,
0.004869120121002197,
0.004887551784515381,
0.004876255989074707,
0.004890624046325683,
0.0048865280151367185,
0.0048230400085449215,
0.004816895961761475,
0.0048578882217407224,
0.004840447902679444,
0.004850687980651855,
0.0048752641677856446,
0.00501043176651001,
0.004871232032775879,
0.00516812801361084,
0.004840447902679444,
0.004825088024139404,
0.004898848056793213,
0.004843520164489746,
0.004820991992950439,
0.004810751914978028,
0.004903935909271241,
0.004866047859191895,
0.004896768093109131,
0.004888607978820801,
0.004902912139892578,
0.004891647815704346,
0.004868063926696777,
0.004878464221954345,
0.004884543895721435,
0.004935679912567138,
0.00486195182800293,
0.004924416065216064,
0.004839424133300781,
0.005064608097076416,
0.004868095874786377,
0.004993023872375488,
0.004841407775878906,
0.004892672061920166,
0.004869120121002197,
0.004925439834594727,
0.004905983924865722,
0.004884479999542236,
0.004899839878082276,
0.004811776161193848,
0.0048384637832641604,
0.0048261117935180665,
0.004841472148895264,
0.00486297607421875,
0.004827136039733886,
0.0048189439773559575,
0.004821887969970703,
0.004881311893463134,
0.004830207824707031,
0.004829184055328369,
0.004830336093902588,
0.004827136039733886,
0.005055488109588623,
0.005022719860076904,
0.004829184055328369,
0.0048158721923828125,
0.004878335952758789,
0.004837376117706299,
0.00486297607421875,
0.004866047859191895,
0.0049552001953125,
0.004939775943756103,
0.004908031940460205,
0.004897664070129395,
0.0048793601989746095,
0.00496230411529541,
0.004917247772216797,
0.0048802242279052735,
0.0048895998001098635,
0.004899839878082276,
0.004934656143188477,
0.004876287937164306,
0.004827104091644287,
0.004888703823089599,
0.004994048118591309,
0.004898816108703613,
0.005049344062805176,
0.00506982421875,
0.0049541440010070804,
0.004926623821258545,
0.004842495918273926,
0.0048496642112731934,
0.004890751838684082,
0.004851712226867676,
0.0048455681800842285,
0.004931583881378174,
0.004952064037322998,
0.004944896221160889,
0.0049192957878112795,
0.0049797120094299315,
0.004952064037322998,
0.004908031940460205,
0.004918367862701416,
0.004890624046325683,
0.0050063362121582035,
0.004958208084106445,
0.005059584140777588,
0.005039103984832764,
0.00492252779006958,
0.0048793601989746095,
0.004884479999542236,
0.004829184055328369,
0.004817920207977295,
0.004875360012054443,
0.004826015949249267,
0.004858880043029785,
0.004857855796813965,
0.004890624046325683,
0.004877312183380127,
0.004895743846893311,
0.0049387521743774416,
0.004859903812408447,
0.004922368049621582,
0.005094399929046631,
0.005232639789581299,
0.0052367358207702636,
0.005228544235229492,
0.005352447986602784,
0.005246975898742676,
0.005319680213928223,
0.005180511951446533,
0.005220479965209961,
0.005186592102050781,
0.005173247814178467,
0.00517632007598877,
0.005328896045684814,
0.00515993595123291,
0.005141503810882568,
0.005165056228637695,
0.005142335891723633,
0.0051476478576660155,
0.005187583923339844,
0.0051363840103149415,
0.005181439876556396,
0.00521727991104126,
0.005201056003570557,
0.005172255992889404,
0.005144576072692871,
0.005128191947937012,
0.00526643180847168,
0.005244927883148193,
0.005437439918518067,
0.005154816150665284,
0.005145599842071533,
0.005119200229644775,
0.005090271949768067,
0.005072735786437989,
0.005127168178558349,
0.005194752216339111,
0.005181407928466797,
0.005221375942230225,
0.005249023914337158,
0.005164031982421875,
0.005174111843109131,
0.0051333122253417966,
0.005191679954528809,
0.0051270718574523925,
0.005153791904449463,
0.005172224044799805,
0.0051660799980163576,
0.005298208236694336,
0.005201920032501221,
0.005285888195037842,
0.0051701760292053225,
0.005198912143707275,
0.005204991817474365,
0.005160831928253174,
0.005144576072692871
]
},
"throughput": {
"unit": "samples/s",
"value": 198.8247312904388
},
"energy": {
"unit": "kWh",
"cpu": 6.154584658166495e-08,
"ram": 3.365077784694664e-08,
"gpu": 1.283204826217615e-07,
"total": 2.2351710705037307e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4473930.488795359
}
}
}
}