
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
de6ddf1
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.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.01248, | |
"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.49161181640625, | |
"mean": 7.49161181640625, | |
"stdev": 0.0, | |
"p50": 7.49161181640625, | |
"p90": 7.49161181640625, | |
"p95": 7.49161181640625, | |
"p99": 7.49161181640625, | |
"values": [ | |
7.49161181640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.351180295149485e-06, | |
"ram": 2.356543621207644e-06, | |
"gpu": 6.657783104000023e-06, | |
"total": 1.3365507020357151e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.498688, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 0.9978896336555486, | |
"mean": 0.006522154468336916, | |
"stdev": 0.0003586358389900224, | |
"p50": 0.006564864158630371, | |
"p90": 0.006926950454711914, | |
"p95": 0.007004979038238526, | |
"p99": 0.007276380290985105, | |
"values": [ | |
0.007113728046417236, | |
0.007077888011932373, | |
0.007112703800201416, | |
0.006807551860809326, | |
0.006668288230895996, | |
0.0067645440101623535, | |
0.006714367866516113, | |
0.0066447358131408694, | |
0.00684441614151001, | |
0.008350720405578613, | |
0.007413760185241699, | |
0.006949888229370117, | |
0.006882304191589355, | |
0.006809599876403808, | |
0.006892543792724609, | |
0.0069253120422363285, | |
0.006927360057830811, | |
0.007015423774719238, | |
0.007027872085571289, | |
0.00694374418258667, | |
0.0068577280044555666, | |
0.006903808116912841, | |
0.006958079814910889, | |
0.006933504104614257, | |
0.006915071964263916, | |
0.006952960014343262, | |
0.006948863983154297, | |
0.006884352207183838, | |
0.0067870721817016606, | |
0.006909952163696289, | |
0.006918144226074219, | |
0.006896639823913574, | |
0.0067983360290527345, | |
0.006761472225189209, | |
0.006804480075836182, | |
0.006843391895294189, | |
0.006845439910888672, | |
0.006810783863067627, | |
0.006575136184692383, | |
0.006606847763061524, | |
0.0067010560035705566, | |
0.006710271835327148, | |
0.006688799858093262, | |
0.00670911979675293, | |
0.0066979842185974124, | |
0.006626304149627686, | |
0.00659660816192627, | |
0.006646944046020508, | |
0.006632448196411133, | |
0.006656000137329102, | |
0.006643712043762207, | |
0.006625279903411865, | |
0.006626304149627686, | |
0.006564864158630371, | |
0.006563839912414551, | |
0.006615039825439453, | |
0.006645760059356689, | |
0.006639616012573242, | |
0.006536191940307618, | |
0.0065413122177124024, | |
0.006601727962493896, | |
0.006831103801727295, | |
0.006557695865631104, | |
0.0065484800338745115, | |
0.006636608123779297, | |
0.006668288230895996, | |
0.006761472225189209, | |
0.00668175983428955, | |
0.006663008213043213, | |
0.006683648109436035, | |
0.006657023906707763, | |
0.006648831844329834, | |
0.006651904106140137, | |
0.0065146880149841305, | |
0.006601727962493896, | |
0.0065484800338745115, | |
0.0065372161865234375, | |
0.006415359973907471, | |
0.006322175979614258, | |
0.006455296039581298, | |
0.006499328136444092, | |
0.006369279861450195, | |
0.006205440044403076, | |
0.006264832019805908, | |
0.006262784004211426, | |
0.006243328094482422, | |
0.006296576023101807, | |
0.006732800006866455, | |
0.006783999919891357, | |
0.006899712085723877, | |
0.006920191764831543, | |
0.006998015880584717, | |
0.006781888008117676, | |
0.006758399963378906, | |
0.006556672096252441, | |
0.0071495680809020995, | |
0.006342656135559082, | |
0.006245376110076905, | |
0.006273024082183838, | |
0.006193120002746582, | |
0.006238207817077636, | |
0.006248447895050049, | |
0.006151167869567871, | |
0.006239232063293457, | |
0.0060581121444702145, | |
0.006108160018920898, | |
0.006159296035766601, | |
0.00623308801651001, | |
0.006173696041107178, | |
0.006139904022216797, | |
0.0061296639442443845, | |
0.006144000053405762, | |
0.006118400096893311, | |
0.0061255359649658205, | |
0.006123519897460937, | |
0.006085631847381592, | |
0.006168575763702393, | |
0.006046847820281982, | |
0.006177792072296143, | |
0.006173696041107178, | |
0.006127615928649902, | |
0.0060590081214904785, | |
0.0061296639442443845, | |
0.006136767864227295, | |
0.006137856006622314, | |
0.006086783885955811, | |
0.006138879776000977, | |
0.006079487800598145, | |
0.006123519897460937, | |
0.006186016082763672, | |
0.006132736206054688, | |
0.006092927932739258, | |
0.0061337599754333495, | |
0.006148096084594727, | |
0.006048672199249268, | |
0.006181888103485108, | |
0.006168575763702393, | |
0.006137856006622314, | |
0.006120448112487793, | |
0.006122687816619873, | |
0.006087552070617676, | |
0.00606822395324707, | |
0.0060702719688415525, | |
0.006200319766998291, | |
0.006110208034515381, | |
0.006121471881866455, | |
0.006166528224945069, | |
0.006056960105895996, | |
0.006146944046020507, | |
0.006103040218353272, | |
0.006106112003326416, | |
0.0063836159706115725, | |
0.006502399921417237 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.32356889961702 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.540450206649954e-08, | |
"ram": 4.122720038803857e-08, | |
"gpu": 1.6177118391082697e-07, | |
"total": 2.7840288636536506e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3591916.783102741 | |
} | |
} | |
} | |
} |