IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b1f859c verified
raw
history blame
11.9 kB
{
"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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.634048,
"max_global_vram": 674.758656,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3664445495605469
],
"count": 1,
"total": 0.3664445495605469,
"mean": 0.3664445495605469,
"p50": 0.3664445495605469,
"p90": 0.3664445495605469,
"p95": 0.3664445495605469,
"p99": 0.3664445495605469,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.745664,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007387135982513428,
0.006825984001159668,
0.006907904148101806,
0.007008255958557129,
0.007102464199066162,
0.00695091199874878,
0.006896639823913574,
0.007035903930664063,
0.0069816322326660156,
0.007045119762420654,
0.0073471999168395995,
0.007418879985809326,
0.007090176105499267,
0.007017471790313721,
0.007057439804077148,
0.007063551902770996,
0.007023615837097168,
0.007010303974151612,
0.00705836820602417,
0.007099455833435059,
0.007027711868286133,
0.007007296085357666,
0.0069550080299377445,
0.0068249602317810056,
0.006795263767242431,
0.006776832103729248,
0.006803520202636719,
0.006808576107025147,
0.006781951904296875,
0.006797311782836914,
0.006804480075836182,
0.006774784088134766,
0.006762495994567871,
0.006797311782836914,
0.006792191982269287,
0.006780928134918213,
0.00678604793548584,
0.006803455829620361,
0.006776832103729248,
0.006894591808319092,
0.007032832145690918,
0.007038976192474365,
0.0069918718338012695,
0.0070563840866088865,
0.00707692813873291,
0.00704307222366333,
0.007019519805908203,
0.007015359878540039,
0.007096384048461914,
0.007047167778015137,
0.007032832145690918,
0.007002111911773682,
0.007024640083312988,
0.007010303974151612,
0.007012351989746094,
0.006979584217071533,
0.0070225920677185055,
0.007011328220367432,
0.0070256638526916505,
0.00698367977142334,
0.0069816322326660156,
0.007020544052124023,
0.007038976192474365,
0.007005184173583984,
0.007003136157989502,
0.007048223972320557,
0.007039999961853028,
0.007019519805908203,
0.006990848064422607,
0.007060480117797851,
0.007021567821502686,
0.007107583999633789,
0.007076863765716553,
0.0070348801612854,
0.007036928176879883,
0.007006207942962647,
0.006948863983154297,
0.0069959678649902345,
0.007045119762420654,
0.007016448020935059,
0.006944767951965332,
0.007079936027526855,
0.007028736114501953,
0.007011328220367432,
0.0069918718338012695,
0.006996992111206054,
0.007073791980743408,
0.006974463939666748,
0.006990848064422607,
0.0069847040176391605,
0.006987711906433105,
0.007111711978912354,
0.007011328220367432,
0.007036928176879883,
0.007024640083312988,
0.007008255958557129,
0.007004159927368164,
0.006977536201477051,
0.007016448020935059,
0.0070225920677185055,
0.00704204797744751,
0.006959104061126709,
0.006981599807739258,
0.007014336109161377,
0.006994944095611572,
0.006973440170288086,
0.007110655784606934,
0.006986752033233643,
0.007057407855987549,
0.006982687950134277,
0.006990848064422607,
0.007007232189178467,
0.006883327960968018,
0.006762495994567871,
0.00692633581161499,
0.007068672180175781,
0.007017471790313721,
0.006970367908477783,
0.0070266880989074704,
0.007194623947143554,
0.007068672180175781,
0.0070266880989074704,
0.006979648113250732,
0.007013376235961914,
0.007032832145690918,
0.007001088142395019,
0.006989823818206787,
0.006982656002044678,
0.006822912216186523,
0.006780928134918213,
0.006852608203887939,
0.006796288013458252,
0.006785024166107178,
0.006760447978973389,
0.00679423999786377,
0.006800384044647217,
0.006759391784667969,
0.006799359798431396,
0.0068321280479431154,
0.00682700777053833,
0.006779903888702392,
0.007131135940551757,
0.007020544052124023
],
"count": 143,
"total": 0.9977694091796872,
"mean": 0.006977408455802011,
"p50": 0.007007232189178467,
"p90": 0.007076249408721924,
"p95": 0.0071070720195770265,
"p99": 0.00737036283493042,
"stdev": 0.00011761774089799055,
"stdev_": 1.6856937879304805
},
"throughput": {
"unit": "samples/s",
"value": 143.31968757948485
},
"energy": {
"unit": "kWh",
"cpu": 8.332411520009276e-08,
"ram": 4.545506186476922e-08,
"gpu": 1.68696716153845e-07,
"total": 2.9747589321870694e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3361616.9336612127
}
}
}
}