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
beb7d4c
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_type": "vit", | |
"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.3.1", | |
"optimum_benchmark_commit": "bc46022225a5818a4648ee2abeffdd38c4a9b291", | |
"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": 1067.024384, | |
"max_global_vram": 777.732096, | |
"max_process_vram": 207178.244096, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9979994640350341, | |
"mean": 0.006789112000238328, | |
"stdev": 0.0003987547954986608, | |
"p50": 0.006848960876464844, | |
"p90": 0.007274561023712158, | |
"p95": 0.00749104061126709, | |
"p99": 0.007754445295333862, | |
"values": [ | |
0.0077715210914611815, | |
0.006972640037536621, | |
0.006968000888824463, | |
0.007060959815979004, | |
0.007263041019439697, | |
0.0076289610862731935, | |
0.007734399795532226, | |
0.007657920837402344, | |
0.007535040855407715, | |
0.00743887996673584, | |
0.007650081157684326, | |
0.007409121036529541, | |
0.0074720001220703125, | |
0.0074992008209228515, | |
0.00739631986618042, | |
0.00729184103012085, | |
0.007177600860595703, | |
0.007191840171813965, | |
0.007149120807647705, | |
0.007203999996185303, | |
0.007436641216278076, | |
0.009035520553588867, | |
0.0074345598220825196, | |
0.0072124810218811035, | |
0.007218561172485352, | |
0.0071196799278259275, | |
0.006960960865020752, | |
0.007019519805908203, | |
0.006911840915679932, | |
0.007003681182861328, | |
0.006984480857849121, | |
0.006963679790496826, | |
0.006916800975799561, | |
0.006900640964508056, | |
0.006927361011505127, | |
0.006805600166320801, | |
0.006862720966339111, | |
0.0068681612014770506, | |
0.006850241184234619, | |
0.007023359775543213, | |
0.006883841037750244, | |
0.006903841018676758, | |
0.006924961090087891, | |
0.006848960876464844, | |
0.006949920177459717, | |
0.0069041609764099125, | |
0.0068998408317565915, | |
0.007080481052398681, | |
0.006990719795227051, | |
0.007003681182861328, | |
0.006891520977020263, | |
0.00686496114730835, | |
0.00682480001449585, | |
0.006836000919342041, | |
0.006839041233062744, | |
0.00687808084487915, | |
0.0068615999221801754, | |
0.006841761112213135, | |
0.0068284811973571774, | |
0.00683440113067627, | |
0.006850560188293457, | |
0.006864480972290039, | |
0.006876481056213379, | |
0.006913121223449707, | |
0.0069398398399353025, | |
0.00692448091506958, | |
0.006899520874023437, | |
0.006884160995483398, | |
0.006850400924682617, | |
0.006868000030517578, | |
0.006834721088409424, | |
0.006988320827484131, | |
0.006868481159210205, | |
0.006928639888763428, | |
0.0069299211502075195, | |
0.006866880893707275, | |
0.006884000778198242, | |
0.0069606399536132815, | |
0.006850080966949463, | |
0.0068857607841491695, | |
0.006860160827636718, | |
0.006915840148925781, | |
0.006510400772094726, | |
0.006489601135253906, | |
0.006447041034698486, | |
0.006502240180969238, | |
0.006485761165618897, | |
0.006484961032867432, | |
0.0064934401512145995, | |
0.006431681156158447, | |
0.006461600780487061, | |
0.006471681118011475, | |
0.006445759773254394, | |
0.006447680950164795, | |
0.006441921234130859, | |
0.006417119979858398, | |
0.006410400867462158, | |
0.0063873610496520995, | |
0.006428160190582275, | |
0.006428801059722901, | |
0.006393280982971192, | |
0.006464800834655762, | |
0.006490560054779053, | |
0.006458721160888672, | |
0.006454561233520508, | |
0.006462240219116211, | |
0.006436161041259766, | |
0.006423680782318115, | |
0.006408960819244385, | |
0.006478559970855713, | |
0.006426721096038818, | |
0.006428481101989746, | |
0.006430240154266358, | |
0.006410400867462158, | |
0.006437601089477539, | |
0.00642720079421997, | |
0.0063868799209594726, | |
0.006464001178741455, | |
0.00638624095916748, | |
0.0065391998291015625, | |
0.006405120849609375, | |
0.006441121101379395, | |
0.006436161041259766, | |
0.006443520069122314, | |
0.0063854408264160155, | |
0.006410881042480469, | |
0.006390079975128173, | |
0.0064112010002136234, | |
0.006560801029205322, | |
0.006561759948730469, | |
0.0064228811264038085, | |
0.006413441181182861, | |
0.006435201168060302, | |
0.006445919990539551, | |
0.006396000862121582, | |
0.006434401035308838, | |
0.006490240097045899, | |
0.006431520938873291, | |
0.006585761070251465, | |
0.006395680904388428, | |
0.006376480102539063, | |
0.0063763208389282225, | |
0.006357921123504639, | |
0.006391200065612793, | |
0.006359681129455567, | |
0.006379361152648926, | |
0.006402719974517823 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.2946682813445 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |