IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e17b848
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.2.1", | |
"optimum_benchmark_commit": "156844ab796ad7cf3da92a0bf30b174d1bcc0aa5", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1833.00096, | |
"max_global_vram": 541.274112, | |
"max_process_vram": 87509.6064, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 159, | |
"total": 0.9940157513618475, | |
"mean": 0.006251671392212873, | |
"stdev": 0.0003910157552633173, | |
"p50": 0.006151531219482422, | |
"p90": 0.006663020038604737, | |
"p95": 0.006690892839431763, | |
"p99": 0.007633697309494016, | |
"values": [ | |
0.008827055931091309, | |
0.007708494186401367, | |
0.00757953405380249, | |
0.006828812122344971, | |
0.00647841215133667, | |
0.006269772052764893, | |
0.006039851188659668, | |
0.006231852054595947, | |
0.006474892139434815, | |
0.006611532211303711, | |
0.006594411849975586, | |
0.006624813079833984, | |
0.006607371807098389, | |
0.0066395320892333985, | |
0.006651052951812744, | |
0.006677291870117188, | |
0.006624492168426513, | |
0.006630413055419922, | |
0.0066236920356750485, | |
0.00662689208984375, | |
0.006608973026275635, | |
0.006656332015991211, | |
0.006650251865386963, | |
0.006685932159423828, | |
0.006655531883239746, | |
0.006690732955932617, | |
0.006668652057647705, | |
0.006647693157196045, | |
0.006639691829681396, | |
0.006720012187957764, | |
0.006648171901702881, | |
0.0066444921493530274, | |
0.00662017297744751, | |
0.006698091983795166, | |
0.006683211803436279, | |
0.0066044931411743165, | |
0.0063440117835998535, | |
0.006234090805053711, | |
0.006209611892700195, | |
0.006378252029418946, | |
0.0061339311599731446, | |
0.006311371803283692, | |
0.006237771987915039, | |
0.006149610996246338, | |
0.006226411819458008, | |
0.005988811016082764, | |
0.005951371192932129, | |
0.005921290874481201, | |
0.005948010921478271, | |
0.005915690898895263, | |
0.005937130928039551, | |
0.005902410984039307, | |
0.006185451030731201, | |
0.006410251140594483, | |
0.006300652027130127, | |
0.00613841199874878, | |
0.00608241081237793, | |
0.005923211097717285, | |
0.0059216108322143555, | |
0.005929611206054688, | |
0.0059233708381652836, | |
0.0061608109474182125, | |
0.005971692085266113, | |
0.005972811222076416, | |
0.0059020910263061525, | |
0.005986570835113525, | |
0.0059859309196472164, | |
0.005970090866088867, | |
0.005974250793457031, | |
0.00617169189453125, | |
0.005961290836334229, | |
0.00595841121673584, | |
0.005959210872650146, | |
0.0059657711982727055, | |
0.005956651210784912, | |
0.005981931209564209, | |
0.005906570911407471, | |
0.0060372910499572755, | |
0.006096331119537354, | |
0.005943690776824951, | |
0.005981451034545899, | |
0.00596881103515625, | |
0.005925130844116211, | |
0.005915211200714111, | |
0.005939051151275635, | |
0.005975050926208496, | |
0.005934891223907471, | |
0.005963211059570313, | |
0.005933129787445068, | |
0.0059464111328125, | |
0.005970251083374023, | |
0.005968330860137939, | |
0.005901930809020996, | |
0.00588529109954834, | |
0.005887851238250732, | |
0.00596721076965332, | |
0.006615851879119873, | |
0.006683372020721436, | |
0.006658092021942139, | |
0.006706892013549804, | |
0.0066417732238769536, | |
0.006636171817779541, | |
0.006672972202301025, | |
0.006692331790924072, | |
0.00635233211517334, | |
0.006289772033691406, | |
0.006331531047821045, | |
0.0066852917671203615, | |
0.006661612033843994, | |
0.006653772830963135, | |
0.006348171234130859, | |
0.006407051086425781, | |
0.006266091823577881, | |
0.006313131809234619, | |
0.006346251964569092, | |
0.006243851184844971, | |
0.00642769193649292, | |
0.006285292148590088, | |
0.006276331901550293, | |
0.006296171188354492, | |
0.0062108922004699705, | |
0.0063716921806335446, | |
0.006051530838012695, | |
0.006319531917572022, | |
0.005924651145935059, | |
0.006064490795135498, | |
0.006090091228485107, | |
0.005896811008453369, | |
0.00606193208694458, | |
0.00586945104598999, | |
0.006159690856933594, | |
0.006151531219482422, | |
0.006458090782165527, | |
0.006268970966339112, | |
0.00613889217376709, | |
0.005867690086364746, | |
0.005946890830993652, | |
0.006323690891265869, | |
0.005954250812530517, | |
0.00604721212387085, | |
0.005905291080474853, | |
0.006105771064758301, | |
0.006227531909942627, | |
0.005905291080474853, | |
0.005873770236968994, | |
0.005900169849395752, | |
0.005912970066070557, | |
0.005937130928039551, | |
0.0058545699119567874, | |
0.005853769779205323, | |
0.005920650959014892, | |
0.006067691802978515, | |
0.005899850845336914, | |
0.005931210994720459, | |
0.005903211116790772, | |
0.005924490928649903, | |
0.005912971019744873, | |
0.005948010921478271, | |
0.005957930088043213 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 159.95722379868002 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |