IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
39f9a27 verified
raw
history blame
11.8 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.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.482496,
"max_global_vram": 674.758656,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3586549682617188
],
"count": 1,
"total": 0.3586549682617188,
"mean": 0.3586549682617188,
"p50": 0.3586549682617188,
"p90": 0.3586549682617188,
"p95": 0.3586549682617188,
"p99": 0.3586549682617188,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.7088,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007377920150756836,
0.006767712116241455,
0.006783999919891357,
0.006785024166107178,
0.007310336112976074,
0.0070594558715820314,
0.00709222412109375,
0.007080959796905518,
0.007081984043121338,
0.0071823358535766605,
0.007056447982788086,
0.007079040050506592,
0.007229440212249756,
0.007112703800201416,
0.0070256638526916505,
0.007063551902770996,
0.007036928176879883,
0.007057407855987549,
0.007129087924957276,
0.007137248039245606,
0.007123968124389648,
0.007120895862579346,
0.007415808200836181,
0.007088128089904785,
0.007044991970062256,
0.007108607769012451,
0.007085055828094483,
0.006999199867248535,
0.007277567863464355,
0.00759603214263916,
0.007221248149871826,
0.007102464199066162,
0.007057407855987549,
0.007005184173583984,
0.007028736114501953,
0.007055168151855469,
0.007043968200683594,
0.0070266880989074704,
0.007063551902770996,
0.007115744113922119,
0.007120895862579346,
0.007047167778015137,
0.007007232189178467,
0.007066624164581299,
0.007029759883880615,
0.007222271919250488,
0.00722431993484497,
0.007153664112091064,
0.007053311824798584,
0.007003136157989502,
0.007085055828094483,
0.007044095993041993,
0.007078911781311035,
0.007136256217956543,
0.007101439952850342,
0.006949888229370117,
0.00693555212020874,
0.007002111911773682,
0.007012351989746094,
0.007002111911773682,
0.007142399787902832,
0.0070553598403930665,
0.007015423774719238,
0.006979648113250732,
0.007035903930664063,
0.007403456211090088,
0.007024735927581787,
0.006987775802612305,
0.006959104061126709,
0.007067647933959961,
0.0070830078125,
0.00704204797744751,
0.007058432102203369,
0.007121920108795166,
0.007166975975036621,
0.007105535984039306,
0.007090176105499267,
0.007195775985717774,
0.00709222412109375,
0.007300096035003662,
0.0071188478469848635,
0.00719155216217041,
0.0069324798583984375,
0.007012351989746094,
0.007074816226959229,
0.00708403205871582,
0.006928415775299073,
0.0070603199005126955,
0.007088128089904785,
0.007078944206237793,
0.00698252820968628,
0.007142399787902832,
0.007243775844573975,
0.007078911781311035,
0.0070522880554199216,
0.007160831928253173,
0.00703385591506958,
0.006985727787017822,
0.007100480079650879,
0.0069407358169555665,
0.006959104061126709,
0.0069632000923156735,
0.007098368167877197,
0.006942592144012451,
0.007027743816375732,
0.00704204797744751,
0.007031807899475098,
0.00694377613067627,
0.00701964807510376,
0.006988800048828125,
0.007024640083312988,
0.006918144226074219,
0.006988800048828125,
0.0069928960800170895,
0.007002111911773682,
0.0069621758460998535,
0.006847487926483154,
0.00694374418258667,
0.007087103843688965,
0.007202816009521484,
0.0069324798583984375,
0.0069847040176391605,
0.007180287837982178,
0.007000063896179199,
0.0069632000923156735,
0.00695091199874878,
0.007030784130096435,
0.00696227216720581,
0.00693452787399292,
0.007021567821502686,
0.007047167778015137,
0.006969279766082763,
0.006900735855102539,
0.007171072006225586,
0.006994944095611572,
0.006978559970855713,
0.006971360206604004,
0.006979584217071533,
0.007028736114501953,
0.00694374418258667,
0.007113728046417236,
0.006965248107910156
],
"count": 142,
"total": 1.0025370879173279,
"mean": 0.007060120337445971,
"p50": 0.007049727916717529,
"p90": 0.007190630531311035,
"p95": 0.007243059062957764,
"p99": 0.007410743885040283,
"stdev": 0.0001140029877183767,
"stdev_": 1.6147456738622359
},
"throughput": {
"unit": "samples/s",
"value": 141.64064523038348
},
"energy": {
"unit": "kWh",
"cpu": 8.40858467691e-08,
"ram": 4.594785318009145e-08,
"gpu": 1.7379643533333538e-07,
"total": 3.038301352825268e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3291312.7562877066
}
}
}
}