IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
1aae553 verified
raw
history blame
10.8 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": {},
"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.3.1",
"optimum_benchmark_commit": "73dd36ea04ff1cc8259f4039b6f9d56dfb9eecd1",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1060.769792,
"max_global_vram": 777.728,
"max_process_vram": 128525.615104,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9962939472198491,
"mean": 0.006870992739447232,
"stdev": 0.00013614091669237563,
"p50": 0.006830677986145019,
"p90": 0.006985589504241944,
"p95": 0.0070912211418151854,
"p99": 0.007434700374603272,
"values": [
0.006826838970184326,
0.007051796913146973,
0.00714475679397583,
0.00723883581161499,
0.0071482758522033694,
0.007094517230987549,
0.007137876987457275,
0.007094517230987549,
0.007038036823272705,
0.006966517925262451,
0.00696763801574707,
0.0069882779121398925,
0.007078036785125732,
0.00784971284866333,
0.007588593959808349,
0.006800599098205566,
0.006781397819519043,
0.0070460371971130375,
0.006783958911895752,
0.0067961177825927735,
0.006783479213714599,
0.00680283784866333,
0.006727798938751221,
0.006757238864898682,
0.006793239116668701,
0.006739958763122559,
0.006773239135742188,
0.006736918926239014,
0.006765238761901856,
0.006773239135742188,
0.006763479232788086,
0.006809877872467041,
0.006795958995819092,
0.006789718151092529,
0.006789719104766846,
0.00678907823562622,
0.00679227876663208,
0.006827477931976318,
0.0067933988571167,
0.006812277793884277,
0.006798358917236328,
0.006785717964172364,
0.006809878826141358,
0.00680667781829834,
0.006779318809509278,
0.006785237789154052,
0.006814838886260987,
0.006783318042755127,
0.006799159049987793,
0.00678075885772705,
0.006756918907165527,
0.0067868390083312986,
0.006818997859954834,
0.0067593188285827634,
0.006749719142913818,
0.00680811882019043,
0.006820598125457764,
0.006774038791656494,
0.0068175578117370605,
0.0067777190208435055,
0.006789558887481689,
0.0068583588600158694,
0.006822518825531006,
0.006828278064727783,
0.00680811882019043,
0.0067937178611755375,
0.006802679061889649,
0.00681915807723999,
0.006825397968292237,
0.006794198989868164,
0.006795477867126465,
0.006803479194641113,
0.0068175578117370605,
0.0067916388511657716,
0.006790197849273681,
0.006802838802337646,
0.006839158058166504,
0.006772119045257569,
0.006799639225006104,
0.00696715784072876,
0.006883958816528321,
0.006845078945159912,
0.0069119582176208495,
0.006882998943328857,
0.006818678855895996,
0.006936277866363525,
0.006815158843994141,
0.006860278129577637,
0.006857878208160401,
0.006826518058776855,
0.0068505191802978515,
0.006903478145599365,
0.006863637924194336,
0.0068626790046691895,
0.006853878974914551,
0.006872118949890137,
0.006840599060058594,
0.006828117847442627,
0.006877398014068604,
0.006833718776702881,
0.0068602790832519535,
0.006883958816528321,
0.0068793191909790035,
0.0068394789695739745,
0.006826838970184326,
0.006849877834320069,
0.006859638214111328,
0.0069025177955627445,
0.006887157917022705,
0.006830677986145019,
0.006952117919921875,
0.0068764381408691405,
0.006928597927093506,
0.0069343581199646,
0.006955957889556884,
0.006928116798400879,
0.006889078140258789,
0.006859798908233642,
0.006845879077911377,
0.00686699914932251,
0.006838358879089355,
0.006904118061065674,
0.00698155689239502,
0.0069900379180908205,
0.006866199016571045,
0.006866518974304199,
0.0069148378372192384,
0.006962677955627441,
0.007057237148284912,
0.0069045982360839845,
0.0068282790184021,
0.006887318134307862,
0.006936757087707519,
0.0068130788803100585,
0.006818037986755371,
0.006889718055725098,
0.006859958171844482,
0.006861877918243408,
0.006796597957611084,
0.006920117855072022,
0.0069314780235290524,
0.006859477996826172,
0.006885878086090088,
0.006844598770141602,
0.006819478988647461
]
},
"throughput": {
"unit": "samples/s",
"value": 145.53937661131184
},
"energy": null,
"efficiency": null
}
}
}