
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1c25e10
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"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": 867.155968, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.30282421875, | |
"mean": 8.30282421875, | |
"stdev": 0.0, | |
"p50": 8.30282421875, | |
"p90": 8.30282421875, | |
"p95": 8.30282421875, | |
"p99": 8.30282421875, | |
"values": [ | |
8.30282421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.758809322915997e-06, | |
"ram": 3.1354210617788427e-06, | |
"gpu": 7.74222841600121e-06, | |
"total": 1.6636458800696048e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.673664, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9992488937377931, | |
"mean": 0.0071888409621423946, | |
"stdev": 0.00018605967579537404, | |
"p50": 0.007102464199066162, | |
"p90": 0.0074944510459899905, | |
"p95": 0.007542067193984986, | |
"p99": 0.007586917037963867, | |
"values": [ | |
0.007241727828979493, | |
0.007264256000518799, | |
0.007243775844573975, | |
0.007234560012817383, | |
0.007188479900360107, | |
0.007241727828979493, | |
0.007223231792449951, | |
0.007176127910614014, | |
0.007105535984039306, | |
0.00704307222366333, | |
0.007076863765716553, | |
0.007078911781311035, | |
0.007134208202362061, | |
0.007065599918365479, | |
0.007109632015228271, | |
0.0069745278358459475, | |
0.006957056045532227, | |
0.006998015880584717, | |
0.007012351989746094, | |
0.007067647933959961, | |
0.0071064958572387696, | |
0.007096288204193116, | |
0.007107583999633789, | |
0.007078911781311035, | |
0.00710041618347168, | |
0.007073823928833008, | |
0.007169023990631103, | |
0.007058432102203369, | |
0.00709222412109375, | |
0.007122943878173828, | |
0.007105535984039306, | |
0.007036928176879883, | |
0.0073471999168395995, | |
0.007106592178344726, | |
0.0070891518592834475, | |
0.007160831928253173, | |
0.007085055828094483, | |
0.006987775802612305, | |
0.006957056045532227, | |
0.006987775802612305, | |
0.007016511917114257, | |
0.006971392154693603, | |
0.007057407855987549, | |
0.0070563840866088865, | |
0.0070594558715820314, | |
0.007024640083312988, | |
0.007117824077606201, | |
0.007151616096496582, | |
0.007147520065307617, | |
0.007136256217956543, | |
0.00714035177230835, | |
0.007064576148986816, | |
0.007035903930664063, | |
0.007068672180175781, | |
0.007102464199066162, | |
0.007110655784606934, | |
0.007432191848754883, | |
0.00760316801071167, | |
0.007530432224273681, | |
0.007460864067077637, | |
0.007383039951324463, | |
0.007437312126159668, | |
0.0074926080703735356, | |
0.0075038719177246095, | |
0.007568384170532226, | |
0.0074106879234313965, | |
0.00745472002029419, | |
0.007469056129455566, | |
0.007459839820861816, | |
0.007434239864349365, | |
0.007472127914428711, | |
0.007450623989105225, | |
0.007541759967803955, | |
0.00757862377166748, | |
0.007548927783966064, | |
0.007544832229614258, | |
0.007592000007629394, | |
0.007493631839752197, | |
0.00744652795791626, | |
0.007520256042480469, | |
0.007426047801971435, | |
0.007398399829864502, | |
0.007575551986694336, | |
0.007407616138458252, | |
0.007375872135162354, | |
0.007261184215545655, | |
0.007279615879058838, | |
0.007401472091674805, | |
0.007236608028411865, | |
0.007085055828094483, | |
0.007059519767761231, | |
0.007255040168762207, | |
0.007394303798675537, | |
0.007428063869476319, | |
0.00742195177078247, | |
0.007497727870941162, | |
0.007525375843048096, | |
0.007535615921020508, | |
0.007138304233551026, | |
0.007047167778015137, | |
0.0070594558715820314, | |
0.007076863765716553, | |
0.007062528133392334, | |
0.0070522880554199216, | |
0.007101439952850342, | |
0.007107583999633789, | |
0.007094272136688232, | |
0.007035903930664063, | |
0.007066624164581299, | |
0.007082015991210938, | |
0.007107583999633789, | |
0.007046144008636474, | |
0.00709119987487793, | |
0.007053311824798584, | |
0.007065599918365479, | |
0.007053311824798584, | |
0.007032832145690918, | |
0.007064576148986816, | |
0.007077888011932373, | |
0.007077888011932373, | |
0.007019519805908203, | |
0.007030784130096435, | |
0.007049215793609619, | |
0.00709939193725586, | |
0.007173120021820068, | |
0.0070266880989074704, | |
0.007013376235961914, | |
0.006990848064422607, | |
0.007012351989746094, | |
0.006978559970855713, | |
0.007012351989746094, | |
0.007038976192474365, | |
0.00704307222366333, | |
0.007047167778015137, | |
0.007030784130096435, | |
0.007041024208068848, | |
0.007021567821502686, | |
0.007020544052124023, | |
0.007041024208068848 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.10448224771736 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.327957440752704e-08, | |
"ram": 4.551019759932609e-08, | |
"gpu": 1.6615592158041744e-07, | |
"total": 2.949456935872706e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3390454.655694483 | |
} | |
} | |
} | |
} |