
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9d694f6
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"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": 952.827904, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 177, | |
"total": 0.9973255677223204, | |
"mean": 0.005634607727244749, | |
"stdev": 0.00020368674860449552, | |
"p50": 0.005559296131134033, | |
"p90": 0.005917491245269775, | |
"p95": 0.006017228603363037, | |
"p99": 0.006186311531066895, | |
"values": [ | |
0.0062975997924804685, | |
0.006013951778411865, | |
0.006044672012329101, | |
0.006045760154724121, | |
0.006015999794006348, | |
0.00608358383178711, | |
0.005943295955657959, | |
0.006052864074707031, | |
0.005966847896575928, | |
0.006022143840789795, | |
0.005890048027038574, | |
0.005946368217468262, | |
0.005859327793121338, | |
0.005817344188690185, | |
0.005789631843566894, | |
0.005795839786529541, | |
0.005830656051635743, | |
0.005900288105010986, | |
0.005689343929290771, | |
0.005701632022857666, | |
0.005686272144317627, | |
0.00563097620010376, | |
0.005656576156616211, | |
0.005590976238250733, | |
0.005701632022857666, | |
0.005673984050750733, | |
0.00563097620010376, | |
0.00567193603515625, | |
0.005624832153320313, | |
0.005633984088897705, | |
0.005610496044158936, | |
0.005851136207580566, | |
0.005855231761932373, | |
0.005849088191986084, | |
0.005740543842315674, | |
0.005681151866912842, | |
0.005760000228881836, | |
0.005786623954772949, | |
0.0057712640762329105, | |
0.005850111961364746, | |
0.005893119812011719, | |
0.005895167827606201, | |
0.005994495868682862, | |
0.005944320201873779, | |
0.005983232021331787, | |
0.005860352039337159, | |
0.005900288105010986, | |
0.005803008079528809, | |
0.005953536033630371, | |
0.005865471839904785, | |
0.005897215843200684, | |
0.005634047985076904, | |
0.005538815975189209, | |
0.005559296131134033, | |
0.0055285758972167965, | |
0.005783552169799804, | |
0.005635072231292724, | |
0.0057292799949646, | |
0.005501952171325684, | |
0.005534719944000244, | |
0.005608448028564453, | |
0.005568511962890625, | |
0.0055808000564575196, | |
0.005566463947296142, | |
0.005571584224700928, | |
0.005675007820129394, | |
0.005681151866912842, | |
0.0057292799949646, | |
0.005684224128723145, | |
0.005763040065765381, | |
0.005673984050750733, | |
0.0056442880630493165, | |
0.005669888019561768, | |
0.005479423999786377, | |
0.005609471797943116, | |
0.005567488193511963, | |
0.005463039875030518, | |
0.005482495784759522, | |
0.005249023914337158, | |
0.005341184139251709, | |
0.005574656009674072, | |
0.005505023956298828, | |
0.0052674560546875, | |
0.005216256141662597, | |
0.005191679954528809, | |
0.0051825280189514164, | |
0.005279744148254394, | |
0.005219327926635742, | |
0.005433343887329102, | |
0.00582144021987915, | |
0.005734399795532226, | |
0.00586137580871582, | |
0.005897183895111084, | |
0.006151167869567871, | |
0.005790719985961914, | |
0.005728256225585937, | |
0.005517312049865723, | |
0.005502975940704345, | |
0.005527552127838135, | |
0.005475327968597412, | |
0.005552127838134766, | |
0.0054917120933532714, | |
0.005480447769165039, | |
0.005545983791351319, | |
0.005472224235534668, | |
0.0055101442337036136, | |
0.005496831893920898, | |
0.005455872058868408, | |
0.005517312049865723, | |
0.005804031848907471, | |
0.005532671928405761, | |
0.006118400096893311, | |
0.005476352214813233, | |
0.005566463947296142, | |
0.0058757119178771975, | |
0.006299647808074951, | |
0.005566463947296142, | |
0.005560319900512695, | |
0.005517312049865723, | |
0.005488639831542969, | |
0.00555622386932373, | |
0.005472256183624268, | |
0.00555622386932373, | |
0.0055101442337036136, | |
0.005492735862731934, | |
0.005536767959594726, | |
0.005481472015380859, | |
0.005557248115539551, | |
0.005495808124542236, | |
0.005502975940704345, | |
0.005537792205810547, | |
0.005506048202514649, | |
0.005465087890625, | |
0.005536767959594726, | |
0.005512191772460938, | |
0.005526527881622314, | |
0.005486591815948487, | |
0.005458943843841553, | |
0.005582848072052002, | |
0.0054733438491821286, | |
0.005535744190216065, | |
0.0054906878471374515, | |
0.005517312049865723, | |
0.00552243185043335, | |
0.005497856140136719, | |
0.005478400230407715, | |
0.005527552127838135, | |
0.0055121278762817385, | |
0.005501952171325684, | |
0.005505023956298828, | |
0.005439487934112549, | |
0.0055582718849182125, | |
0.005481472015380859, | |
0.0055316481590271, | |
0.005480447769165039, | |
0.005494783878326416, | |
0.005516287803649903, | |
0.005476352214813233, | |
0.005498784065246582, | |
0.0055203838348388675, | |
0.005559296131134033, | |
0.005536767959594726, | |
0.005516287803649903, | |
0.0054609918594360355, | |
0.005576704025268555, | |
0.005464064121246338, | |
0.00552345609664917, | |
0.005497856140136719, | |
0.005495808124542236, | |
0.005590015888214111, | |
0.0054876160621643065, | |
0.0055214080810546875, | |
0.0055285758972167965, | |
0.0055203838348388675, | |
0.005485568046569824, | |
0.005534719944000244, | |
0.005475327968597412 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 177.47464391615904 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.453543721477767e-08, | |
"ram": 3.528297085404294e-08, | |
"gpu": 1.3343307776086989e-07, | |
"total": 2.332514858296905e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4287218.134722426 | |
} | |
} | |
} | |
} |