
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
47eb1f3
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.225-213.878.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 870.240256, | |
"max_global_vram": 674.758656, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.38401025390625 | |
], | |
"count": 1, | |
"total": 0.38401025390625, | |
"mean": 0.38401025390625, | |
"p50": 0.38401025390625, | |
"p90": 0.38401025390625, | |
"p95": 0.38401025390625, | |
"p99": 0.38401025390625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1110.1184, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 122.937344 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007455743789672851, | |
0.007133152008056641, | |
0.0071198720932006835, | |
0.007128064155578613, | |
0.0072540159225463864, | |
0.007309311866760254, | |
0.0073697280883789065, | |
0.0074291200637817386, | |
0.007497727870941162, | |
0.00733900785446167, | |
0.0073359360694885255, | |
0.00740556812286377, | |
0.007431168079376221, | |
0.007319551944732666, | |
0.007334911823272705, | |
0.007360511779785156, | |
0.007310336112976074, | |
0.0074966402053833, | |
0.007423999786376953, | |
0.007252960205078125, | |
0.0073400321006774905, | |
0.007328767776489258, | |
0.007327744007110596, | |
0.007351295948028564, | |
0.007345151901245117, | |
0.0073471999168395995, | |
0.007521344184875488, | |
0.00758681583404541, | |
0.007445504188537597, | |
0.007437312126159668, | |
0.007483391761779785, | |
0.007424032211303711, | |
0.007328767776489258, | |
0.007356416225433349, | |
0.00742195177078247, | |
0.00729804801940918, | |
0.007385087966918945, | |
0.007415808200836181, | |
0.007286784172058106, | |
0.007362559795379638, | |
0.007126016139984131, | |
0.007229440212249756, | |
0.007429183959960938, | |
0.007250944137573242, | |
0.00707583999633789, | |
0.007007232189178467, | |
0.007143424034118652, | |
0.007368703842163086, | |
0.007282623767852783, | |
0.00764415979385376, | |
0.00725708818435669, | |
0.007316480159759522, | |
0.007453695774078369, | |
0.007493631839752197, | |
0.007144447803497315, | |
0.007032832145690918, | |
0.0069632000923156735, | |
0.006964223861694336, | |
0.006994944095611572, | |
0.0070348801612854, | |
0.006970367908477783, | |
0.007000063896179199, | |
0.007044095993041993, | |
0.00704307222366333, | |
0.006953983783721924, | |
0.006989855766296387, | |
0.007053247928619385, | |
0.007322624206542969, | |
0.00694374418258667, | |
0.006923264026641846, | |
0.006978559970855713, | |
0.007015423774719238, | |
0.006945792198181152, | |
0.007016448020935059, | |
0.0072202239036560055, | |
0.007279615879058838, | |
0.0070000958442687986, | |
0.006922239780426025, | |
0.0069632000923156735, | |
0.00693555212020874, | |
0.006971392154693603, | |
0.006987775802612305, | |
0.0069324798583984375, | |
0.006949888229370117, | |
0.006974463939666748, | |
0.006931456089019775, | |
0.007047167778015137, | |
0.006976511955261231, | |
0.0069816322326660156, | |
0.0069324798583984375, | |
0.0069550080299377445, | |
0.0069621758460998535, | |
0.006930431842803955, | |
0.006907936096191406, | |
0.006951935768127441, | |
0.007041024208068848, | |
0.006975488185882568, | |
0.006908927917480469, | |
0.006964223861694336, | |
0.006970367908477783, | |
0.00698367977142334, | |
0.006908927917480469, | |
0.006988800048828125, | |
0.007048192024230957, | |
0.006947840213775635, | |
0.006894591808319092, | |
0.006982719898223877, | |
0.006884352207183838, | |
0.006965151786804199, | |
0.006904831886291504, | |
0.00704204797744751, | |
0.006959104061126709, | |
0.006953983783721924, | |
0.006930431842803955, | |
0.006979551792144776, | |
0.006998015880584717, | |
0.006951935768127441, | |
0.006931456089019775, | |
0.0069212160110473635, | |
0.006946879863739014, | |
0.007021567821502686, | |
0.006961152076721191, | |
0.006944767951965332, | |
0.006974463939666748, | |
0.006972415924072266, | |
0.0069212160110473635, | |
0.006982656002044678, | |
0.00694374418258667, | |
0.007928832054138184, | |
0.007490496158599854, | |
0.006958079814910889, | |
0.006936575889587402, | |
0.0069621758460998535, | |
0.006946815967559815, | |
0.0069283838272094726, | |
0.006965248107910156, | |
0.006953983783721924, | |
0.008219679832458497, | |
0.007139328002929687, | |
0.006938623905181885 | |
], | |
"count": 140, | |
"total": 0.9997024927139281, | |
"mean": 0.0071407320908137735, | |
"p50": 0.007027199983596802, | |
"p90": 0.007431782484054566, | |
"p95": 0.007493782258033752, | |
"p99": 0.007817809872627254, | |
"stdev": 0.0002318935708502575, | |
"stdev_": 3.2474761397165146 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.04166341521963 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.240084133873438e-08, | |
"ram": 4.502300620857148e-08, | |
"gpu": 1.6769689341666615e-07, | |
"total": 2.951207409639721e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3388443.6476190556 | |
} | |
} | |
} | |
} |