IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9f54734
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1030.53312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46376.718336, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.4255498046875, | |
"mean": 8.4255498046875, | |
"stdev": 0.0, | |
"p50": 8.4255498046875, | |
"p90": 8.4255498046875, | |
"p95": 8.4255498046875, | |
"p99": 8.4255498046875, | |
"values": [ | |
8.4255498046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1128.01792, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 106795.35616, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.996835803508759, | |
"mean": 0.007276173748239113, | |
"stdev": 0.00030843624974535416, | |
"p50": 0.007178575992584229, | |
"p90": 0.007775664901733399, | |
"p95": 0.007916848945617675, | |
"p99": 0.008062047119140625, | |
"values": [ | |
0.008127537727355957, | |
0.008058258056640625, | |
0.007772976875305176, | |
0.007730737209320069, | |
0.007667857170104981, | |
0.0077920169830322265, | |
0.007706256866455078, | |
0.007487377166748047, | |
0.007444176197052002, | |
0.0077924981117248535, | |
0.0075902571678161624, | |
0.007684657096862793, | |
0.007510736942291259, | |
0.00750545597076416, | |
0.007413136959075928, | |
0.007453135967254639, | |
0.007368015766143799, | |
0.007171216011047363, | |
0.007105296134948731, | |
0.007103375911712647, | |
0.007099215030670166, | |
0.007089294910430908, | |
0.007049456119537354, | |
0.007090576171875, | |
0.007196176052093506, | |
0.007196976184844971, | |
0.0071945757865905765, | |
0.0071561760902404785, | |
0.007157135963439942, | |
0.007348495960235596, | |
0.007178575992584229, | |
0.007298895835876465, | |
0.007438736915588379, | |
0.007499056816101074, | |
0.007439536094665527, | |
0.007495536804199219, | |
0.007328815937042236, | |
0.007578096866607666, | |
0.007952178001403808, | |
0.008064178466796875, | |
0.00792257785797119, | |
0.007584015846252442, | |
0.007281775951385498, | |
0.007346896171569825, | |
0.0074171371459960935, | |
0.007372176170349121, | |
0.007890577793121339, | |
0.007915536880493164, | |
0.007769617080688476, | |
0.007368175983428955, | |
0.007423215866088867, | |
0.007629615783691406, | |
0.007464975833892822, | |
0.0069835357666015625, | |
0.0070224151611328126, | |
0.006986256122589111, | |
0.007005615234375, | |
0.00698977518081665, | |
0.007165775775909424, | |
0.006960815906524658, | |
0.006994094848632813, | |
0.007033616065979004, | |
0.006997934818267822, | |
0.0070116958618164065, | |
0.006967696189880371, | |
0.0070065751075744625, | |
0.006973616123199463, | |
0.006997934818267822, | |
0.007000656127929688, | |
0.006993615150451661, | |
0.007175055027008057, | |
0.0071801748275756834, | |
0.006993935108184814, | |
0.007002255916595459, | |
0.006998254776000977, | |
0.007205296039581299, | |
0.006975215911865234, | |
0.0069760150909423824, | |
0.007036176204681397, | |
0.006958896160125732, | |
0.006984815120697021, | |
0.006961935997009277, | |
0.006990254878997803, | |
0.007002736091613769, | |
0.007000814914703369, | |
0.006988814830780029, | |
0.007018095970153808, | |
0.0070155348777771, | |
0.006989295959472656, | |
0.007028016090393066, | |
0.006990894794464111, | |
0.007009615898132324, | |
0.0069827351570129394, | |
0.0069921760559082035, | |
0.007034736156463623, | |
0.006956015110015869, | |
0.0070020961761474605, | |
0.006990735054016113, | |
0.006995376110076904, | |
0.006981295108795166, | |
0.007172495841979981, | |
0.007001455783843994, | |
0.007452816963195801, | |
0.007076974868774414, | |
0.007006256103515625, | |
0.007088655948638916, | |
0.0069947347640991215, | |
0.0070276961326599125, | |
0.006949134826660156, | |
0.007174254894256592, | |
0.007000975131988526, | |
0.007037136077880859, | |
0.00713921594619751, | |
0.007155055999755859, | |
0.0072913761138916015, | |
0.007439055919647217, | |
0.007549137115478516, | |
0.007895058155059814, | |
0.007922097206115723, | |
0.007966897010803223, | |
0.007350576877593994, | |
0.007244815826416015, | |
0.007267536163330078, | |
0.007383855819702148, | |
0.007858737945556641, | |
0.007723536968231201, | |
0.007779696941375733, | |
0.007438096046447754, | |
0.007355696201324463, | |
0.00726577615737915, | |
0.007242095947265625, | |
0.007265456199645996, | |
0.007363056182861328, | |
0.007381136894226074, | |
0.007183216094970703, | |
0.007182575225830078, | |
0.006977614879608155 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.43487093639115 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |