IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b056f51 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.752832,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3589386291503906
],
"count": 1,
"total": 0.3589386291503906,
"mean": 0.3589386291503906,
"p50": 0.3589386291503906,
"p90": 0.3589386291503906,
"p95": 0.3589386291503906,
"p99": 0.3589386291503906,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.774336,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.00753868818283081,
0.007316448211669922,
0.007227392196655274,
0.007088128089904785,
0.007498752117156982,
0.00758784008026123,
0.007589888095855713,
0.007455743789672851,
0.0074997758865356446,
0.007512063980102539,
0.007561215877532959,
0.007515135765075683,
0.007550975799560547,
0.007540736198425293,
0.007752736091613769,
0.007548927783966064,
0.007606272220611572,
0.00760319995880127,
0.007589888095855713,
0.007525375843048096,
0.00748748779296875,
0.007536704063415527,
0.007678976058959961,
0.007435296058654785,
0.007518208026885987,
0.008028160095214844,
0.007541759967803955,
0.007407616138458252,
0.007898111820220948,
0.008187904357910156,
0.0074711041450500485,
0.007506944179534912,
0.007553023815155029,
0.0075294399261474606,
0.007411712169647216,
0.0073810238838195805,
0.007448575973510742,
0.007608320236206055,
0.007455743789672851,
0.0074332160949707035,
0.007455743789672851,
0.007556096076965332,
0.0075673599243164065,
0.007565440177917481,
0.007529471874237061,
0.00753868818283081,
0.007514111995697022,
0.007575551986694336,
0.007490464210510254,
0.007445504188537597,
0.007368703842163086,
0.0075345921516418455,
0.007572480201721191,
0.007374815940856934,
0.007355391979217529,
0.0072550721168518064,
0.007265279769897461,
0.007422912120819092,
0.007390207767486572,
0.0070564160346984865,
0.007069695949554444,
0.007210976123809815,
0.007231488227844239,
0.007363584041595459,
0.00732476806640625,
0.0073012480735778805,
0.007493631839752197,
0.00754585599899292,
0.007169023990631103,
0.007201791763305664,
0.007170048236846924,
0.007142399787902832,
0.007169023990631103,
0.007114751815795899,
0.007171135902404785,
0.0075008001327514645,
0.0071699838638305665,
0.007135263919830322,
0.007061503887176514,
0.007142399787902832,
0.007094272136688232,
0.007073791980743408,
0.0070514240264892575,
0.007035903930664063,
0.007087103843688965,
0.0070891518592834475,
0.007128064155578613,
0.00705836820602417,
0.0070891518592834475,
0.007062528133392334,
0.00703385591506958,
0.007074816226959229,
0.007002111911773682,
0.007064576148986816,
0.007079936027526855,
0.007088128089904785,
0.007021567821502686,
0.007046144008636474,
0.0070247998237609865,
0.007126175880432129,
0.007013376235961914,
0.007053311824798584,
0.007006207942962647,
0.00703385591506958,
0.007007232189178467,
0.007065663814544678,
0.0070563840866088865,
0.007090176105499267,
0.007054336071014404,
0.006994944095611572,
0.007060480117797851,
0.007018496036529541,
0.0070860800743103025,
0.007033952236175537,
0.007061503887176514,
0.007028736114501953,
0.00704307222366333,
0.007057407855987549,
0.007016448020935059,
0.007168928146362305,
0.007207903861999512,
0.007036064147949219,
0.007006175994873047,
0.007096320152282715,
0.00709225606918335,
0.007053120136260986,
0.007072768211364746,
0.007035903930664063,
0.007048192024230957,
0.007171072006225586,
0.00719974422454834,
0.007077888011932373,
0.007029759883880615,
0.0070349760055541995,
0.007062464237213135,
0.0070563840866088865,
0.00712608003616333
],
"count": 137,
"total": 0.9978417305946354,
"mean": 0.007283516281712664,
"p50": 0.00719974422454834,
"p90": 0.007566208076477051,
"p95": 0.00760381441116333,
"p99": 0.00798134271621704,
"stdev": 0.00024341043483934934,
"stdev_": 3.3419357549937847
},
"throughput": {
"unit": "samples/s",
"value": 137.29632245221777
},
"energy": {
"unit": "kWh",
"cpu": 7.970271997575802e-08,
"ram": 4.355461042189945e-08,
"gpu": 1.635515849798693e-07,
"total": 2.8680891537752676e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3486641.9639839274
}
}
}
}