IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1ca554f
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": "402644384abc46743e46dac65be6512bc68c9d92", | |
"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": 1825.378304, | |
"max_global_vram": 541.466624, | |
"max_process_vram": 71117.426688, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9994112901687618, | |
"mean": 0.007348612427711487, | |
"stdev": 0.0003820205321338161, | |
"p50": 0.007083913087844848, | |
"p90": 0.007955271959304809, | |
"p95": 0.007965511322021484, | |
"p99": 0.008075879812240602, | |
"values": [ | |
0.008115191459655762, | |
0.007961592197418214, | |
0.00787119197845459, | |
0.007763351917266846, | |
0.007687992095947266, | |
0.007494071960449219, | |
0.007553431987762451, | |
0.007530072212219238, | |
0.007589591979980469, | |
0.007602073192596435, | |
0.007646552085876465, | |
0.007133431911468506, | |
0.007294073104858399, | |
0.007130072116851806, | |
0.007116312980651855, | |
0.007167832851409912, | |
0.007170712947845459, | |
0.007154872894287109, | |
0.007376632213592529, | |
0.008303670883178712, | |
0.007453113079071045, | |
0.007007351875305176, | |
0.007705111980438232, | |
0.007891511917114258, | |
0.00796719217300415, | |
0.00786191177368164, | |
0.007895031929016113, | |
0.007963030815124512, | |
0.007910552024841309, | |
0.00796783208847046, | |
0.007891032218933105, | |
0.007964951038360596, | |
0.00796239185333252, | |
0.00790111207962036, | |
0.007955832004547119, | |
0.007932951927185058, | |
0.00795631217956543, | |
0.007934552192687988, | |
0.007941431999206543, | |
0.007925591945648193, | |
0.007917272090911866, | |
0.007942872047424316, | |
0.007958712100982666, | |
0.00792847204208374, | |
0.0079547119140625, | |
0.007923831939697265, | |
0.007649752140045166, | |
0.007253912925720215, | |
0.007090231895446777, | |
0.007083033084869385, | |
0.007039352893829346, | |
0.007408631801605225, | |
0.0073262319564819335, | |
0.0070801529884338375, | |
0.007072312831878662, | |
0.007215352058410645, | |
0.007223032951354981, | |
0.00709231185913086, | |
0.007064473152160644, | |
0.007038232803344727, | |
0.0070491118431091305, | |
0.007064632892608643, | |
0.007064312934875488, | |
0.007056312084197998, | |
0.0069780731201171875, | |
0.0070684728622436525, | |
0.0070644721984863285, | |
0.007045592784881592, | |
0.007059193134307861, | |
0.007053112983703614, | |
0.007054233074188233, | |
0.007047993183135986, | |
0.007057433128356934, | |
0.007967670917510987, | |
0.00797375202178955, | |
0.0075151920318603516, | |
0.007636472225189209, | |
0.007896471977233886, | |
0.008002872467041016, | |
0.00790127182006836, | |
0.007529431819915771, | |
0.007495351791381836, | |
0.007561751842498779, | |
0.0075059118270874026, | |
0.007101432800292969, | |
0.007064632892608643, | |
0.007049752235412598, | |
0.0070441532135009765, | |
0.0070606331825256346, | |
0.007052631855010987, | |
0.00706415319442749, | |
0.007048152923583985, | |
0.007003673076629639, | |
0.006980792045593261, | |
0.007084793090820313, | |
0.007062073230743408, | |
0.007005271911621094, | |
0.007052632808685302, | |
0.0070563130378723145, | |
0.007039991855621338, | |
0.0070654330253601075, | |
0.00705599308013916, | |
0.007077112197875977, | |
0.007018712997436524, | |
0.006950872898101807, | |
0.007039032936096192, | |
0.007047832012176514, | |
0.00702159309387207, | |
0.0070019130706787105, | |
0.0069561519622802735, | |
0.007060792922973633, | |
0.0070396728515625, | |
0.007069272994995117, | |
0.0070439929962158206, | |
0.0070515131950378415, | |
0.007052952766418457, | |
0.007056151866912842, | |
0.007045433044433593, | |
0.007079833030700684, | |
0.00704255199432373, | |
0.007050552845001221, | |
0.007054233074188233, | |
0.0070631918907165525, | |
0.007022552967071534, | |
0.007067032814025879, | |
0.0070559921264648435, | |
0.007055353164672851, | |
0.007039352893829346, | |
0.006981593132019043, | |
0.006953752994537353, | |
0.007060472965240479, | |
0.007057113170623779, | |
0.00748687219619751, | |
0.00724415111541748, | |
0.007044473171234131, | |
0.007063192844390869 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.0801116995935 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |