IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
936f8cc 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+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 827.355136,
"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.46258740234375,
"mean": 7.46258740234375,
"stdev": 0.0,
"p50": 7.46258740234375,
"p90": 7.46258740234375,
"p95": 7.46258740234375,
"p99": 7.46258740234375,
"values": [
7.46258740234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.4523231513885707e-06,
"ram": 7.802232150801765e-07,
"gpu": 3.45861387800097e-06,
"total": 5.691160244469717e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1036.980224,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 195,
"total": 0.9985351071357728,
"mean": 0.005120692857106526,
"stdev": 0.00015669436882773872,
"p50": 0.0050769920349121095,
"p90": 0.005196409702301025,
"p95": 0.0053618687152862535,
"p99": 0.005875281791687012,
"values": [
0.005662720203399658,
0.005693439960479736,
0.005636096000671387,
0.005734399795532226,
0.0057077760696411135,
0.00586956787109375,
0.005662720203399658,
0.005964799880981446,
0.005197824001312256,
0.005139455795288086,
0.005180416107177735,
0.005163008213043213,
0.005094399929046631,
0.005102591991424561,
0.005073919773101807,
0.005067776203155518,
0.0050728960037231445,
0.005197824001312256,
0.005196832180023194,
0.005107711791992187,
0.005055488109588623,
0.005059584140777588,
0.005114880084991455,
0.005063680171966553,
0.005066751956939697,
0.005071872234344482,
0.005083136081695557,
0.005036096096038819,
0.005047296047210693,
0.0050800638198852536,
0.005063680171966553,
0.005101568222045898,
0.005092351913452148,
0.005039135932922364,
0.005025792121887207,
0.005070847988128662,
0.005087232112884522,
0.005094399929046631,
0.005195775985717774,
0.005093376159667969,
0.0050657281875610355,
0.005063680171966553,
0.005325823783874512,
0.005436416149139404,
0.0052336640357971195,
0.0051333122253417966,
0.005098495960235596,
0.00505241584777832,
0.005037055969238281,
0.005031936168670655,
0.005329919815063477,
0.0050954241752624516,
0.005075967788696289,
0.005031936168670655,
0.005059584140777588,
0.005035007953643799,
0.005092351913452148,
0.005195775985717774,
0.005083136081695557,
0.005038080215454102,
0.005057536125183106,
0.0050432000160217285,
0.005024767875671386,
0.00506060791015625,
0.005022719860076904,
0.005070879936218262,
0.006047743797302246,
0.005126143932342529,
0.005067776203155518,
0.005100543975830078,
0.005076960086822509,
0.005099520206451416,
0.005061632156372071,
0.0050800638198852536,
0.00506060791015625,
0.005097472190856934,
0.005037055969238281,
0.005099520206451416,
0.005098495960235596,
0.005054463863372802,
0.005055488109588623,
0.005082111835479736,
0.005111807823181152,
0.0050657281875610355,
0.005124095916748047,
0.005083136081695557,
0.005063680171966553,
0.005044223785400391,
0.0050769920349121095,
0.005074944019317627,
0.005167103767395019,
0.005071872234344482,
0.00505241584777832,
0.005095359802246094,
0.005067776203155518,
0.005098495960235596,
0.005086207866668701,
0.005098495960235596,
0.005066751956939697,
0.0050657281875610355,
0.005075967788696289,
0.0050769920349121095,
0.0050728960037231445,
0.0051036162376403805,
0.005071872234344482,
0.005059584140777588,
0.005059584140777588,
0.005056511878967285,
0.005107711791992187,
0.005058559894561767,
0.005096415996551514,
0.005062655925750732,
0.0050769920349121095,
0.005055488109588623,
0.0050841598510742185,
0.005032959938049316,
0.005053440093994141,
0.005035007953643799,
0.005061632156372071,
0.005054463863372802,
0.005029888153076172,
0.005093376159667969,
0.005071872234344482,
0.0050841598510742185,
0.0050728960037231445,
0.005096447944641113,
0.005037055969238281,
0.005040128231048584,
0.005091360092163086,
0.005070847988128662,
0.005059584140777588,
0.005044223785400391,
0.005040128231048584,
0.005070847988128662,
0.005253087997436523,
0.005090303897857666,
0.005251071929931641,
0.005093376159667969,
0.0051138558387756345,
0.0051066880226135255,
0.005152768135070801,
0.005074944019317627,
0.0051036162376403805,
0.00510975980758667,
0.0050841598510742185,
0.005090303897857666,
0.005085184097290039,
0.005104640007019043,
0.005058559894561767,
0.005099520206451416,
0.005084224224090576,
0.005039103984832764,
0.005074944019317627,
0.0051138558387756345,
0.005213183879852295,
0.005062655925750732,
0.005056511878967285,
0.005033984184265137,
0.005058559894561767,
0.005061632156372071,
0.0051066880226135255,
0.005066751956939697,
0.0050800638198852536,
0.005061535835266113,
0.005076064109802246,
0.005064703941345215,
0.005066720008850098,
0.005049344062805176,
0.005074944019317627,
0.005078015804290771,
0.005049344062805176,
0.005056511878967285,
0.005101568222045898,
0.005098495960235596,
0.005076960086822509,
0.005253119945526123,
0.005087232112884522,
0.005071872234344482,
0.005083136081695557,
0.0051036162376403805,
0.005085184097290039,
0.005063680171966553,
0.005073919773101807,
0.0050841598510742185,
0.005054463863372802,
0.005096447944641113,
0.005138432025909424,
0.005107711791992187,
0.0050984640121459965,
0.005067776203155518,
0.005087232112884522,
0.005051392078399658,
0.005097472190856934,
0.00506060791015625,
0.005106624126434326
]
},
"throughput": {
"unit": "samples/s",
"value": 195.28607317507718
},
"energy": {
"unit": "kWh",
"cpu": 5.7754241437432957e-08,
"ram": 3.156385344778875e-08,
"gpu": 3.783134094466052e-07,
"total": 4.676315043318269e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2138435.906769894
}
}
}
}