cuda
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json

IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
ce83927
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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.285632, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 757.37088, | |
"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.26882177734375, | |
"mean": 7.26882177734375, | |
"stdev": 0.0, | |
"p50": 7.26882177734375, | |
"p90": 7.26882177734375, | |
"p95": 7.26882177734375, | |
"p99": 7.26882177734375, | |
"values": [ | |
7.26882177734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5553156534830731e-06, | |
"ram": 8.363186483509821e-07, | |
"gpu": 1.7480569540016117e-06, | |
"total": 4.139691255835667e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 889.126912, | |
"max_global_vram": 1057.488896, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 363.853824 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 209, | |
"total": 1.0251816687583912, | |
"mean": 0.004905175448604748, | |
"stdev": 0.00014463670659285176, | |
"p50": 0.0048527359962463375, | |
"p90": 0.005054873466491699, | |
"p95": 0.0051541823387146, | |
"p99": 0.005605990543365476, | |
"values": [ | |
0.00520908784866333, | |
0.004987904071807861, | |
0.005037055969238281, | |
0.005001215934753418, | |
0.0050094079971313476, | |
0.005040128231048584, | |
0.004951039791107178, | |
0.004907008171081543, | |
0.004918272018432617, | |
0.004922368049621582, | |
0.0048752641677856446, | |
0.004878335952758789, | |
0.004850687980651855, | |
0.00485478401184082, | |
0.0048496642112731934, | |
0.0048527359962463375, | |
0.0048527359962463375, | |
0.004850687980651855, | |
0.004853759765625, | |
0.004846591949462891, | |
0.0048496642112731934, | |
0.0048527359962463375, | |
0.00485478401184082, | |
0.0048558077812194825, | |
0.004853759765625, | |
0.0048496642112731934, | |
0.004850687980651855, | |
0.004847616195678711, | |
0.0048527359962463375, | |
0.0048568320274353025, | |
0.0048496642112731934, | |
0.0048558077812194825, | |
0.0048496642112731934, | |
0.0048496642112731934, | |
0.0048527359962463375, | |
0.00485478401184082, | |
0.004853759765625, | |
0.004853759765625, | |
0.004853759765625, | |
0.0048496642112731934, | |
0.0048496642112731934, | |
0.004853759765625, | |
0.0048527359962463375, | |
0.0048496642112731934, | |
0.004851712226867676, | |
0.0048496642112731934, | |
0.004851712226867676, | |
0.004846591949462891, | |
0.004850687980651855, | |
0.004850687980651855, | |
0.004858880043029785, | |
0.004884479999542236, | |
0.004880383968353271, | |
0.004860928058624267, | |
0.004848639965057373, | |
0.004848639965057373, | |
0.004851712226867676, | |
0.00485478401184082, | |
0.0052408318519592285, | |
0.005369855880737305, | |
0.00515174388885498, | |
0.0051138558387756345, | |
0.0052008957862854, | |
0.005352447986602784, | |
0.005155807971954346, | |
0.005101568222045898, | |
0.005064703941345215, | |
0.0050800638198852536, | |
0.0050728960037231445, | |
0.005941247940063477, | |
0.0051066880226135255, | |
0.0050421757698059086, | |
0.005121024131774903, | |
0.005101568222045898, | |
0.0048455681800842285, | |
0.004882431983947754, | |
0.0050954241752624516, | |
0.00505241584777832, | |
0.004850687980651855, | |
0.004851712226867676, | |
0.004908031940460205, | |
0.004857855796813965, | |
0.004853759765625, | |
0.004850687980651855, | |
0.004850687980651855, | |
0.0048496642112731934, | |
0.004850687980651855, | |
0.004853759765625, | |
0.0048496642112731934, | |
0.004857855796813965, | |
0.00485478401184082, | |
0.004850687980651855, | |
0.0048527359962463375, | |
0.00485478401184082, | |
0.00485478401184082, | |
0.004910079956054687, | |
0.004926464080810547, | |
0.004955135822296143, | |
0.004866047859191895, | |
0.004902912139892578, | |
0.004915200233459473, | |
0.004901887893676758, | |
0.004851712226867676, | |
0.0048558077812194825, | |
0.004851712226867676, | |
0.004850687980651855, | |
0.0048527359962463375, | |
0.004850687980651855, | |
0.0048527359962463375, | |
0.004851712226867676, | |
0.0048496642112731934, | |
0.004846591949462891, | |
0.004850687980651855, | |
0.00485478401184082, | |
0.00485478401184082, | |
0.004848639965057373, | |
0.004847616195678711, | |
0.004851712226867676, | |
0.0048496642112731934, | |
0.004851712226867676, | |
0.004850687980651855, | |
0.004853759765625, | |
0.0048527359962463375, | |
0.004853759765625, | |
0.004851712226867676, | |
0.004851712226867676, | |
0.004850687980651855, | |
0.004846591949462891, | |
0.0048527359962463375, | |
0.0048558077812194825, | |
0.0048558077812194825, | |
0.005286911964416504, | |
0.005693439960479736, | |
0.00562278413772583, | |
0.005412864208221436, | |
0.005025792121887207, | |
0.004847616195678711, | |
0.004850687980651855, | |
0.004850687980651855, | |
0.004851712226867676, | |
0.004851712226867676, | |
0.004978687763214112, | |
0.0048558077812194825, | |
0.0048496642112731934, | |
0.004851712226867676, | |
0.004853759765625, | |
0.0048496642112731934, | |
0.004850687980651855, | |
0.004853759765625, | |
0.0048496642112731934, | |
0.004851712226867676, | |
0.004850687980651855, | |
0.004847616195678711, | |
0.00485478401184082, | |
0.004850687980651855, | |
0.004853759765625, | |
0.004851712226867676, | |
0.004848639965057373, | |
0.00485478401184082, | |
0.0048496642112731934, | |
0.0048496642112731934, | |
0.0048527359962463375, | |
0.004974592208862305, | |
0.0048527359962463375, | |
0.004853759765625, | |
0.004851712226867676, | |
0.0048527359962463375, | |
0.004851712226867676, | |
0.004850687980651855, | |
0.0048496642112731934, | |
0.0048496642112731934, | |
0.004853759765625, | |
0.0048527359962463375, | |
0.0048496642112731934, | |
0.004853759765625, | |
0.0048527359962463375, | |
0.004848639965057373, | |
0.004851712226867676, | |
0.004848639965057373, | |
0.004853759765625, | |
0.004853759765625, | |
0.004850687980651855, | |
0.004860928058624267, | |
0.004880383968353271, | |
0.004882431983947754, | |
0.004857855796813965, | |
0.0048496642112731934, | |
0.004844543933868409, | |
0.004846591949462891, | |
0.0048496642112731934, | |
0.004847616195678711, | |
0.004846591949462891, | |
0.004848639965057373, | |
0.004848639965057373, | |
0.004848639965057373, | |
0.004848639965057373, | |
0.0048496642112731934, | |
0.0048496642112731934, | |
0.0048496642112731934, | |
0.004846591949462891, | |
0.004851712226867676, | |
0.0048455681800842285, | |
0.004851712226867676, | |
0.004851712226867676, | |
0.004850687980651855, | |
0.004848639965057373, | |
0.004850687980651855, | |
0.004846591949462891, | |
0.004851712226867676 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 203.86630620612047 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.767309815628724e-08, | |
"ram": 3.14697185689176e-08, | |
"gpu": 3.818661335849014e-07, | |
"total": 4.7100895031010626e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 2123101.9056890802 | |
} | |
} | |
} | |
} |