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
e655933
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": "cc9b50765eac8085269af1a207e20c6a9b260b67", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1061.470208, | |
"max_global_vram": 777.70752, | |
"max_process_vram": 151540.260864, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9994162397384643, | |
"mean": 0.006892525791299755, | |
"stdev": 0.0003406878346187267, | |
"p50": 0.00677534008026123, | |
"p90": 0.0071998504638671875, | |
"p95": 0.007446473312377929, | |
"p99": 0.007807183399200441, | |
"values": [ | |
0.006583180904388428, | |
0.006804780006408691, | |
0.0068865399360656734, | |
0.006911818981170654, | |
0.0068969402313232425, | |
0.006885738849639893, | |
0.006910059928894043, | |
0.006852619171142578, | |
0.006821899890899658, | |
0.006768939971923828, | |
0.006830540180206299, | |
0.007035339832305908, | |
0.006771180152893066, | |
0.006746860027313233, | |
0.006772299766540527, | |
0.0067866997718811035, | |
0.006885580062866211, | |
0.006814060211181641, | |
0.006794859886169433, | |
0.006705259799957276, | |
0.0067459001541137695, | |
0.006742219924926757, | |
0.006810379981994629, | |
0.006857419967651367, | |
0.006952939033508301, | |
0.0069879798889160155, | |
0.006864939212799072, | |
0.00686269998550415, | |
0.006823499202728272, | |
0.006850059986114502, | |
0.009788611412048339, | |
0.007206377983093262, | |
0.0067311801910400395, | |
0.00672189998626709, | |
0.00670526123046875, | |
0.006787499904632568, | |
0.00673390007019043, | |
0.006734859943389892, | |
0.006751180171966553, | |
0.006663179874420166, | |
0.006644619941711426, | |
0.006722219944000244, | |
0.006733419895172119, | |
0.006698379993438721, | |
0.006652461051940918, | |
0.007099339008331299, | |
0.007115979194641114, | |
0.0070151791572570805, | |
0.006945419788360596, | |
0.006821418762207031, | |
0.0071105389595031735, | |
0.006699659824371338, | |
0.006916940212249756, | |
0.006699979782104492, | |
0.00666733980178833, | |
0.006684780120849609, | |
0.006656139850616455, | |
0.00675901985168457, | |
0.006773099899291992, | |
0.006654860019683838, | |
0.006651500225067139, | |
0.006682860851287842, | |
0.006679821014404297, | |
0.006681739807128906, | |
0.006696139812469483, | |
0.006677259922027588, | |
0.0067298998832702635, | |
0.006695499897003174, | |
0.007421897888183594, | |
0.007471658229827881, | |
0.007273258209228516, | |
0.007058699131011963, | |
0.007012938976287842, | |
0.0068980598449707034, | |
0.007026218891143799, | |
0.006984299182891846, | |
0.006702219963073731, | |
0.00677534008026123, | |
0.006796619892120361, | |
0.006723820209503174, | |
0.006697740077972412, | |
0.006710219860076905, | |
0.0068951787948608395, | |
0.006685420989990234, | |
0.0070278201103210446, | |
0.007150057792663574, | |
0.0072953391075134275, | |
0.007067978858947754, | |
0.006905099868774414, | |
0.007091659069061279, | |
0.007162378787994385, | |
0.007313258171081543, | |
0.0072502179145812985, | |
0.007037418842315674, | |
0.006913420200347901, | |
0.00666349983215332, | |
0.006752779960632324, | |
0.006890058994293213, | |
0.007058858871459961, | |
0.007517417907714844, | |
0.007559978008270264, | |
0.00731213903427124, | |
0.007462217807769776, | |
0.007452617168426514, | |
0.007497578144073486, | |
0.00711677885055542, | |
0.008001416206359864, | |
0.007147499084472656, | |
0.007056778907775879, | |
0.007045899868011475, | |
0.007071498870849609, | |
0.0071606187820434574, | |
0.007190059185028077, | |
0.007107499122619629, | |
0.006931499004364013, | |
0.006823180198669433, | |
0.006659500122070313, | |
0.006688139915466309, | |
0.006669099807739258, | |
0.006685900211334229, | |
0.006651821136474609, | |
0.006683979988098145, | |
0.006715020179748535, | |
0.006735499858856201, | |
0.00666733980178833, | |
0.006662059783935547, | |
0.006715499877929688, | |
0.006664939880371094, | |
0.006702859878540039, | |
0.006690380096435547, | |
0.006714860916137696, | |
0.006702701091766358, | |
0.006681581020355224, | |
0.006677579879760742, | |
0.006662059783935547, | |
0.006680778980255127, | |
0.006708139896392822, | |
0.006665259838104248, | |
0.006699820041656494, | |
0.0067311801910400395, | |
0.0066875009536743165, | |
0.0067022209167480465, | |
0.006658061027526856, | |
0.0066748600006103515, | |
0.006656779766082764 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.0846946793108 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |