
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2f4e21f
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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 970.09664, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 155, | |
"total": 0.999316413402557, | |
"mean": 0.006447202667113273, | |
"stdev": 0.00025437937833796713, | |
"p50": 0.006464511871337891, | |
"p90": 0.006598860740661621, | |
"p95": 0.007008767890930175, | |
"p99": 0.007478067178726197, | |
"values": [ | |
0.007522304058074952, | |
0.007241727828979493, | |
0.007184383869171143, | |
0.007142399787902832, | |
0.00734822416305542, | |
0.00703385591506958, | |
0.006998015880584717, | |
0.0074403839111328125, | |
0.00648089599609375, | |
0.006238207817077636, | |
0.006232063770294189, | |
0.006236159801483154, | |
0.00621670389175415, | |
0.006346752166748047, | |
0.006221824169158936, | |
0.006247424125671387, | |
0.006243328094482422, | |
0.0062259202003479, | |
0.006164480209350586, | |
0.006181888103485108, | |
0.006169600009918213, | |
0.006162432193756104, | |
0.006176767826080322, | |
0.006153215885162353, | |
0.006169600009918213, | |
0.006165503978729248, | |
0.006181888103485108, | |
0.006172671794891358, | |
0.0061859841346740725, | |
0.0062863359451293946, | |
0.006232063770294189, | |
0.006262784004211426, | |
0.006198272228240966, | |
0.006239232063293457, | |
0.006201344013214111, | |
0.00623308801651001, | |
0.006159359931945801, | |
0.006223872184753418, | |
0.006221824169158936, | |
0.00619212818145752, | |
0.006238207817077636, | |
0.0061972479820251464, | |
0.006232063770294189, | |
0.006170591831207275, | |
0.006236127853393555, | |
0.006190080165863037, | |
0.006240255832672119, | |
0.006236159801483154, | |
0.006200319766998291, | |
0.00623308801651001, | |
0.006211584091186524, | |
0.00624128007888794, | |
0.006217728137969971, | |
0.0062566399574279785, | |
0.006258687973022461, | |
0.00620851182937622, | |
0.006252543926239014, | |
0.006180863857269287, | |
0.0062863359451293946, | |
0.006240255832672119, | |
0.006303743839263916, | |
0.006334464073181153, | |
0.006281216144561768, | |
0.0062863359451293946, | |
0.006251520156860352, | |
0.006281216144561768, | |
0.006238207817077636, | |
0.006536191940307618, | |
0.006540319919586182, | |
0.006497280120849609, | |
0.006534143924713135, | |
0.006490111827850342, | |
0.006425600051879882, | |
0.006493184089660644, | |
0.006463488101959228, | |
0.006415359973907471, | |
0.00653926420211792, | |
0.00652288007736206, | |
0.006545407772064209, | |
0.006518752098083496, | |
0.006433792114257812, | |
0.006461440086364746, | |
0.006457344055175781, | |
0.006550528049468994, | |
0.006457344055175781, | |
0.0064143362045288085, | |
0.006474751949310303, | |
0.006479872226715088, | |
0.006463488101959228, | |
0.006489088058471679, | |
0.00643071985244751, | |
0.006455359935760498, | |
0.006464511871337891, | |
0.006470655918121338, | |
0.006625279903411865, | |
0.007527423858642578, | |
0.006723584175109864, | |
0.0065054078102111815, | |
0.006714367866516113, | |
0.006604800224304199, | |
0.006519807815551758, | |
0.006527999877929688, | |
0.006553599834442139, | |
0.006466559886932373, | |
0.006542335987091064, | |
0.006496255874633789, | |
0.006561791896820069, | |
0.006497280120849609, | |
0.0064737281799316405, | |
0.006478847980499268, | |
0.006518784046173095, | |
0.006545375823974609, | |
0.006469632148742676, | |
0.0065146880149841305, | |
0.006491136074066162, | |
0.006552576065063476, | |
0.006456319808959961, | |
0.006503424167633057, | |
0.006450143814086914, | |
0.006494207859039307, | |
0.006463488101959228, | |
0.006458367824554443, | |
0.006643712043762207, | |
0.006608895778656006, | |
0.00658022403717041, | |
0.006486015796661377, | |
0.006519807815551758, | |
0.0064839677810668945, | |
0.0065382399559021, | |
0.0064778242111206055, | |
0.006523903846740723, | |
0.006455359935760498, | |
0.006527999877929688, | |
0.006467584133148193, | |
0.006526944160461426, | |
0.00648089599609375, | |
0.006520832061767578, | |
0.006516736030578613, | |
0.006411263942718506, | |
0.006529024124145508, | |
0.006494207859039307, | |
0.006540287971496582, | |
0.00643993616104126, | |
0.006499328136444092, | |
0.0064839677810668945, | |
0.0065443840026855465, | |
0.0065064959526062015, | |
0.006516767978668213, | |
0.006582272052764892, | |
0.006591487884521485, | |
0.006603775978088379, | |
0.006445055961608887, | |
0.0065382399559021, | |
0.006481919765472412, | |
0.006546432018280029 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 155.10602840219832 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.845334725137842e-08, | |
"ram": 4.289191985937152e-08, | |
"gpu": 1.6684340058275208e-07, | |
"total": 2.88188667693502e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3469949.071916778 | |
} | |
} | |
} | |
} |