IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
d295ec8 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",
"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.0",
"optimum_benchmark_commit": "6422f8f56820540ec4876445962a50a44754b92e",
"transformers_version": "4.40.2",
"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": 1056.956416,
"max_global_vram": 778.457088,
"max_process_vram": 177323.200512,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 155,
"total": 0.997481678962708,
"mean": 0.006435365670727145,
"stdev": 0.0003646727414022388,
"p50": 0.006395174026489258,
"p90": 0.006913123512268067,
"p95": 0.006999300003051758,
"p99": 0.007516087503433228,
"values": [
0.006554372787475586,
0.006844451904296875,
0.0071274909973144535,
0.006897251129150391,
0.0068692522048950195,
0.006953412055969238,
0.006996612071990967,
0.007543649196624756,
0.007492609024047851,
0.006935811042785645,
0.007023171901702881,
0.007021892070770264,
0.007005571842193603,
0.006754372119903564,
0.006843811988830566,
0.006722372055053711,
0.006731812953948975,
0.006784132957458496,
0.006542853832244873,
0.006312933921813965,
0.005941414833068847,
0.005886536121368408,
0.005888775825500488,
0.005875175952911377,
0.005894855976104736,
0.005873415946960449,
0.005883336067199707,
0.005879655838012695,
0.005887176036834717,
0.005867815971374511,
0.0058908557891845705,
0.005950214862823486,
0.008116927146911621,
0.007248610019683838,
0.00637437391281128,
0.006283813953399658,
0.006533412933349609,
0.006250854015350342,
0.006345094203948975,
0.006349574089050293,
0.006314054012298584,
0.006397092819213867,
0.006324775218963623,
0.006395174026489258,
0.006448934078216553,
0.006324934005737305,
0.00646509313583374,
0.00644205379486084,
0.006398532867431641,
0.006370053768157959,
0.006395174026489258,
0.006430373191833496,
0.006579332828521729,
0.00655245304107666,
0.006897252082824707,
0.006561573028564453,
0.006179494857788086,
0.006326694011688233,
0.006289894104003906,
0.006266694068908691,
0.006133094787597656,
0.006436933040618897,
0.006180134773254395,
0.006205413818359375,
0.00629005479812622,
0.006331015110015869,
0.006108615875244141,
0.006090535163879395,
0.006085094928741455,
0.006095495223999024,
0.006072774887084961,
0.006113894939422607,
0.006086054801940918,
0.006103495121002197,
0.006081095218658447,
0.006059814929962158,
0.00607661485671997,
0.006112134933471679,
0.006071654796600342,
0.006345734119415283,
0.006147174835205078,
0.006127974987030029,
0.006135653972625732,
0.006152615070343017,
0.006080935001373291,
0.00641357421875,
0.006915491104125976,
0.00686541223526001,
0.006877252101898193,
0.006903491973876953,
0.006919012069702148,
0.006927812099456787,
0.006583333969116211,
0.0063236551284790036,
0.006373414039611816,
0.00633501386642456,
0.006171014785766602,
0.006495013236999512,
0.006845411777496338,
0.006421254158020019,
0.006487973213195801,
0.006474213123321533,
0.006688292980194092,
0.006755331993103028,
0.006557733058929443,
0.006518853187561035,
0.006523333072662354,
0.006559332847595215,
0.006421254158020019,
0.006635653018951416,
0.006536133766174316,
0.006427972793579101,
0.006863172054290771,
0.0064345340728759765,
0.006374053955078125,
0.00633229398727417,
0.006135334968566894,
0.006107814788818359,
0.006132774829864502,
0.006105094909667969,
0.006110054969787598,
0.006111495018005371,
0.006135654926300049,
0.0067698931694030766,
0.006915492057800293,
0.0069095721244812015,
0.006906530857086182,
0.006921572208404541,
0.00669293212890625,
0.006540293216705322,
0.006491814136505127,
0.006605253219604492,
0.0064943737983703615,
0.006549252986907959,
0.006636133193969726,
0.006494853019714355,
0.00660653305053711,
0.006682211875915527,
0.006502054214477539,
0.006593573093414307,
0.006412134170532226,
0.006182054996490479,
0.006168774127960205,
0.006184454917907715,
0.0061290950775146485,
0.006340774059295654,
0.006135654926300049,
0.006152774810791016,
0.006189734935760498,
0.006175333976745605,
0.0062006149291992186,
0.006215333938598633,
0.006230854988098144,
0.006191812992095948,
0.006198054790496827
]
},
"throughput": {
"unit": "samples/s",
"value": 155.39132524337316
},
"energy": null,
"efficiency": null
}
}
}