rocm
/
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
a78952f
verified
{ | |
"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", | |
"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.2.1", | |
"optimum_benchmark_commit": "619f91dd928d405e72e9e7724b958f1538ca7d80", | |
"transformers_version": "4.41.0", | |
"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": 1060.53632, | |
"max_global_vram": 2854.313984, | |
"max_process_vram": 159855.673344, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.9973742866516108, | |
"mean": 0.006233589291572571, | |
"stdev": 0.00033694636881567176, | |
"p50": 0.006184183597564697, | |
"p90": 0.0065179289817810055, | |
"p95": 0.006529041028022766, | |
"p99": 0.006679434633255005, | |
"values": [ | |
0.0066209850311279295, | |
0.006425303936004639, | |
0.006259222984313965, | |
0.005946103096008301, | |
0.006081942081451416, | |
0.006045942783355713, | |
0.006169143199920654, | |
0.0063953838348388675, | |
0.006246583938598633, | |
0.006321942806243897, | |
0.006262263774871826, | |
0.006378903865814209, | |
0.006154582977294922, | |
0.006040021896362304, | |
0.005936182022094726, | |
0.006020182132720947, | |
0.006057942867279053, | |
0.006145782947540283, | |
0.005927542209625244, | |
0.006185944080352783, | |
0.006123222827911377, | |
0.006102101802825928, | |
0.006388662815093994, | |
0.006425784111022949, | |
0.006404983997344971, | |
0.006397784233093262, | |
0.006422904014587403, | |
0.0060099420547485355, | |
0.006170742988586426, | |
0.006099061965942383, | |
0.006220663070678711, | |
0.006128663063049316, | |
0.00609186315536499, | |
0.006272343158721924, | |
0.006356664180755615, | |
0.006376344203948975, | |
0.006366903781890869, | |
0.006382584095001221, | |
0.006344024181365967, | |
0.006387383937835694, | |
0.006381783962249756, | |
0.006391223907470703, | |
0.006354104042053223, | |
0.006367544174194336, | |
0.009220514297485351, | |
0.006763545036315918, | |
0.006500984191894531, | |
0.0064912247657775875, | |
0.006463704109191895, | |
0.00648418378829956, | |
0.0064875450134277346, | |
0.006480823993682861, | |
0.006490424156188965, | |
0.0064717049598693845, | |
0.006466423988342285, | |
0.006494103908538818, | |
0.006506424903869629, | |
0.006479703903198243, | |
0.006471864223480225, | |
0.0065285048484802245, | |
0.006528664112091065, | |
0.006468984127044677, | |
0.00646674394607544, | |
0.00646946382522583, | |
0.00648018503189087, | |
0.006472663879394531, | |
0.006499864101409912, | |
0.006528985023498535, | |
0.006498424053192139, | |
0.00649378490447998, | |
0.00647538423538208, | |
0.006510104179382324, | |
0.006521463871002197, | |
0.006512343883514404, | |
0.006526904106140137, | |
0.00650114393234253, | |
0.006482583999633789, | |
0.006532663822174072, | |
0.006453944206237793, | |
0.006027542114257813, | |
0.006105302810668945, | |
0.005996182918548584, | |
0.005969942092895508, | |
0.0061571431159973145, | |
0.006196982860565185, | |
0.0061960239410400395, | |
0.00615202283859253, | |
0.00613010311126709, | |
0.006162743091583252, | |
0.006190903186798095, | |
0.0062193827629089355, | |
0.005941781997680664, | |
0.005957461833953857, | |
0.005928342819213867, | |
0.005920981884002686, | |
0.0059441819190979, | |
0.006063383102416992, | |
0.00591362190246582, | |
0.005919861793518067, | |
0.005916821956634522, | |
0.006041461944580078, | |
0.006302584171295166, | |
0.005927062034606934, | |
0.005851222038269043, | |
0.005825942039489746, | |
0.005932022094726563, | |
0.006182423114776611, | |
0.005885622024536133, | |
0.006082423210144043, | |
0.0058918619155883785, | |
0.005876182079315185, | |
0.0059027419090271, | |
0.006149302005767823, | |
0.0059033818244934085, | |
0.005919382095336914, | |
0.005924181938171387, | |
0.005901782035827636, | |
0.006039543151855469, | |
0.005909302234649658, | |
0.005890101909637451, | |
0.005921623229980469, | |
0.00592562198638916, | |
0.005928182125091553, | |
0.005927862167358399, | |
0.00593474292755127, | |
0.005949781894683838, | |
0.005967061996459961, | |
0.005962583065032959, | |
0.005949942111968995, | |
0.006153782844543457, | |
0.006577465057373047, | |
0.006501783847808838, | |
0.006530105113983154, | |
0.006523223876953125, | |
0.006568984985351562, | |
0.006454423904418945, | |
0.006528345108032227, | |
0.006519224166870117, | |
0.00651778507232666, | |
0.00655890417098999, | |
0.0064920239448547365, | |
0.006467383861541748, | |
0.0062768239974975585, | |
0.006151863098144531, | |
0.006168982982635498, | |
0.005938742160797119, | |
0.00601106309890747, | |
0.005911861896514893, | |
0.006134102821350098, | |
0.005940021991729737, | |
0.005930421829223632, | |
0.006227063179016113, | |
0.005916182041168213, | |
0.005929462909698487, | |
0.005926422119140625, | |
0.00595186185836792, | |
0.005965941905975341, | |
0.0060998620986938475, | |
0.005923222064971924, | |
0.005945141792297363 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.42122013908397 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |