IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b5416ba
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": "25912a6d02929e242ccb030ce6895e556366bb93", | |
"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.941696, | |
"max_global_vram": 2674.76992, | |
"max_process_vram": 49396.24448, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.625169921875, | |
"mean": 7.625169921875, | |
"stdev": 0.0, | |
"p50": 7.625169921875, | |
"p90": 7.625169921875, | |
"p95": 7.625169921875, | |
"p99": 7.625169921875, | |
"values": [ | |
7.625169921875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1841.389568, | |
"max_global_vram": 2807.136256, | |
"max_process_vram": 280038.54336, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9980044970512385, | |
"mean": 0.00785830312638771, | |
"stdev": 0.00045118876723858103, | |
"p50": 0.007933415889739991, | |
"p90": 0.008289766693115234, | |
"p95": 0.008516758728027343, | |
"p99": 0.008921064109802245, | |
"values": [ | |
0.008476295471191407, | |
0.008476775169372558, | |
0.008566534042358399, | |
0.008533894538879394, | |
0.008445895195007325, | |
0.008370054244995118, | |
0.008316454887390136, | |
0.008271974563598633, | |
0.00768509578704834, | |
0.007523497104644775, | |
0.007573737144470215, | |
0.00769901704788208, | |
0.007516296863555908, | |
0.007288457870483399, | |
0.007509417057037353, | |
0.007471497058868408, | |
0.007296137809753418, | |
0.007933415889739991, | |
0.01013788890838623, | |
0.007327497959136963, | |
0.00746589708328247, | |
0.007312777996063232, | |
0.007368137836456299, | |
0.007653575897216797, | |
0.00761821699142456, | |
0.007640296936035156, | |
0.007603336811065673, | |
0.007567977905273438, | |
0.007865097045898438, | |
0.00799613618850708, | |
0.008013256072998047, | |
0.007994534969329834, | |
0.007997576236724854, | |
0.007998216152191161, | |
0.008009414672851562, | |
0.008005255699157715, | |
0.008033414840698243, | |
0.00801629638671875, | |
0.007964136123657227, | |
0.007998374938964844, | |
0.007978536128997803, | |
0.007993095874786377, | |
0.008002375602722168, | |
0.008008614540100097, | |
0.007989255905151368, | |
0.007992936134338378, | |
0.00802269458770752, | |
0.008105256080627442, | |
0.00791213607788086, | |
0.007810856819152832, | |
0.008025735855102538, | |
0.008072135925292968, | |
0.008065896034240723, | |
0.00807181453704834, | |
0.00810429573059082, | |
0.00819053554534912, | |
0.008575332641601563, | |
0.008342055320739747, | |
0.008085095405578613, | |
0.008057576179504394, | |
0.008001894950866699, | |
0.008059816360473633, | |
0.008044135093688965, | |
0.008080615997314453, | |
0.008055496215820312, | |
0.008107975006103515, | |
0.008059335708618163, | |
0.00804861545562744, | |
0.00808029556274414, | |
0.008097736358642579, | |
0.008094215393066406, | |
0.008065095901489258, | |
0.0076570968627929685, | |
0.007638697147369385, | |
0.007606057167053223, | |
0.008637733459472656, | |
0.008581414222717285, | |
0.008037575721740723, | |
0.008068775177001953, | |
0.008183014869689942, | |
0.008124135017395019, | |
0.008113575935363769, | |
0.008008455276489258, | |
0.009020612716674805, | |
0.008231655120849609, | |
0.007930856227874756, | |
0.007929736137390137, | |
0.007902376174926758, | |
0.007900936126708984, | |
0.007889575958251953, | |
0.008013575553894044, | |
0.007902535915374756, | |
0.007902696132659912, | |
0.007900617122650146, | |
0.007897895812988281, | |
0.007905416011810303, | |
0.007881095886230469, | |
0.008051815986633301, | |
0.0079306960105896, | |
0.007903495788574218, | |
0.007908616065979004, | |
0.007916935920715332, | |
0.007929416179656982, | |
0.00804141616821289, | |
0.007903495788574218, | |
0.00761389684677124, | |
0.007372616767883301, | |
0.007446378231048584, | |
0.0074814181327819826, | |
0.0075452570915222165, | |
0.007520456790924072, | |
0.007389097213745117, | |
0.007462216854095459, | |
0.007316617965698242, | |
0.007231497764587402, | |
0.00700317907333374, | |
0.007056777954101563, | |
0.007044939041137696, | |
0.007041897773742676, | |
0.007040459156036377, | |
0.007041418075561524, | |
0.0070463790893554685, | |
0.007045578002929687, | |
0.00703341817855835, | |
0.007025898933410645, | |
0.007025259017944336, | |
0.007024619102478027 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.25393560373868 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |