
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
36ab293
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.434368, | |
"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.4295625, | |
"mean": 7.4295625, | |
"stdev": 0.0, | |
"p50": 7.4295625, | |
"p90": 7.4295625, | |
"p95": 7.4295625, | |
"p99": 7.4295625, | |
"values": [ | |
7.4295625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.320705930391948e-06, | |
"ram": 2.347555651120388e-06, | |
"gpu": 6.655838658001928e-06, | |
"total": 1.3324100239514263e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.683008, | |
"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.0004839382171626, | |
"mean": 0.0066257214451467756, | |
"stdev": 0.00024494950199703444, | |
"p50": 0.006684671878814697, | |
"p90": 0.00684441614151001, | |
"p95": 0.006928895950317383, | |
"p99": 0.007363071918487549, | |
"values": [ | |
0.007372799873352051, | |
0.0073400321006774905, | |
0.007353343963623047, | |
0.0073175039291381834, | |
0.00728985595703125, | |
0.007529471874237061, | |
0.006598656177520752, | |
0.0063907837867736815, | |
0.006369279861450195, | |
0.006375423908233643, | |
0.0063610877990722655, | |
0.006376448154449463, | |
0.006395904064178467, | |
0.006384704113006592, | |
0.006402048110961914, | |
0.006377471923828125, | |
0.006436863899230957, | |
0.006388735771179199, | |
0.006375423908233643, | |
0.006384640216827392, | |
0.006345727920532227, | |
0.006384640216827392, | |
0.006392831802368164, | |
0.006344704151153564, | |
0.006426623821258545, | |
0.006362112045288086, | |
0.006379551887512207, | |
0.006398911952972412, | |
0.00636518383026123, | |
0.006387712001800537, | |
0.006411263942718506, | |
0.006378496170043945, | |
0.006411263942718506, | |
0.006364160060882569, | |
0.0064174079895019534, | |
0.0063805441856384275, | |
0.00639792013168335, | |
0.006450175762176514, | |
0.006384640216827392, | |
0.006370304107666015, | |
0.006401023864746094, | |
0.00642252779006958, | |
0.006379519939422608, | |
0.006363135814666748, | |
0.006393824100494385, | |
0.0063918719291687015, | |
0.0063836159706115725, | |
0.00638262414932251, | |
0.0063805441856384275, | |
0.006391808032989502, | |
0.006387712001800537, | |
0.006654975891113281, | |
0.0064143362045288085, | |
0.006397952079772949, | |
0.006404064178466797, | |
0.0064020161628723146, | |
0.006393856048583985, | |
0.0063805441856384275, | |
0.006370304107666015, | |
0.0064143362045288085, | |
0.006433792114257812, | |
0.006375423908233643, | |
0.006388832092285157, | |
0.0063805441856384275, | |
0.006395904064178467, | |
0.006397952079772949, | |
0.006402048110961914, | |
0.006403071880340576, | |
0.006390751838684082, | |
0.00638156795501709, | |
0.006392831802368164, | |
0.006378496170043945, | |
0.006434815883636475, | |
0.006408192157745361, | |
0.006375423908233643, | |
0.006867968082427979, | |
0.006875135898590088, | |
0.0066641921997070315, | |
0.006663167953491211, | |
0.0066641921997070315, | |
0.006652927875518798, | |
0.0067348480224609375, | |
0.006763519763946534, | |
0.0067573761940002445, | |
0.0067420158386230465, | |
0.006743040084838867, | |
0.006697023868560791, | |
0.0068249602317810056, | |
0.006856704235076904, | |
0.006805568218231201, | |
0.006773759841918945, | |
0.006802432060241699, | |
0.0067870721817016606, | |
0.0067491202354431155, | |
0.0067717118263244626, | |
0.006760447978973389, | |
0.006684671878814697, | |
0.006700032234191895, | |
0.006906879901885986, | |
0.006860799789428711, | |
0.006822912216186523, | |
0.006854656219482422, | |
0.006884352207183838, | |
0.0068351998329162595, | |
0.00695091199874878, | |
0.00684441614151001, | |
0.006814720153808594, | |
0.006755328178405762, | |
0.006834176063537598, | |
0.006834176063537598, | |
0.006829055786132812, | |
0.006788095951080322, | |
0.006776832103729248, | |
0.006800384044647217, | |
0.006797311782836914, | |
0.006725632190704346, | |
0.006793216228485107, | |
0.006748159885406494, | |
0.006793216228485107, | |
0.0068249602317810056, | |
0.006778880119323731, | |
0.006754303932189941, | |
0.006750207901000976, | |
0.00678604793548584, | |
0.006783999919891357, | |
0.006749184131622315, | |
0.0066938881874084475, | |
0.006645760059356689, | |
0.006680575847625733, | |
0.006716415882110595, | |
0.006726655960083008, | |
0.006749184131622315, | |
0.006766592025756836, | |
0.0067276802062988285, | |
0.006773759841918945, | |
0.00698367977142334, | |
0.006799359798431396, | |
0.006766623973846435, | |
0.006738944053649902, | |
0.006767551898956298, | |
0.006737919807434082, | |
0.006746111869812011, | |
0.006743040084838867, | |
0.006734784126281738, | |
0.006772736072540283, | |
0.006751232147216797, | |
0.006800384044647217, | |
0.006726719856262207, | |
0.00675328016281128, | |
0.006800384044647217, | |
0.0067358717918396 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.92696067572874 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.886874316105341e-08, | |
"ram": 4.2964155140975445e-08, | |
"gpu": 1.7468924939075082e-07, | |
"total": 2.965221476927797e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3372429.370895016 | |
} | |
} | |
} | |
} |