IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
34b7cd9
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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": "bc46022225a5818a4648ee2abeffdd38c4a9b291", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1831.849984, | |
"max_global_vram": 541.462528, | |
"max_process_vram": 106664.505344, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9984232053756714, | |
"mean": 0.007800181291997432, | |
"stdev": 0.0004042863227598816, | |
"p50": 0.007528092622756958, | |
"p90": 0.008325022220611572, | |
"p95": 0.00842204508781433, | |
"p99": 0.008700692577362062, | |
"values": [ | |
0.007804012775421142, | |
0.007500492095947266, | |
0.007692331790924072, | |
0.0075054531097412105, | |
0.007526251792907715, | |
0.007509131908416748, | |
0.00750465202331543, | |
0.007690893173217773, | |
0.0074644918441772465, | |
0.007441771984100342, | |
0.007460172176361084, | |
0.0074932918548583985, | |
0.00750465202331543, | |
0.007532331943511963, | |
0.00751985216140747, | |
0.007505291938781738, | |
0.007532011985778808, | |
0.007529773235321045, | |
0.007482731819152832, | |
0.007508172035217285, | |
0.007513291835784912, | |
0.0075092921257019045, | |
0.007497292041778564, | |
0.00748449182510376, | |
0.007520812034606934, | |
0.007533291816711426, | |
0.007713132858276367, | |
0.007477292060852051, | |
0.007526412010192871, | |
0.007486732006072998, | |
0.007483372211456299, | |
0.00745441198348999, | |
0.007482091903686524, | |
0.007471052169799805, | |
0.007497772216796875, | |
0.007494732856750488, | |
0.007479531764984131, | |
0.007538732051849365, | |
0.007603052139282226, | |
0.007517773151397705, | |
0.007627212047576905, | |
0.0075116920471191406, | |
0.007524171829223633, | |
0.007488972187042237, | |
0.007505291938781738, | |
0.0075080118179321285, | |
0.007743052959442139, | |
0.007488011837005615, | |
0.0074932918548583985, | |
0.007521131992340088, | |
0.00752321195602417, | |
0.0074787321090698244, | |
0.007507212162017822, | |
0.007504171848297119, | |
0.007741292953491211, | |
0.007513932228088379, | |
0.00749153184890747, | |
0.007493453025817871, | |
0.007482572078704834, | |
0.007707052230834961, | |
0.007539691925048828, | |
0.0074928121566772464, | |
0.0074884920120239255, | |
0.007480492115020752, | |
0.007368651866912842, | |
0.007507691860198975, | |
0.007548011779785156, | |
0.007492971897125244, | |
0.007530251979827881, | |
0.00749153184890747, | |
0.007500492095947266, | |
0.007491851806640625, | |
0.007493611812591553, | |
0.0074560117721557614, | |
0.007471052169799805, | |
0.007476972103118896, | |
0.007400492191314697, | |
0.007394571781158447, | |
0.007399372100830078, | |
0.0077731328010559085, | |
0.007365771770477295, | |
0.007354891777038574, | |
0.007653451919555664, | |
0.008249613761901855, | |
0.008249452590942383, | |
0.00843217372894287, | |
0.008226252555847169, | |
0.008219533920288086, | |
0.008206572532653809, | |
0.00819121265411377, | |
0.008215213775634765, | |
0.008212653160095215, | |
0.008225772857666016, | |
0.008214094161987305, | |
0.00848017406463623, | |
0.008268173217773438, | |
0.008275532722473144, | |
0.00833681297302246, | |
0.00842017364501953, | |
0.00830849266052246, | |
0.008324494361877441, | |
0.008475214004516602, | |
0.00837617301940918, | |
0.0082908935546875, | |
0.008235053062438965, | |
0.00828945255279541, | |
0.008304492950439453, | |
0.008261774063110352, | |
0.008296652793884278, | |
0.008235374450683593, | |
0.008278893470764161, | |
0.009325775146484375, | |
0.008782254219055177, | |
0.008423052787780761, | |
0.008331692695617676, | |
0.00843441390991211, | |
0.008267373085021972, | |
0.0081577730178833, | |
0.008294572830200195, | |
0.008133132934570313, | |
0.00832625389099121, | |
0.008272972106933594, | |
0.008179533004760741, | |
0.00826865291595459, | |
0.00821953296661377, | |
0.008260173797607422, | |
0.008408013343811036, | |
0.008219054222106933 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.20214845851677 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |