IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
80c07ef
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "c8d76f6e24e813974534bb204a76658d503b7b1f", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 982.347776, | |
"max_global_vram": 388.161536, | |
"max_process_vram": 42782.35136, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.9979384765625, | |
"mean": 6.9979384765625, | |
"stdev": 0.0, | |
"p50": 6.9979384765625, | |
"p90": 6.9979384765625, | |
"p95": 6.9979384765625, | |
"p99": 6.9979384765625, | |
"values": [ | |
6.9979384765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1828.995072, | |
"max_global_vram": 520.466432, | |
"max_process_vram": 258184.794112, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9948771901130671, | |
"mean": 0.006957183147643828, | |
"stdev": 0.0003351580235179025, | |
"p50": 0.006872132778167724, | |
"p90": 0.007141316986083984, | |
"p95": 0.007331219911575318, | |
"p99": 0.007433875932693482, | |
"values": [ | |
0.007253413200378418, | |
0.007347493171691894, | |
0.007317253112792969, | |
0.0074055719375610354, | |
0.007454371929168701, | |
0.007359171867370605, | |
0.007332771778106689, | |
0.00734253215789795, | |
0.007220293045043945, | |
0.00716653299331665, | |
0.007153092861175537, | |
0.007120613098144531, | |
0.007079012870788574, | |
0.007046052932739258, | |
0.007058692932128906, | |
0.0070775728225708, | |
0.00710157299041748, | |
0.007143013000488281, | |
0.00708413314819336, | |
0.01058076000213623, | |
0.006894214153289795, | |
0.006861093997955322, | |
0.0068468542098999025, | |
0.006920612812042236, | |
0.006872454166412354, | |
0.006850533962249756, | |
0.006855494022369385, | |
0.006828773975372315, | |
0.006851974010467529, | |
0.006854373931884766, | |
0.006869254112243653, | |
0.006850694179534912, | |
0.0068822140693664555, | |
0.00686317491531372, | |
0.006866054058074951, | |
0.006855653762817383, | |
0.006849574089050293, | |
0.006851014137268067, | |
0.006844614028930664, | |
0.00688525390625, | |
0.006872293949127198, | |
0.006854534149169922, | |
0.00686013412475586, | |
0.006881574153900147, | |
0.006844133853912354, | |
0.006871173858642578, | |
0.006828773975372315, | |
0.006851334095001221, | |
0.006965892791748047, | |
0.006893094062805176, | |
0.006876133918762207, | |
0.006878853797912598, | |
0.006862693786621093, | |
0.006912932872772217, | |
0.006883813858032227, | |
0.006851173877716064, | |
0.006868934154510498, | |
0.0068404541015625, | |
0.006865734100341797, | |
0.006882053852081299, | |
0.00686941385269165, | |
0.0068895740509033205, | |
0.006864294052124024, | |
0.006879973888397217, | |
0.00681805419921875, | |
0.006863014221191406, | |
0.00685853385925293, | |
0.006871654033660889, | |
0.006864614009857177, | |
0.006865734100341797, | |
0.006863014221191406, | |
0.006861894130706787, | |
0.006864133834838867, | |
0.006851014137268067, | |
0.00687325382232666, | |
0.006878374099731445, | |
0.0067905340194702145, | |
0.006821413993835449, | |
0.0068871741294860836, | |
0.00682189416885376, | |
0.006860613822937012, | |
0.006868934154510498, | |
0.006868934154510498, | |
0.006855174064636231, | |
0.006872132778167724, | |
0.006869733810424805, | |
0.006902534008026123, | |
0.0068468542098999025, | |
0.006863014221191406, | |
0.0068614139556884765, | |
0.006879653930664063, | |
0.006833893775939941, | |
0.006803493976593017, | |
0.00680605411529541, | |
0.00689725399017334, | |
0.006836294174194336, | |
0.006899813175201416, | |
0.006816134929656982, | |
0.007149413108825684, | |
0.007118692874908447, | |
0.007120452880859375, | |
0.00738621187210083, | |
0.007092453002929687, | |
0.007134532928466797, | |
0.007086214065551758, | |
0.006977733135223389, | |
0.006941254138946533, | |
0.0069441328048706055, | |
0.007019333839416504, | |
0.006965734004974365, | |
0.006954373836517334, | |
0.0070106940269470215, | |
0.007025572776794433, | |
0.0069518141746521, | |
0.0068559741973876955, | |
0.0068399739265441895, | |
0.006875813961029053, | |
0.006883974075317383, | |
0.006866534233093261, | |
0.0068566141128540035, | |
0.006876453876495361, | |
0.006858694076538086, | |
0.006905573844909668, | |
0.006864453792572021, | |
0.006880454063415527, | |
0.006872933864593506, | |
0.006867013931274414, | |
0.006871334075927734, | |
0.006842534065246582, | |
0.00680829381942749, | |
0.006858853816986084, | |
0.006817893981933594, | |
0.006883493900299072, | |
0.006821413993835449, | |
0.006863493919372559, | |
0.0068695731163024906, | |
0.006876934051513672, | |
0.006884294033050537, | |
0.006872134208679199, | |
0.006865253925323486, | |
0.00687373399734497, | |
0.006851813793182373, | |
0.006890054225921631 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.73633391247827 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |