IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5331800 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 854.171648,
"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.67897314453125,
"mean": 7.67897314453125,
"stdev": 0.0,
"p50": 7.67897314453125,
"p90": 7.67897314453125,
"p95": 7.67897314453125,
"p99": 7.67897314453125,
"values": [
7.67897314453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.411601574999935e-06,
"ram": 2.390782810158575e-06,
"gpu": 6.4663940619999385e-06,
"total": 1.326877844715845e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.743168,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.999097406387329,
"mean": 0.007400721528795031,
"stdev": 0.0002838832395345611,
"p50": 0.00725708818435669,
"p90": 0.007823769569396974,
"p95": 0.007904870271682738,
"p99": 0.008295587596893311,
"values": [
0.008054783821105957,
0.0078438401222229,
0.007836671829223632,
0.007786496162414551,
0.007877632141113282,
0.007773248195648194,
0.007872511863708496,
0.007829504013061523,
0.007906303882598878,
0.007904255867004394,
0.007786496162414551,
0.0077281279563903805,
0.007629824161529541,
0.007712768077850342,
0.007815167903900147,
0.007934944152832031,
0.00789299201965332,
0.008138784408569336,
0.008210432052612305,
0.007731200218200684,
0.007708672046661377,
0.007813119888305664,
0.007803872108459473,
0.007772160053253174,
0.00781004810333252,
0.007774208068847656,
0.007705599784851074,
0.007408639907836914,
0.007279615879058838,
0.007275519847869873,
0.007255040168762207,
0.007203839778900147,
0.00719155216217041,
0.007211008071899414,
0.007175168037414551,
0.007186431884765625,
0.0085350399017334,
0.008339455604553223,
0.007288832187652588,
0.007363584041595459,
0.007270400047302246,
0.007257120132446289,
0.0072130560874938965,
0.007184383869171143,
0.0072499198913574215,
0.0072468481063842774,
0.007373824119567871,
0.007241727828979493,
0.007201791763305664,
0.007222271919250488,
0.007262207984924316,
0.007222271919250488,
0.007189504146575928,
0.007243711948394776,
0.0071792640686035155,
0.007157760143280029,
0.007209983825683594,
0.0072837119102478025,
0.007194623947143554,
0.00719046401977539,
0.007168000221252442,
0.007235583782196045,
0.007169023990631103,
0.0071792640686035155,
0.007184383869171143,
0.007186431884765625,
0.007203839778900147,
0.007215104103088379,
0.00724070405960083,
0.007172160148620606,
0.007219200134277344,
0.007197696208953858,
0.007197696208953858,
0.00719046401977539,
0.007205952167510987,
0.007245823860168457,
0.007279615879058838,
0.0071905279159545895,
0.007226431846618652,
0.007196671962738037,
0.007189504146575928,
0.007163871765136718,
0.007210015773773193,
0.007234560012817383,
0.007358463764190673,
0.00733900785446167,
0.007796735763549805,
0.007671807765960693,
0.007378943920135498,
0.007372799873352051,
0.007404543876647949,
0.007287807941436767,
0.0073471999168395995,
0.007394303798675537,
0.007633920192718506,
0.007411712169647216,
0.007445504188537597,
0.0074967360496521,
0.007529471874237061,
0.007478271961212158,
0.0073062400817871095,
0.007262207984924316,
0.007244800090789795,
0.007238656044006348,
0.00725708818435669,
0.007237631797790528,
0.00724889612197876,
0.007309311866760254,
0.007243775844573975,
0.0072325119972229,
0.007243775844573975,
0.007250944137573242,
0.007228415966033935,
0.007189504146575928,
0.0072837119102478025,
0.0072468481063842774,
0.007203839778900147,
0.0071823358535766605,
0.007196671962738037,
0.007265279769897461,
0.007225344181060791,
0.007269375801086426,
0.00719974422454834,
0.007237631797790528,
0.007175168037414551,
0.007219200134277344,
0.007203839778900147,
0.0073697280883789065,
0.007237631797790528,
0.007476223945617676,
0.007269343852996826,
0.007417856216430664,
0.007299071788787842,
0.007231488227844239,
0.007181312084197998
]
},
"throughput": {
"unit": "samples/s",
"value": 135.12196021822453
},
"energy": {
"unit": "kWh",
"cpu": 8.229956506226121e-08,
"ram": 4.493005148389291e-08,
"gpu": 1.7017638135172345e-07,
"total": 2.974059978978776e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3362406.969153921
}
}
}
}