
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
01377b8
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_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.285632, | |
"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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.651456, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.47144921875, | |
"mean": 7.47144921875, | |
"stdev": 0.0, | |
"p50": 7.47144921875, | |
"p90": 7.47144921875, | |
"p95": 7.47144921875, | |
"p99": 7.47144921875, | |
"values": [ | |
7.47144921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.316976500882043e-06, | |
"ram": 2.3501473612969904e-06, | |
"gpu": 6.811116560000163e-06, | |
"total": 1.3478240422179197e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 977.317888, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 151, | |
"total": 1.000258301734925, | |
"mean": 0.006624227163807445, | |
"stdev": 0.0001750322032961075, | |
"p50": 0.00658841609954834, | |
"p90": 0.006765567779541016, | |
"p95": 0.0068997120857238765, | |
"p99": 0.007385087966918945, | |
"values": [ | |
0.007274400234222412, | |
0.007186431884765625, | |
0.007368703842163086, | |
0.007401472091674805, | |
0.007183328151702881, | |
0.007477248191833496, | |
0.0065474557876586915, | |
0.006384640216827392, | |
0.006421504020690918, | |
0.006437920093536377, | |
0.006345727920532227, | |
0.00635590410232544, | |
0.006351871967315674, | |
0.006344704151153564, | |
0.006360064029693604, | |
0.0066447358131408694, | |
0.00658022403717041, | |
0.006553599834442139, | |
0.006723584175109864, | |
0.006549503803253174, | |
0.006552576065063476, | |
0.0065413122177124024, | |
0.006726655960083008, | |
0.006529024124145508, | |
0.006589439868927002, | |
0.006809599876403808, | |
0.006590432167053223, | |
0.006626368045806885, | |
0.0065781760215759275, | |
0.006463488101959228, | |
0.006523903846740723, | |
0.006575104236602783, | |
0.006545407772064209, | |
0.0065771517753601075, | |
0.006561791896820069, | |
0.0065443840026855465, | |
0.006569983959197998, | |
0.006690815925598144, | |
0.006765567779541016, | |
0.0065556797981262205, | |
0.006520832061767578, | |
0.006615039825439453, | |
0.006546432018280029, | |
0.006557695865631104, | |
0.006563776016235352, | |
0.006795263767242431, | |
0.006590464115142822, | |
0.006567935943603515, | |
0.006536191940307618, | |
0.006544415950775147, | |
0.0067123198509216305, | |
0.006601727962493896, | |
0.00653004789352417, | |
0.006698944091796875, | |
0.006561791896820069, | |
0.0066499199867248535, | |
0.006543263912200927, | |
0.006584320068359375, | |
0.006550528049468994, | |
0.006549503803253174, | |
0.0065771517753601075, | |
0.006584320068359375, | |
0.006589407920837402, | |
0.006585343837738037, | |
0.006603775978088379, | |
0.00658841609954834, | |
0.006585279941558838, | |
0.006615039825439453, | |
0.00659660816192627, | |
0.006546432018280029, | |
0.006930431842803955, | |
0.006595583915710449, | |
0.00657919979095459, | |
0.006880256175994873, | |
0.006594560146331787, | |
0.006626304149627686, | |
0.006796288013458252, | |
0.006623231887817383, | |
0.006708223819732666, | |
0.006752352237701416, | |
0.006606847763061524, | |
0.00658841609954834, | |
0.00658841609954834, | |
0.006575071811676025, | |
0.006562816143035889, | |
0.0067717118263244626, | |
0.006721536159515381, | |
0.006592512130737305, | |
0.006598656177520752, | |
0.006551551818847656, | |
0.0066078720092773435, | |
0.006621183872222901, | |
0.006569983959197998, | |
0.0066078720092773435, | |
0.006603712081909179, | |
0.006543360233306885, | |
0.006650879859924317, | |
0.006619135856628418, | |
0.006746111869812011, | |
0.006648831844329834, | |
0.0066416640281677245, | |
0.006919167995452881, | |
0.006647808074951172, | |
0.006662144184112549, | |
0.0066406397819519045, | |
0.006702079772949219, | |
0.00662937593460083, | |
0.0065812478065490725, | |
0.0066406397819519045, | |
0.0066089601516723636, | |
0.006574079990386963, | |
0.006567935943603515, | |
0.00659660816192627, | |
0.0065771517753601075, | |
0.006595583915710449, | |
0.006584320068359375, | |
0.006758399963378906, | |
0.006765567779541016, | |
0.006609920024871826, | |
0.006744063854217529, | |
0.006584320068359375, | |
0.006565951824188233, | |
0.006575104236602783, | |
0.00658022403717041, | |
0.006563839912414551, | |
0.006598688125610351, | |
0.006568960189819336, | |
0.00658022403717041, | |
0.0065812478065490725, | |
0.006379519939422608, | |
0.0063272957801818845, | |
0.006355967998504639, | |
0.006533120155334473, | |
0.006497280120849609, | |
0.006493184089660644, | |
0.006518784046173095, | |
0.006526944160461426, | |
0.006597631931304931, | |
0.006551551818847656, | |
0.0066026878356933594, | |
0.006676479816436768, | |
0.006563839912414551, | |
0.00682092809677124, | |
0.006608895778656006, | |
0.006564864158630371, | |
0.00659660816192627, | |
0.00658841609954834, | |
0.006533120155334473, | |
0.00681056022644043, | |
0.006604800224304199, | |
0.006694911956787109 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.96100651011253 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.813264076647006e-08, | |
"ram": 4.2719586326971495e-08, | |
"gpu": 1.7537294731579e-07, | |
"total": 2.9622517440923154e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3375810.317250457 | |
} | |
} | |
} | |
} |