IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1f2a3d8
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": {}, | |
"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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "41836e67badc33c5e7a42b3b53f44695ff51963e", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1832.116224, | |
"max_global_vram": 541.483008, | |
"max_process_vram": 96347.242496, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 1.000411332130432, | |
"mean": 0.007636727726186505, | |
"stdev": 0.0007340888418625553, | |
"p50": 0.007451501846313477, | |
"p90": 0.00789438009262085, | |
"p95": 0.00815470027923584, | |
"p99": 0.011845475101470925, | |
"values": [ | |
0.012810209274291991, | |
0.012448929786682128, | |
0.009911975860595702, | |
0.007527661800384521, | |
0.007493261814117432, | |
0.007459342002868652, | |
0.007471022129058838, | |
0.007649900913238525, | |
0.007827980995178223, | |
0.00781118106842041, | |
0.008053580284118652, | |
0.007833421230316162, | |
0.007822541236877442, | |
0.007886701107025147, | |
0.00789438009262085, | |
0.007833421230316162, | |
0.0075980620384216305, | |
0.007508460998535156, | |
0.007507661819458008, | |
0.007480621814727783, | |
0.007461740970611573, | |
0.007837581157684325, | |
0.007911981105804444, | |
0.007699981212615967, | |
0.007495182037353516, | |
0.00767694091796875, | |
0.007901580810546874, | |
0.007684781074523926, | |
0.007511022090911865, | |
0.007527660846710205, | |
0.007518541812896728, | |
0.007528941154479981, | |
0.0075411019325256345, | |
0.007554061889648437, | |
0.007533421993255615, | |
0.007515342235565186, | |
0.007509740829467773, | |
0.007550541877746582, | |
0.010437414169311524, | |
0.007491981983184815, | |
0.007296942234039307, | |
0.007379181861877441, | |
0.007410061836242676, | |
0.007395182132720947, | |
0.0073870220184326174, | |
0.007349421977996826, | |
0.007397421836853027, | |
0.007409582138061524, | |
0.007389262199401856, | |
0.007391501903533935, | |
0.007425422191619873, | |
0.007409902095794678, | |
0.00741422176361084, | |
0.007395182132720947, | |
0.007429902076721191, | |
0.00744478178024292, | |
0.007456621170043945, | |
0.007407981872558594, | |
0.007437742233276367, | |
0.007405101776123047, | |
0.007439822196960449, | |
0.007411821842193604, | |
0.007448462009429932, | |
0.007430702209472656, | |
0.007317422866821289, | |
0.007411181926727295, | |
0.007468142032623291, | |
0.007445901870727539, | |
0.007411501884460449, | |
0.007436622142791748, | |
0.007451021194458008, | |
0.007471982002258301, | |
0.007463982105255127, | |
0.0074267020225524906, | |
0.007461421966552735, | |
0.007398861885070801, | |
0.007303503036499024, | |
0.007314702987670898, | |
0.007501420974731446, | |
0.007373581886291504, | |
0.0073475022315979, | |
0.007450382232666016, | |
0.007451501846313477, | |
0.007386382102966309, | |
0.007461421966552735, | |
0.0073110218048095706, | |
0.007463181972503662, | |
0.007424461841583252, | |
0.007450222015380859, | |
0.0074507021903991695, | |
0.0074132618904113766, | |
0.007409582138061524, | |
0.00781118106842041, | |
0.008009900093078613, | |
0.007910380840301514, | |
0.00828861904144287, | |
0.008388460159301758, | |
0.008255820274353027, | |
0.007902860164642334, | |
0.007777101039886475, | |
0.007819820880889892, | |
0.0077583808898925785, | |
0.007743660926818848, | |
0.007705902099609375, | |
0.007444622039794922, | |
0.007317101955413819, | |
0.0073063821792602535, | |
0.007315341949462891, | |
0.0073324618339538575, | |
0.007320143222808838, | |
0.007361423015594482, | |
0.00732878303527832, | |
0.007305101871490478, | |
0.007459661960601807, | |
0.007323022842407227, | |
0.0073135819435119626, | |
0.007332302093505859, | |
0.007492941856384277, | |
0.007354702949523926, | |
0.007339982986450195, | |
0.007322062015533448, | |
0.007498381137847901, | |
0.007315022945404053, | |
0.007340622901916504, | |
0.0074817419052124025, | |
0.0074321417808532715, | |
0.007584782123565674, | |
0.007300142765045166, | |
0.007325582027435303, | |
0.0073060622215271, | |
0.007324460983276367 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.9461376462301 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |