IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
516bfa0 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1141.223424,
"max_global_vram": 68702.69952,
"max_process_vram": 5995.196416,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.44613348388671875
],
"count": 1,
"total": 0.44613348388671875,
"mean": 0.44613348388671875,
"p50": 0.44613348388671875,
"p90": 0.44613348388671875,
"p95": 0.44613348388671875,
"p99": 0.44613348388671875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1214.967808,
"max_global_vram": 68702.69952,
"max_process_vram": 88744.67328,
"max_reserved": 148.897792,
"max_allocated": 124.554752
},
"latency": {
"unit": "s",
"values": [
0.008386370658874511,
0.0070916562080383305,
0.007063815116882324,
0.007099975109100342,
0.0070329360961914065,
0.007129254817962646,
0.007031816005706787,
0.007012615203857422,
0.0070966148376464845,
0.007124936103820801,
0.007078374862670898,
0.007017095088958741,
0.007045576095581055,
0.006995175838470459,
0.007040616035461426,
0.007003015995025634,
0.007000616073608398,
0.006983496189117431,
0.006986855030059814,
0.006971975803375244,
0.006980616092681885,
0.007040615081787109,
0.006982855796813965,
0.006968455791473389,
0.006975656032562256,
0.006996456146240234,
0.006997415065765381,
0.006999015808105469,
0.007004136085510254,
0.007002535820007324,
0.006992936134338379,
0.006975335121154785,
0.006970215797424317,
0.007283655166625977,
0.007022534847259522,
0.0070137357711792,
0.007009735107421875,
0.007026855945587158,
0.00700461483001709,
0.007023335933685303,
0.0070038151741027834,
0.0070121359825134275,
0.006999014854431152,
0.007028776168823242,
0.006993895053863526,
0.007015655994415284,
0.00699837589263916,
0.00697981595993042,
0.006979656219482422,
0.006973415851593018,
0.007010695934295655,
0.006989255905151367,
0.0069636549949646,
0.006976776123046875,
0.007000455856323242,
0.0069847750663757325,
0.0070084562301635745,
0.00735853385925293,
0.007019815921783447,
0.0070159749984741214,
0.007014535903930664,
0.006994054794311523,
0.007001416206359863,
0.00704605484008789,
0.007020455837249756,
0.006994056224822998,
0.007002376079559326,
0.007020936012268066,
0.006994854927062988,
0.007006855964660644,
0.006984135150909424,
0.007033895969390869,
0.007025575160980225,
0.00698141622543335,
0.0069778962135314945,
0.006980935096740723,
0.006982696056365967,
0.006970376014709473,
0.0069497361183166505,
0.0069833359718322755,
0.006975495815277099,
0.006981894969940185,
0.006951975822448731,
0.006964776039123535,
0.006948616027832031,
0.006964455127716065,
0.006963175773620605,
0.006979496002197266,
0.006965095043182373,
0.006966856002807617,
0.006951975822448731,
0.00695357608795166,
0.006955335140228272,
0.006959176063537598,
0.006956295967102051,
0.006979656219482422,
0.006950535774230957,
0.006979176044464111,
0.006944935798645019,
0.006985734939575195,
0.006962056159973144,
0.006984615802764892,
0.006942215919494629,
0.006960616111755371,
0.006969416141510009,
0.007024455070495606,
0.007007976055145263,
0.0070183749198913575,
0.00699181604385376,
0.0070465350151062015,
0.007018216133117676,
0.007005575180053711,
0.007023015975952149,
0.006990855216979981,
0.007000616073608398,
0.007000296115875244,
0.00700221586227417,
0.007016615867614746,
0.006987975120544433,
0.00698413610458374,
0.007003496170043946,
0.00701469612121582,
0.006985896110534668,
0.007005414962768555,
0.007002056121826172,
0.007005414962768555,
0.0069881358146667485,
0.006982696056365967,
0.007122535228729248,
0.007003334999084473,
0.007041096210479736,
0.007017735004425049,
0.0070090961456298825,
0.007051334857940674,
0.007048935890197754,
0.007028133869171143,
0.006998216152191162,
0.006989895820617676,
0.0069759759902954105,
0.006974215984344482,
0.006946695804595947,
0.006983495235443115
],
"count": 142,
"total": 0.9961363792419429,
"mean": 0.007015044924239038,
"p50": 0.006998695373535156,
"p90": 0.007046006965637207,
"p95": 0.007096366906166077,
"p99": 0.0073278335952758795,
"stdev": 0.00012644739742112259,
"stdev_": 1.8025172865851469
},
"throughput": {
"unit": "samples/s",
"value": 285.1015241669249
},
"energy": null,
"efficiency": null
}
}
}