IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e7b8d49 verified
raw
history blame
11.8 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_type": "resnet50",
"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": {},
"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,
"memory": true,
"latency": 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.285632,
"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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.049344,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.40968017578125,
"mean": 7.40968017578125,
"stdev": 0.0,
"p50": 7.40968017578125,
"p90": 7.40968017578125,
"p95": 7.40968017578125,
"p99": 7.40968017578125,
"values": [
7.40968017578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.341348674562242e-06,
"ram": 2.3637954922091353e-06,
"gpu": 4.8827816839999705e-06,
"total": 1.1587925850771347e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.761408,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.9977612175941466,
"mean": 0.0071781382560729984,
"stdev": 0.0004036959898073885,
"p50": 0.007168000221252442,
"p90": 0.007348223876953125,
"p95": 0.0074139647006988526,
"p99": 0.009063690338134768,
"values": [
0.009472000122070312,
0.008858624458312989,
0.007461887836456299,
0.007408639907836914,
0.007379968166351319,
0.007256063938140869,
0.007285759925842285,
0.007252992153167725,
0.00728166389465332,
0.007291935920715332,
0.007146463871002197,
0.007168000221252442,
0.007172095775604248,
0.007223296165466309,
0.00729804801940918,
0.00728166389465332,
0.007290880203247071,
0.007381984233856201,
0.007259136199951172,
0.007266304016113281,
0.0073359360694885255,
0.007328767776489258,
0.007261184215545655,
0.007304192066192627,
0.0073062400817871095,
0.007287871837615967,
0.00728985595703125,
0.007268352031707764,
0.007234560012817383,
0.0071905279159545895,
0.007134208202362061,
0.007136256217956543,
0.007206912040710449,
0.007117824077606201,
0.00724073600769043,
0.007221248149871826,
0.007263232231140137,
0.007344128131866455,
0.007316480159759522,
0.007304192066192627,
0.007327744007110596,
0.00723967981338501,
0.007231488227844239,
0.007360511779785156,
0.008688639640808106,
0.009189375877380371,
0.008852479934692382,
0.007334911823272705,
0.0072202239036560055,
0.00723967981338501,
0.007217152118682861,
0.007322624206542969,
0.00719974422454834,
0.007194623947143554,
0.007225344181060791,
0.007234560012817383,
0.007205887794494629,
0.007195648193359375,
0.007292928218841553,
0.007387135982513428,
0.007371776103973389,
0.007345151901245117,
0.007315455913543701,
0.007285759925842285,
0.007322624206542969,
0.007324672222137451,
0.0072120318412780765,
0.007250944137573242,
0.007207935810089112,
0.007385087966918945,
0.007124991893768311,
0.006996992111206054,
0.007185408115386963,
0.007096320152282715,
0.006834176063537598,
0.00704307222366333,
0.006912000179290771,
0.0068618240356445315,
0.006967264175415039,
0.007155776023864746,
0.007161856174468994,
0.007285759925842285,
0.007601151943206787,
0.007301119804382325,
0.007166975975036621,
0.007093247890472412,
0.0069816322326660156,
0.0069027838706970214,
0.006998015880584717,
0.007063551902770996,
0.006929408073425293,
0.006855711936950683,
0.006892543792724609,
0.006890495777130127,
0.006890495777130127,
0.006892543792724609,
0.006900735855102539,
0.007008255958557129,
0.006920191764831543,
0.006855679988861084,
0.006916096210479736,
0.0068986878395080565,
0.00687820816040039,
0.006946815967559815,
0.006889472007751465,
0.006884352207183838,
0.006862847805023193,
0.006884352207183838,
0.007161856174468994,
0.006920191764831543,
0.006907904148101806,
0.006952960014343262,
0.006905856132507324,
0.006884352207183838,
0.006846464157104492,
0.006910975933074951,
0.006904831886291504,
0.0069253120422363285,
0.006879231929779053,
0.006908927917480469,
0.006903808116912841,
0.006859776020050049,
0.0068853759765625,
0.006899712085723877,
0.006889535903930664,
0.006874112129211426,
0.006936575889587402,
0.0068986878395080565,
0.006896639823913574,
0.006899712085723877,
0.006900735855102539,
0.006929408073425293,
0.0069027838706970214,
0.006849535942077637,
0.006899712085723877,
0.006903808116912841,
0.0068853759765625,
0.006900735855102539,
0.00689356803894043
]
},
"throughput": {
"unit": "samples/s",
"value": 139.31188900603289
},
"energy": {
"unit": "kWh",
"cpu": 7.972914856107799e-08,
"ram": 4.359231254290654e-08,
"gpu": 1.685627746711412e-07,
"total": 2.918842357751258e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3426015.787883874
}
}
}
}