IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f88047c
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": "4", | |
"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": 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": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1470.2592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.078953125, | |
"mean": 8.078953125, | |
"stdev": 0.0, | |
"p50": 8.078953125, | |
"p90": 8.078953125, | |
"p95": 8.078953125, | |
"p99": 8.078953125, | |
"values": [ | |
8.078953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1555.574784, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9963833065032959, | |
"mean": 0.007784244582056999, | |
"stdev": 0.0003685639911602619, | |
"p50": 0.007665731191635132, | |
"p90": 0.008096770191192627, | |
"p95": 0.008421000957489013, | |
"p99": 0.008592459239959717, | |
"values": [ | |
0.008286528587341309, | |
0.008060769081115722, | |
0.007843970775604248, | |
0.008004770278930665, | |
0.007963010787963867, | |
0.007755170822143555, | |
0.007594212055206299, | |
0.007560451030731202, | |
0.007507011890411377, | |
0.007488451957702637, | |
0.007485412120819092, | |
0.0074666919708251955, | |
0.007492611885070801, | |
0.0074337320327758786, | |
0.007458531856536865, | |
0.010555959701538086, | |
0.007740770816802979, | |
0.00754445219039917, | |
0.007520932197570801, | |
0.007705251216888428, | |
0.007503171920776367, | |
0.0074759721755981445, | |
0.007661730766296387, | |
0.007490211963653564, | |
0.007521252155303955, | |
0.00766093111038208, | |
0.007865090847015381, | |
0.007863329887390138, | |
0.007996769905090332, | |
0.007920609951019288, | |
0.007945250034332276, | |
0.007990690231323242, | |
0.007894690036773682, | |
0.007914050102233887, | |
0.007701731204986572, | |
0.007683170795440674, | |
0.007717891216278076, | |
0.008035490036010742, | |
0.00790684986114502, | |
0.007948450088500977, | |
0.007699010848999023, | |
0.00750189208984375, | |
0.007500611782073975, | |
0.007704451084136963, | |
0.007712451934814453, | |
0.007812931060791015, | |
0.007956769943237305, | |
0.007903170108795167, | |
0.007922369956970215, | |
0.00787437105178833, | |
0.00806300926208496, | |
0.007961249828338623, | |
0.008058850288391112, | |
0.007933730125427247, | |
0.007923490047454834, | |
0.007957409858703614, | |
0.008100130081176759, | |
0.007956610202789307, | |
0.00795021104812622, | |
0.008170370101928712, | |
0.008109088897705077, | |
0.007938210010528565, | |
0.008095330238342285, | |
0.007890851020812988, | |
0.008082368850708007, | |
0.00804444980621338, | |
0.008133249282836914, | |
0.007977890014648438, | |
0.007943329811096191, | |
0.008128450393676758, | |
0.00802428913116455, | |
0.00792301082611084, | |
0.007832130908966065, | |
0.007677250862121582, | |
0.0076620512008667, | |
0.007669411182403565, | |
0.007518372058868408, | |
0.00750573205947876, | |
0.007508292198181153, | |
0.007517092227935791, | |
0.0075167717933654786, | |
0.007513251781463623, | |
0.00752973222732544, | |
0.007512132167816162, | |
0.0075290918350219725, | |
0.007535011768341065, | |
0.0075223708152771, | |
0.007518692016601563, | |
0.007517251968383789, | |
0.007534211158752442, | |
0.007514212131500244, | |
0.007495652198791504, | |
0.00752717113494873, | |
0.00753629207611084, | |
0.007513572216033935, | |
0.007510851860046386, | |
0.007527172088623047, | |
0.0075188522338867185, | |
0.007529572010040283, | |
0.007536931991577149, | |
0.0075214109420776365, | |
0.007527011871337891, | |
0.007527812004089356, | |
0.007510531902313233, | |
0.007531332015991211, | |
0.007511171817779541, | |
0.007512931823730469, | |
0.007638370990753174, | |
0.0076514921188354495, | |
0.007626370906829834, | |
0.007597250938415527, | |
0.007619011878967285, | |
0.007611492156982422, | |
0.007657731056213379, | |
0.007632451057434082, | |
0.007630691051483154, | |
0.007619011878967285, | |
0.0076174111366271976, | |
0.007609890937805176, | |
0.007629251956939697, | |
0.007818050861358642, | |
0.008544608116149903, | |
0.008551008224487304, | |
0.00859500789642334, | |
0.008561887741088868, | |
0.00858556842803955, | |
0.008493409156799317, | |
0.008002368927001954 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.4646171453863 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |