rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
c08d22b
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"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": true, | |
"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": "fb780fc73efc41258966d25b08045708166d6309", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1059.913728, | |
"max_global_vram": 2976.68608, | |
"max_process_vram": 181600.702464, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9961226077079773, | |
"mean": 0.0067763442701222944, | |
"stdev": 0.00021928130006501823, | |
"p50": 0.006687352180480957, | |
"p90": 0.007041655445098877, | |
"p95": 0.007211270952224731, | |
"p99": 0.007467619237899779, | |
"values": [ | |
0.00668015193939209, | |
0.006672152042388916, | |
0.006630711078643799, | |
0.006821911811828613, | |
0.006792631149291992, | |
0.006770071983337403, | |
0.006746551036834717, | |
0.006776472091674804, | |
0.006772151947021484, | |
0.0067099108695983884, | |
0.00666975212097168, | |
0.006968630790710449, | |
0.006608791828155517, | |
0.006594552040100098, | |
0.0065953521728515626, | |
0.006579831123352051, | |
0.006581592082977295, | |
0.006569911956787109, | |
0.006624311923980713, | |
0.006578551769256592, | |
0.006601111888885498, | |
0.0066484718322753905, | |
0.006602392196655273, | |
0.006645270824432373, | |
0.006613912105560303, | |
0.006625912189483643, | |
0.006645751953125, | |
0.006646390914916992, | |
0.006670072078704834, | |
0.00673039197921753, | |
0.006648311138153076, | |
0.006658232212066651, | |
0.006683512210845947, | |
0.006775671005249023, | |
0.006899032115936279, | |
0.006714070796966553, | |
0.006703991889953614, | |
0.006645912170410156, | |
0.006767351150512696, | |
0.006838232040405273, | |
0.006956632137298584, | |
0.006940471172332764, | |
0.006789591789245606, | |
0.006755190849304199, | |
0.006991991996765137, | |
0.00683535099029541, | |
0.006780632019042969, | |
0.00669071102142334, | |
0.00670031213760376, | |
0.006833590984344482, | |
0.007181591033935547, | |
0.007160790920257568, | |
0.0071463918685913085, | |
0.006938392162322998, | |
0.006807671070098877, | |
0.006720632076263428, | |
0.006792471885681152, | |
0.006796152114868164, | |
0.006972150802612305, | |
0.007093911170959473, | |
0.00695087194442749, | |
0.006895831108093262, | |
0.006933112144470215, | |
0.0068614320755004884, | |
0.007004470825195313, | |
0.00695743179321289, | |
0.007369111061096192, | |
0.007342071056365967, | |
0.007056631088256836, | |
0.006930391788482666, | |
0.00686703109741211, | |
0.006811031818389893, | |
0.006780470848083496, | |
0.006870232105255127, | |
0.006774870872497558, | |
0.006838232040405273, | |
0.006862071037292481, | |
0.0069065518379211426, | |
0.006956791877746582, | |
0.006957271099090576, | |
0.006875351905822754, | |
0.00678191089630127, | |
0.00694287109375, | |
0.0070417518615722655, | |
0.007248311042785644, | |
0.007399189949035645, | |
0.00711807107925415, | |
0.007223990917205811, | |
0.006893112182617188, | |
0.007899189949035644, | |
0.007347990989685058, | |
0.0068945508003234865, | |
0.006641592025756836, | |
0.006638072013854981, | |
0.006610391139984131, | |
0.006620151996612549, | |
0.006606872081756592, | |
0.0066148719787597655, | |
0.006615510940551758, | |
0.0066167922019958495, | |
0.006622392177581787, | |
0.006596312046051025, | |
0.006809751033782959, | |
0.00676095199584961, | |
0.0065182318687438965, | |
0.006881112098693847, | |
0.006687191009521485, | |
0.006559192180633545, | |
0.006608791828155517, | |
0.006545752048492432, | |
0.006670711994171142, | |
0.006630391120910645, | |
0.006613751888275146, | |
0.0066009521484375, | |
0.0066393518447875974, | |
0.006611351013183594, | |
0.00661951208114624, | |
0.007525910854339599, | |
0.007041591167449951, | |
0.006598872184753418, | |
0.006535831928253174, | |
0.006567990779876709, | |
0.006652152061462403, | |
0.006614232063293457, | |
0.006687352180480957, | |
0.006638391971588135, | |
0.006571832180023193, | |
0.006604152202606201, | |
0.006631671905517578, | |
0.006595030784606933, | |
0.006917912006378174, | |
0.006613271236419678, | |
0.006585912227630615, | |
0.006636951923370361, | |
0.006620791912078858, | |
0.006573592185974121, | |
0.006634070873260498, | |
0.006634871959686279, | |
0.006617591857910156, | |
0.006643832206726074, | |
0.006661111831665039, | |
0.006641751766204834, | |
0.0066271920204162595, | |
0.006647191047668457, | |
0.0065916719436645505, | |
0.006624311923980713, | |
0.006660790920257569 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.5721952925442 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |