IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
5ffdea8 verified
raw
history blame
12 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": "3b109cf557e2496fe3c954817385781e6dc5cad1",
"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,
"llama_cpp_version": null,
"llama_cpp_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.629632,
"max_global_vram": 2767.843328,
"max_process_vram": 46256.20992,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.23796728515625,
"mean": 7.23796728515625,
"stdev": 0.0,
"p50": 7.23796728515625,
"p90": 7.23796728515625,
"p95": 7.23796728515625,
"p99": 7.23796728515625,
"values": [
7.23796728515625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1069.064192,
"max_global_vram": 2910.63808,
"max_process_vram": 164978.176,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9932774109840387,
"mean": 0.006577996099232048,
"stdev": 0.00039874681599621787,
"p50": 0.006646973133087158,
"p90": 0.006859130859375,
"p95": 0.006912489891052247,
"p99": 0.007294405937194824,
"values": [
0.0071751270294189455,
0.0069839291572570805,
0.006622013092041016,
0.006693371772766113,
0.006654332160949707,
0.006920249938964844,
0.006660091876983643,
0.006577853202819824,
0.006581693172454834,
0.006448575019836426,
0.006386495113372802,
0.006339775085449219,
0.006322175025939941,
0.006259456157684327,
0.0062532172203063965,
0.006197856903076172,
0.006194976806640625,
0.006205057144165039,
0.0062354569435119625,
0.006172577857971192,
0.006190977096557617,
0.0062269759178161625,
0.0062882561683654786,
0.006164257049560547,
0.006222335815429687,
0.006343134880065918,
0.006246016025543213,
0.0062863359451293946,
0.006319295883178711,
0.006646973133087158,
0.006647613048553467,
0.006442493915557861,
0.006481694221496582,
0.006582653045654297,
0.006488093852996826,
0.006506013870239258,
0.006167616844177246,
0.00994037914276123,
0.006942329883575439,
0.0064696941375732425,
0.006077058792114258,
0.0061312980651855465,
0.006122817993164062,
0.006122976779937744,
0.006226175785064697,
0.006292416095733643,
0.006162658214569092,
0.006338335990905762,
0.0061356182098388674,
0.006532894134521484,
0.006115458011627197,
0.006592412948608398,
0.006861209869384766,
0.00686968994140625,
0.006869531154632568,
0.006846010208129883,
0.006847770214080811,
0.006835929870605469,
0.006843289852142334,
0.006812570095062256,
0.006947769165039063,
0.006859130859375,
0.0068448901176452635,
0.006882329940795898,
0.006868889808654785,
0.006822970867156983,
0.006849209785461426,
0.006809210777282715,
0.006893849849700927,
0.0068360910415649415,
0.006838171005249023,
0.006848249912261963,
0.00639641523361206,
0.006614653110504151,
0.006468894004821778,
0.006339136123657226,
0.007413684844970703,
0.0066007328033447265,
0.006507933139801025,
0.00614713716506958,
0.006329535007476806,
0.006274015903472901,
0.00612857723236084,
0.00629641580581665,
0.006230496883392334,
0.006328095912933349,
0.006125216960906983,
0.006186976909637452,
0.006359456062316894,
0.006846970081329346,
0.006326014995574951,
0.006314335823059082,
0.006459934234619141,
0.0063924150466918945,
0.006434654235839844,
0.00632665491104126,
0.006318015098571777,
0.0063004159927368165,
0.00614857816696167,
0.006106497764587403,
0.0061376972198486325,
0.006125058174133301,
0.006117057800292969,
0.00612569808959961,
0.006089218139648437,
0.006085378170013428,
0.006097537994384766,
0.0069047298431396485,
0.0068423299789428715,
0.006836250782012939,
0.006852410793304444,
0.006842649936676025,
0.006813530921936035,
0.00676137113571167,
0.006767611026763916,
0.006760410785675049,
0.006784090995788574,
0.006725851058959961,
0.006752251148223877,
0.0067700109481811524,
0.006784730911254882,
0.006723610877990722,
0.006769851207733154,
0.0067440919876098635,
0.006766810894012452,
0.006742170810699463,
0.006808730125427246,
0.00675321102142334,
0.006770650863647461,
0.006778810977935791,
0.006992568969726562,
0.006755771160125733,
0.006760410785675049,
0.006776091098785401,
0.006796250820159912,
0.006796891212463379,
0.006758971214294434,
0.006725050926208496,
0.0067492108345031734,
0.006780890941619873,
0.006788570880889893,
0.006772890090942383,
0.006716092109680175,
0.006724411964416504,
0.006808250904083252,
0.006753531932830811,
0.006787930965423584,
0.006764891147613525,
0.006755610942840576,
0.006768890857696533,
0.006764251232147217
]
},
"throughput": {
"unit": "samples/s",
"value": 152.0219813016833
},
"energy": null,
"efficiency": null
}
}
}