IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
958680c verified
raw
history blame
11.9 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_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": {},
"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,
"memory": true,
"latency": 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": "25912a6d02929e242ccb030ce6895e556366bb93",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.64192,
"max_global_vram": 2975.985664,
"max_process_vram": 49453.85472,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.90706640625,
"mean": 9.90706640625,
"stdev": 0.0,
"p50": 9.90706640625,
"p90": 9.90706640625,
"p95": 9.90706640625,
"p99": 9.90706640625,
"values": [
9.90706640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.691456,
"max_global_vram": 3064.307712,
"max_process_vram": 162908.4672,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.994301574230194,
"mean": 0.006584778637286053,
"stdev": 0.0004226933429226066,
"p50": 0.006806540966033936,
"p90": 0.006881741046905518,
"p95": 0.0069052610397338865,
"p99": 0.007499979496002197,
"values": [
0.006738221168518067,
0.006518062114715576,
0.00622126293182373,
0.006022062778472901,
0.006040624141693115,
0.006026702880859375,
0.006031662940979004,
0.00601694393157959,
0.006060462951660156,
0.00606462287902832,
0.0060982232093811034,
0.00606622314453125,
0.0060611038208007815,
0.006078383922576904,
0.006057262897491455,
0.006116143226623535,
0.006073102951049804,
0.0061238231658935546,
0.006139503002166748,
0.006122383117675781,
0.006110542774200439,
0.006124463081359863,
0.006101263046264648,
0.006148942947387695,
0.006152303218841553,
0.006114223003387451,
0.006155182838439941,
0.006158223152160644,
0.006110063076019287,
0.006129743099212647,
0.006129103183746338,
0.006141423225402832,
0.00616558313369751,
0.006119822978973389,
0.009070534706115723,
0.006241902828216552,
0.006097262859344483,
0.0060951828956604,
0.006107663154602051,
0.006118223190307617,
0.006141104221343994,
0.006106704235076904,
0.006075822830200196,
0.006147983074188232,
0.006098382949829102,
0.006113422870635986,
0.006107983112335205,
0.006126543045043945,
0.0061531028747558595,
0.006092623233795166,
0.0060785431861877445,
0.006115822792053222,
0.006106062889099121,
0.00614590311050415,
0.006140623092651367,
0.0064267020225524905,
0.006488302230834961,
0.0061340627670288085,
0.006127663135528564,
0.006135343074798584,
0.0061463828086853025,
0.006840140819549561,
0.006783822059631348,
0.0068745408058166506,
0.00683070182800293,
0.006842220783233642,
0.006833421230316162,
0.006837261199951172,
0.00682590103149414,
0.0068318209648132325,
0.006832140922546387,
0.006828940868377685,
0.006790380954742431,
0.006816300868988037,
0.0068123011589050295,
0.006804622173309326,
0.00805469799041748,
0.006858380794525146,
0.0068513407707214355,
0.006859180927276612,
0.006852780818939209,
0.006840940952301026,
0.006880781173706055,
0.00687838077545166,
0.006831020832061768,
0.006837901115417481,
0.006850541114807129,
0.006863020896911621,
0.006834220886230469,
0.006823980808258056,
0.006848940849304199,
0.0068263812065124515,
0.006811820983886719,
0.006844621181488037,
0.0068318209648132325,
0.006860461235046387,
0.0069223809242248534,
0.006883660793304444,
0.006904460906982422,
0.006868620872497558,
0.006889581203460693,
0.0069009408950805665,
0.006881741046905518,
0.006908780097961426,
0.006883020877838135,
0.006945261001586914,
0.006877420902252197,
0.006892460823059082,
0.006913899898529053,
0.0069156608581542964,
0.006786380767822266,
0.006889901161193848,
0.006906061172485351,
0.006851181030273438,
0.006815660953521729,
0.006808141231536865,
0.006841261863708496,
0.006823182106018066,
0.006852941989898682,
0.006826221942901611,
0.006805100917816162,
0.0068244609832763675,
0.006827661037445068,
0.00682542085647583,
0.0068086209297180175,
0.00680302095413208,
0.006793420791625976,
0.006822701930999756,
0.006859501838684082,
0.006862861156463623,
0.006827022075653076,
0.006775822162628174,
0.006811501026153565,
0.006802220821380615,
0.006845261096954346,
0.006815821170806885,
0.006806540966033936,
0.006856781005859375,
0.0068105411529541015,
0.006769902229309082,
0.006819342136383057,
0.006844141006469726,
0.006805740833282471,
0.006841740131378174,
0.0068134207725524904,
0.006827661037445068,
0.006784620761871338,
0.006790541172027588,
0.0068513407707214355,
0.006789902210235596,
0.006786861896514893
]
},
"throughput": {
"unit": "samples/s",
"value": 151.8653936728471
},
"energy": null,
"efficiency": null
}
}
}