IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
8f08167 verified
raw
history blame
14.2 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.173504,
"max_global_vram": 1030.22592,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.46141796875,
"mean": 7.46141796875,
"stdev": 0.0,
"p50": 7.46141796875,
"p90": 7.46141796875,
"p95": 7.46141796875,
"p99": 7.46141796875,
"values": [
7.46141796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.5655635395832394e-06,
"ram": 8.422034951075216e-07,
"gpu": 3.4650027719998824e-06,
"total": 5.8727698066906434e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 934.969344,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 196,
"total": 1.0003905243873594,
"mean": 0.00510403328769061,
"stdev": 0.00022159458100231297,
"p50": 0.005032448053359985,
"p90": 0.005358591794967652,
"p95": 0.005423871994018554,
"p99": 0.005836185455322266,
"values": [
0.005485568046569824,
0.005386240005493164,
0.0054906878471374515,
0.005465087890625,
0.005429247856140137,
0.005488639831542969,
0.005417984008789062,
0.0054579200744628905,
0.005422080039978027,
0.005361663818359375,
0.005359615802764893,
0.005342207908630371,
0.005281792163848877,
0.005319680213928223,
0.00532480001449585,
0.005325823783874512,
0.005354496002197265,
0.005193727970123291,
0.005164031982421875,
0.005149631977081299,
0.005214208126068115,
0.005198847770690918,
0.005274623870849609,
0.005326848030090332,
0.005285888195037842,
0.005302271842956543,
0.0053340158462524415,
0.005260287761688232,
0.005292031764984131,
0.005204991817474365,
0.005238783836364746,
0.005341184139251709,
0.005326848030090332,
0.005302271842956543,
0.005338111877441406,
0.005329823970794677,
0.005303296089172363,
0.005328896045684814,
0.005355519771575928,
0.005262335777282715,
0.005371903896331787,
0.005307392120361328,
0.005337088108062744,
0.005370880126953125,
0.005296127796173096,
0.005156864166259765,
0.005169151782989502,
0.005150720119476319,
0.005167103767395019,
0.0052674560546875,
0.005242879867553711,
0.005142528057098389,
0.004966400146484375,
0.005008384227752686,
0.0049489917755126955,
0.004969471931457519,
0.005026815891265869,
0.005086207866668701,
0.005087232112884522,
0.005054463863372802,
0.005041183948516846,
0.00506982421875,
0.005039103984832764,
0.0049909758567810054,
0.004891647815704346,
0.0049387521743774416,
0.005833727836608887,
0.005053440093994141,
0.005087232112884522,
0.00502784013748169,
0.005033984184265137,
0.005028863906860351,
0.00505241584777832,
0.004925439834594727,
0.004888576030731201,
0.004931583881378174,
0.004999167919158935,
0.004999167919158935,
0.0050206718444824215,
0.005107711791992187,
0.004975615978240967,
0.004944896221160889,
0.004980735778808594,
0.0049500160217285155,
0.0049428482055664065,
0.0049797120094299315,
0.005025792121887207,
0.005014527797698975,
0.00496230411529541,
0.006211584091186524,
0.005409791946411133,
0.005882880210876465,
0.005416959762573242,
0.005355519771575928,
0.00535756778717041,
0.00535756778717041,
0.005369855880737305,
0.005261312007904053,
0.005305344104766845,
0.005337024211883545,
0.005253087997436523,
0.005141503810882568,
0.005254144191741943,
0.005228544235229492,
0.005175295829772949,
0.005135359764099121,
0.0051671361923217776,
0.005121024131774903,
0.005028863906860351,
0.005025792121887207,
0.0052070398330688475,
0.005143487930297851,
0.0050135040283203125,
0.0049797120094299315,
0.004975615978240967,
0.0049725441932678225,
0.004959231853485108,
0.005174272060394287,
0.0051138558387756345,
0.005134335994720459,
0.005155839920043945,
0.005156864166259765,
0.005222400188446045,
0.0052971520423889164,
0.005351424217224121,
0.005173247814178467,
0.005097504138946533,
0.005795839786529541,
0.005155839920043945,
0.004860928058624267,
0.004860928058624267,
0.00486195182800293,
0.004865024089813232,
0.004859903812408447,
0.004882431983947754,
0.0049090561866760255,
0.004928512096405029,
0.004881408214569092,
0.004895743846893311,
0.004892672061920166,
0.004892672061920166,
0.004956160068511963,
0.00487014389038086,
0.004914175987243652,
0.004877312183380127,
0.004946944236755371,
0.0051066880226135255,
0.005030911922454834,
0.004914175987243652,
0.004922368049621582,
0.004964352130889893,
0.004958208084106445,
0.004968448162078858,
0.004907008171081543,
0.0048895998001098635,
0.004882431983947754,
0.004887551784515381,
0.004860928058624267,
0.0048752641677856446,
0.0049827837944030765,
0.004888576030731201,
0.0049459199905395506,
0.004891647815704346,
0.004918272018432617,
0.004890624046325683,
0.004910079956054687,
0.004895743846893311,
0.004881408214569092,
0.004963327884674072,
0.004897791862487793,
0.004891647815704346,
0.0050206718444824215,
0.004923391819000244,
0.00491315221786499,
0.004896768093109131,
0.0049203200340270994,
0.004880383968353271,
0.004941823959350586,
0.004936704158782959,
0.004947968006134033,
0.00488969612121582,
0.004873216152191162,
0.004894720077514648,
0.004911104202270508,
0.004895743846893311,
0.004860928058624267,
0.004859903812408447,
0.004863999843597412,
0.004857855796813965,
0.004863999843597412,
0.004865024089813232,
0.004860928058624267,
0.00486195182800293,
0.00486195182800293,
0.00486297607421875,
0.004859903812408447
]
},
"throughput": {
"unit": "samples/s",
"value": 195.92348710023083
},
"energy": {
"unit": "kWh",
"cpu": 5.930919861110986e-08,
"ram": 3.188971987461954e-08,
"gpu": 3.499099679408903e-07,
"total": 4.411088864266197e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2267013.952271293
}
}
}
}