IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
852adc9
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "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": 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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "86b6a9427e8d0887933fcf9a8a5c8388c89fa339", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.851584, | |
"max_global_vram": 2695.749632, | |
"max_process_vram": 47056.347136, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.47360546875, | |
"mean": 7.47360546875, | |
"stdev": 0.0, | |
"p50": 7.47360546875, | |
"p90": 7.47360546875, | |
"p95": 7.47360546875, | |
"p99": 7.47360546875, | |
"values": [ | |
7.47360546875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1829.773312, | |
"max_global_vram": 2807.115776, | |
"max_process_vram": 281539.538944, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9988855767250061, | |
"mean": 0.00799108461380005, | |
"stdev": 0.00019361836160226772, | |
"p50": 0.007895184040069581, | |
"p90": 0.008266478538513184, | |
"p95": 0.008386126136779786, | |
"p99": 0.008470861854553223, | |
"values": [ | |
0.008251981735229492, | |
0.008375662803649903, | |
0.008438861846923829, | |
0.008471821784973145, | |
0.008387022018432617, | |
0.008276143074035645, | |
0.008382542610168457, | |
0.008321262359619141, | |
0.0083211030960083, | |
0.00814222240447998, | |
0.008124782562255859, | |
0.008124142646789552, | |
0.00806894302368164, | |
0.008034063339233398, | |
0.008127182960510253, | |
0.008137582778930664, | |
0.00810062313079834, | |
0.008122222900390625, | |
0.008033263206481933, | |
0.007992783069610595, | |
0.008016142845153808, | |
0.00804062271118164, | |
0.00809726333618164, | |
0.008028782844543458, | |
0.008137103080749511, | |
0.0081334228515625, | |
0.008106383323669433, | |
0.00804926300048828, | |
0.008154062271118164, | |
0.008010542869567872, | |
0.008017583847045899, | |
0.008021743774414062, | |
0.008095823287963867, | |
0.008002863883972169, | |
0.008010064125061035, | |
0.008014384269714356, | |
0.008159822463989257, | |
0.008175823211669922, | |
0.00842510223388672, | |
0.008461101531982422, | |
0.00833342170715332, | |
0.00820222282409668, | |
0.009077900886535645, | |
0.008467822074890137, | |
0.00805582332611084, | |
0.007980143070220947, | |
0.007919182777404785, | |
0.007948623180389405, | |
0.007872623920440674, | |
0.00792494297027588, | |
0.007876462936401367, | |
0.0078612642288208, | |
0.007866862773895264, | |
0.00787790298461914, | |
0.007859344005584717, | |
0.008112462997436523, | |
0.007866543769836426, | |
0.007886863231658936, | |
0.007854063987731934, | |
0.007841582775115968, | |
0.007845902919769287, | |
0.00786350393295288, | |
0.007885262966156006, | |
0.007869102954864503, | |
0.007895184040069581, | |
0.007885103225708007, | |
0.007944783210754395, | |
0.007869904041290282, | |
0.007853743076324462, | |
0.00786766290664673, | |
0.007947184085845948, | |
0.00792110300064087, | |
0.007910703182220459, | |
0.007860144138336182, | |
0.007891503810882569, | |
0.007880143165588379, | |
0.00784942388534546, | |
0.007850063800811767, | |
0.007952942848205566, | |
0.007847503185272216, | |
0.00789086389541626, | |
0.007867982864379883, | |
0.007883663177490235, | |
0.007891664028167725, | |
0.007851023197174073, | |
0.007859663963317871, | |
0.00784942388534546, | |
0.007869903087615968, | |
0.007862224102020263, | |
0.007845263004302978, | |
0.0079041428565979, | |
0.007854864120483399, | |
0.00784798288345337, | |
0.007834383964538574, | |
0.007907183170318603, | |
0.007855503082275391, | |
0.00791374397277832, | |
0.007845263957977295, | |
0.007887982845306396, | |
0.007853903770446778, | |
0.00786206293106079, | |
0.007889102935791016, | |
0.007853903770446778, | |
0.007875342845916749, | |
0.007784782886505127, | |
0.007852303981781005, | |
0.007847823143005372, | |
0.007900942802429199, | |
0.00787614393234253, | |
0.0078943829536438, | |
0.007903822898864746, | |
0.007921422958374023, | |
0.007881264209747314, | |
0.007878862857818603, | |
0.007883663177490235, | |
0.007883024215698243, | |
0.007884943008422851, | |
0.00790574312210083, | |
0.007851823806762696, | |
0.00786366319656372, | |
0.007834543228149414, | |
0.007849584102630616, | |
0.007873103141784668, | |
0.007853744029998779, | |
0.007833902835845947 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.13945832497747 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |