IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
468dda6
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": "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": "c31e63ddb94c29460ba90ff599147e94ff80543a", | |
"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": 1826.394112, | |
"max_global_vram": 541.462528, | |
"max_process_vram": 64235.749376, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 0.997548755645752, | |
"mean": 0.007125348254612514, | |
"stdev": 0.0003984826356326597, | |
"p50": 0.007069239854812622, | |
"p90": 0.007488262176513672, | |
"p95": 0.00789159505367279, | |
"p99": 0.00810726635456085, | |
"values": [ | |
0.008180274009704589, | |
0.006784280776977539, | |
0.006824282169342041, | |
0.006807961940765381, | |
0.00675228214263916, | |
0.006775162220001221, | |
0.0067766008377075195, | |
0.006756762027740479, | |
0.006760121822357178, | |
0.006785401821136475, | |
0.006855320930480957, | |
0.006809401035308838, | |
0.00681724214553833, | |
0.00679708194732666, | |
0.006875640869140625, | |
0.006884440898895263, | |
0.006891641139984131, | |
0.006888121128082275, | |
0.0069151611328125, | |
0.0068689208030700685, | |
0.006865400791168213, | |
0.006888920783996582, | |
0.006856922149658203, | |
0.006894200801849365, | |
0.00688412094116211, | |
0.006871480941772461, | |
0.006902040958404541, | |
0.006888121128082275, | |
0.006882361888885498, | |
0.0068873209953308106, | |
0.006869081020355224, | |
0.006848761081695557, | |
0.00688412094116211, | |
0.006873880863189697, | |
0.006905241012573242, | |
0.006927480220794677, | |
0.007049240112304687, | |
0.006931641101837158, | |
0.006849081039428711, | |
0.00683820104598999, | |
0.0067943611145019536, | |
0.006822842121124268, | |
0.006828601837158203, | |
0.0068042812347412105, | |
0.006851161003112793, | |
0.0068207612037658695, | |
0.006822361946105957, | |
0.006802361965179443, | |
0.006808761119842529, | |
0.006798201084136963, | |
0.010388260841369628, | |
0.007057240009307861, | |
0.0070978798866271975, | |
0.00702508020401001, | |
0.007164598941802979, | |
0.007093719959259033, | |
0.007288759231567383, | |
0.007094359874725341, | |
0.0070921192169189455, | |
0.00708892011642456, | |
0.007129398822784424, | |
0.00711899995803833, | |
0.007063320159912109, | |
0.0070556411743164064, | |
0.006987960815429688, | |
0.007066999912261963, | |
0.0070673198699951175, | |
0.007061240196228028, | |
0.007110680103302002, | |
0.007052440166473389, | |
0.0071353201866149905, | |
0.007505237102508545, | |
0.007993074893951416, | |
0.007963475227355956, | |
0.007888915061950684, | |
0.007381877899169922, | |
0.007853556156158447, | |
0.007950355052947998, | |
0.007992115020751953, | |
0.007942514896392822, | |
0.007539157867431641, | |
0.007413718223571777, | |
0.007489558219909668, | |
0.007453076839447022, | |
0.007218839168548584, | |
0.0072730789184570314, | |
0.007086840152740479, | |
0.00709004020690918, | |
0.0074335579872131345, | |
0.007109078884124756, | |
0.007139800071716308, | |
0.007098198890686035, | |
0.007073400020599366, | |
0.00705355978012085, | |
0.007242198944091797, | |
0.007062839984893799, | |
0.007128920078277588, | |
0.007351317882537842, | |
0.007345077991485596, | |
0.007353238105773926, | |
0.007155799865722656, | |
0.007124440193176269, | |
0.00713771915435791, | |
0.007351959228515625, | |
0.007488118171691894, | |
0.007621397018432617, | |
0.007421557903289795, | |
0.007543797016143799, | |
0.007194358825683594, | |
0.007223958969116211, | |
0.007141880035400391, | |
0.007266839027404785, | |
0.007109879970550537, | |
0.007107318878173828, | |
0.007132120132446289, | |
0.007094200134277344, | |
0.007133080005645752, | |
0.00708411979675293, | |
0.0070789999961853025, | |
0.007071159839630127, | |
0.007081560134887695, | |
0.007044919967651367, | |
0.007042200088500977, | |
0.007056280136108399, | |
0.007059000015258789, | |
0.007052919864654541, | |
0.007065239906311035, | |
0.007091959953308105, | |
0.007063000202178955, | |
0.007037079811096191, | |
0.007050680160522461, | |
0.007124759197235107, | |
0.007039480209350586, | |
0.007136919021606445, | |
0.007109720230102539, | |
0.0071101999282836914, | |
0.007134520053863526, | |
0.007101239204406739, | |
0.00712716007232666, | |
0.00711291790008545 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.34401748050155 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |