IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
58368cb verified
raw
history blame
11.1 kB
{
"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": "9c5b122c5b131ce085c14c11b158b31af90e674e",
"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": 1060.048896,
"max_global_vram": 2976.677888,
"max_process_vram": 182878.420992,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 152,
"total": 0.9975254626274105,
"mean": 0.0065626675172855975,
"stdev": 0.00023659566466229835,
"p50": 0.0064711830615997315,
"p90": 0.006707599067687988,
"p95": 0.006802718567848204,
"p99": 0.007653841381073001,
"values": [
0.007815979957580566,
0.0065089430809021,
0.00642302417755127,
0.006394382953643799,
0.006420144081115723,
0.006390704154968262,
0.006430062770843506,
0.00642302417755127,
0.006379824161529541,
0.006450543880462647,
0.0064043040275573735,
0.006694222927093506,
0.00641998291015625,
0.0064086241722106935,
0.006437104225158691,
0.006385744094848633,
0.006421904087066651,
0.006408302783966064,
0.006425104141235352,
0.006422063827514648,
0.006448462963104248,
0.006424943923950196,
0.006442062854766846,
0.0064283041954040524,
0.006386223793029785,
0.006390384197235107,
0.006405903816223145,
0.00641326379776001,
0.006390384197235107,
0.0064140639305114745,
0.006423502922058105,
0.006423664093017578,
0.006440624237060547,
0.006440783977508545,
0.006431983947753906,
0.00642382287979126,
0.006416624069213867,
0.006460943222045898,
0.006465424060821534,
0.006411983013153076,
0.006443183898925781,
0.006470383167266846,
0.006438864231109619,
0.006418703079223632,
0.006384463787078858,
0.006428944110870361,
0.006453743934631348,
0.0064043040275573735,
0.006426063060760498,
0.006435664176940918,
0.006492622852325439,
0.006401423931121826,
0.0064171037673950194,
0.006421584129333496,
0.006444464206695557,
0.006423182964324951,
0.006452144145965576,
0.006471982955932617,
0.006416463851928711,
0.006475022792816162,
0.006538064002990723,
0.006499823093414307,
0.00649022388458252,
0.006424304008483887,
0.006543023109436035,
0.00742910099029541,
0.006351984024047851,
0.006343023777008057,
0.006374703884124756,
0.0063611030578613285,
0.006412144184112549,
0.006593742847442627,
0.006707663059234619,
0.006479184150695801,
0.006400464057922363,
0.006467023849487305,
0.006549423217773438,
0.006627663135528565,
0.006555822849273682,
0.006635502815246582,
0.006585422992706299,
0.006576623916625977,
0.006552624225616455,
0.006532622814178467,
0.006468143939971924,
0.00646302318572998,
0.006543023109436035,
0.006575823783874512,
0.006565423965454101,
0.006537262916564941,
0.006446703910827637,
0.006406542778015137,
0.006415664196014404,
0.006404623031616211,
0.006439023971557617,
0.006429743766784668,
0.006387022972106934,
0.006377903938293457,
0.006376463890075684,
0.0063851032257080075,
0.006383984088897705,
0.006430704116821289,
0.00667598295211792,
0.0066484627723693845,
0.0066484627723693845,
0.007929580211639404,
0.0073982210159301755,
0.006713902950286866,
0.006743823051452637,
0.006693102836608887,
0.00669182300567627,
0.006660623073577881,
0.007498061180114746,
0.006636143207550049,
0.006684302806854248,
0.006668942928314209,
0.006703823089599609,
0.006671503067016602,
0.006656463146209717,
0.006648783206939697,
0.00663502311706543,
0.006639183044433594,
0.006672943115234375,
0.006722542762756347,
0.006676302909851074,
0.006653903007507324,
0.006725903034210205,
0.00671550178527832,
0.006693422794342041,
0.006614223003387452,
0.006650702953338623,
0.006667182922363281,
0.006663022994995117,
0.006667663097381591,
0.006707023143768311,
0.006627983093261719,
0.006704302787780761,
0.006672462940216064,
0.006642703056335449,
0.006656622886657715,
0.006659022808074951,
0.006610863208770752,
0.0067214231491088865,
0.006661582946777344,
0.006666223049163819,
0.006954862117767334,
0.006712623119354248,
0.006682383060455322,
0.006874701976776123,
0.006995182037353515,
0.00667182207107544,
0.00659902286529541
]
},
"throughput": {
"unit": "samples/s",
"value": 152.37706273646674
},
"energy": null,
"efficiency": null
}
}
}