
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
120caa6
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16 | |
}, | |
"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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 882.921472, | |
"max_global_vram": 674.758656, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3624161376953125 | |
], | |
"count": 1, | |
"total": 0.3624161376953125, | |
"mean": 0.3624161376953125, | |
"p50": 0.3624161376953125, | |
"p90": 0.3624161376953125, | |
"p95": 0.3624161376953125, | |
"p99": 0.3624161376953125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1125.597184, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007606272220611572, | |
0.007233535766601563, | |
0.007267327785491944, | |
0.007214079856872559, | |
0.007139328002929687, | |
0.007103487968444824, | |
0.007108607769012451, | |
0.007195648193359375, | |
0.007205887794494629, | |
0.00739737606048584, | |
0.007245823860168457, | |
0.00724070405960083, | |
0.0072540159225463864, | |
0.007288832187652588, | |
0.007279615879058838, | |
0.0073175039291381834, | |
0.007353343963623047, | |
0.007416831970214844, | |
0.007569407939910889, | |
0.0072837119102478025, | |
0.0072540159225463864, | |
0.007176159858703613, | |
0.007175168037414551, | |
0.007237664222717285, | |
0.007258111953735351, | |
0.0072325119972229, | |
0.007230463981628418, | |
0.007222271919250488, | |
0.007202752113342285, | |
0.007069727897644043, | |
0.007174111843109131, | |
0.007188479900360107, | |
0.007154687881469727, | |
0.007138304233551026, | |
0.0072416958808898925, | |
0.00733081579208374, | |
0.007482367992401123, | |
0.007448575973510742, | |
0.007620607852935791, | |
0.007526400089263916, | |
0.0074700798988342285, | |
0.007449600219726562, | |
0.0074711041450500485, | |
0.00743833589553833, | |
0.007476223945617676, | |
0.007579648017883301, | |
0.007611392021179199, | |
0.007589888095855713, | |
0.007571455955505371, | |
0.007560192108154297, | |
0.007573503971099854, | |
0.00745472002029419, | |
0.007517248153686523, | |
0.007568384170532226, | |
0.007473152160644531, | |
0.007437312126159668, | |
0.007629824161529541, | |
0.0074711041450500485, | |
0.007463935852050781, | |
0.00728166389465332, | |
0.007457791805267334, | |
0.007457791805267334, | |
0.007351295948028564, | |
0.007103487968444824, | |
0.0072765440940856935, | |
0.007353343963623047, | |
0.007510015964508057, | |
0.007480319976806641, | |
0.007432191848754883, | |
0.007506944179534912, | |
0.007531519889831543, | |
0.007717887878417969, | |
0.007452672004699707, | |
0.007332863807678222, | |
0.007792640209197998, | |
0.006879231929779053, | |
0.006912000179290771, | |
0.006866943836212158, | |
0.006831103801727295, | |
0.0068280320167541505, | |
0.006781951904296875, | |
0.0068351998329162595, | |
0.007200767993927002, | |
0.008364031791687012, | |
0.00830463981628418, | |
0.008241151809692383, | |
0.007207935810089112, | |
0.007174176216125488, | |
0.007172095775604248, | |
0.00713318395614624, | |
0.007138304233551026, | |
0.007112703800201416, | |
0.007145472049713135, | |
0.007198719978332519, | |
0.007131135940551757, | |
0.007147520065307617, | |
0.007138304233551026, | |
0.007111680030822754, | |
0.007096320152282715, | |
0.007124991893768311, | |
0.007120895862579346, | |
0.0070830078125, | |
0.007106560230255127, | |
0.007122943878173828, | |
0.007112703800201416, | |
0.0070860800743103025, | |
0.007129087924957276, | |
0.007131135940551757, | |
0.007123968124389648, | |
0.007114751815795899, | |
0.007081984043121338, | |
0.007554048061370849, | |
0.007429152011871338, | |
0.00714035177230835, | |
0.007114751815795899, | |
0.007080959796905518, | |
0.007160831928253173, | |
0.007154687881469727, | |
0.007201791763305664, | |
0.007374847888946533, | |
0.007508992195129394, | |
0.007300096035003662, | |
0.007178239822387696, | |
0.007201791763305664, | |
0.007155712127685547, | |
0.007137279987335205, | |
0.007079936027526855, | |
0.0071495361328125, | |
0.007124991893768311, | |
0.007110688209533691, | |
0.007145472049713135, | |
0.0071485438346862796, | |
0.007195648193359375, | |
0.007135231971740722, | |
0.007122911930084228, | |
0.007150591850280762, | |
0.0071188478469848635 | |
], | |
"count": 137, | |
"total": 0.9983989720344544, | |
"mean": 0.007287583737477769, | |
"p50": 0.007214079856872559, | |
"p90": 0.007568793678283691, | |
"p95": 0.0076132351875305175, | |
"p99": 0.008281784133911133, | |
"stdev": 0.00024625017667435364, | |
"stdev_": 3.3790373537386036 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 274.439385130441 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.358149208235645e-08, | |
"ram": 4.5672011498749636e-08, | |
"gpu": 1.9903380554929614e-07, | |
"total": 3.282873091304022e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6092224.537396176 | |
} | |
} | |
} | |
} |