IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
59b5465
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": "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.2.1", | |
"optimum_benchmark_commit": "8320ce6f24eaa5099bd3b49d8d44c0c1368af14b", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1825.021952, | |
"max_global_vram": 541.261824, | |
"max_process_vram": 87888.826368, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9986438879966736, | |
"mean": 0.006793495836712064, | |
"stdev": 0.0002577191363664931, | |
"p50": 0.006733605861663819, | |
"p90": 0.006912805938720704, | |
"p95": 0.007207045841217041, | |
"p99": 0.00808718147277832, | |
"values": [ | |
0.008061607360839844, | |
0.008108966827392578, | |
0.00817536735534668, | |
0.007882407188415527, | |
0.00683904504776001, | |
0.006891526222229004, | |
0.00679408597946167, | |
0.006875845909118652, | |
0.006808166027069092, | |
0.00676624584197998, | |
0.006763044834136963, | |
0.006709125995635987, | |
0.0067220859527587894, | |
0.00671488618850708, | |
0.0067521648406982425, | |
0.006787045955657959, | |
0.006780486106872558, | |
0.006777925968170166, | |
0.006738406181335449, | |
0.006680964946746826, | |
0.006718085765838623, | |
0.0067404861450195315, | |
0.006740806102752686, | |
0.006761604785919189, | |
0.00673728609085083, | |
0.006725605964660645, | |
0.0067012858390808104, | |
0.006696165084838867, | |
0.0066865658760070805, | |
0.006690085887908936, | |
0.0067190461158752445, | |
0.006693445205688477, | |
0.0068670458793640135, | |
0.006727206230163574, | |
0.006678085803985595, | |
0.006670724868774414, | |
0.006690085887908936, | |
0.0068308858871459965, | |
0.00679024600982666, | |
0.006717606067657471, | |
0.006781604766845703, | |
0.006747684955596924, | |
0.006734725952148438, | |
0.006765766143798828, | |
0.006751046180725097, | |
0.006732325077056885, | |
0.006839526176452637, | |
0.0067478461265563965, | |
0.006834246158599853, | |
0.006780486106872558, | |
0.006812485218048095, | |
0.0068201651573181156, | |
0.006784326076507569, | |
0.006775045871734619, | |
0.00684864616394043, | |
0.006896006107330322, | |
0.006875525951385498, | |
0.006864484786987305, | |
0.006891365051269531, | |
0.0071179261207580564, | |
0.007210405826568603, | |
0.007473606109619141, | |
0.007354886054992676, | |
0.007215207099914551, | |
0.007199205875396728, | |
0.007132805824279785, | |
0.007114565849304199, | |
0.007042885780334473, | |
0.006926246166229248, | |
0.006848326206207275, | |
0.006791205883026123, | |
0.006798725128173828, | |
0.006814886093139649, | |
0.006730566024780274, | |
0.00686944580078125, | |
0.006888966083526612, | |
0.006791525840759277, | |
0.006741445064544677, | |
0.00674336576461792, | |
0.006788646221160889, | |
0.006800806045532227, | |
0.006765285968780518, | |
0.006786244869232178, | |
0.006838726043701172, | |
0.00690384578704834, | |
0.00680448579788208, | |
0.006807365894317627, | |
0.0068902459144592285, | |
0.00694912576675415, | |
0.006856965065002441, | |
0.006737285137176514, | |
0.006742085933685303, | |
0.006727846145629883, | |
0.006724646091461181, | |
0.006706244945526123, | |
0.006733605861663819, | |
0.006715685844421387, | |
0.006684645175933838, | |
0.006693124771118164, | |
0.006706885814666748, | |
0.0067001662254333495, | |
0.006688805103302002, | |
0.006701926231384278, | |
0.00672096586227417, | |
0.006662566184997559, | |
0.006732165813446045, | |
0.006722404956817627, | |
0.006698885917663574, | |
0.006732645988464355, | |
0.0066507248878479005, | |
0.006656644821166992, | |
0.006720325946807861, | |
0.006710246086120606, | |
0.0066544051170349125, | |
0.0066627259254455565, | |
0.006654885768890381, | |
0.006624965190887451, | |
0.006632326126098632, | |
0.00663312578201294, | |
0.006596485137939453, | |
0.006723686218261719, | |
0.0066059260368347165, | |
0.006621126174926758, | |
0.006606725215911866, | |
0.006586085796356201, | |
0.006602725028991699, | |
0.0066126461029052735, | |
0.006646885871887207, | |
0.006604644775390625, | |
0.0066052861213684085, | |
0.006594086170196533, | |
0.006573925018310547, | |
0.0065912060737609865, | |
0.0066200060844421385, | |
0.006637605190277099, | |
0.006600646018981934, | |
0.006611045837402344, | |
0.006619044780731201, | |
0.006611044883728027, | |
0.006615365982055664, | |
0.0065744051933288574, | |
0.006579845905303955, | |
0.0065864062309265135, | |
0.006572965145111084, | |
0.006614885807037354, | |
0.006614405155181885, | |
0.00658880615234375 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.19961917044213 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |