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
c0fdaf7
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_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": "41836e67badc33c5e7a42b3b53f44695ff51963e", | |
"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": 1066.852352, | |
"max_global_vram": 777.70752, | |
"max_process_vram": 167526.592512, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9962555541992189, | |
"mean": 0.0068707279599946125, | |
"stdev": 0.00039681491800757013, | |
"p50": 0.006914052963256836, | |
"p90": 0.007105829048156738, | |
"p95": 0.007163812255859375, | |
"p99": 0.0074433059692382815, | |
"values": [ | |
0.006516294956207275, | |
0.006610054969787598, | |
0.006441255092620849, | |
0.00711085319519043, | |
0.007408452033996582, | |
0.007114373207092285, | |
0.0067505350112915035, | |
0.006852134227752686, | |
0.007158692836761475, | |
0.007162532806396484, | |
0.007470691204071045, | |
0.007117572784423828, | |
0.0068940529823303225, | |
0.006835974216461181, | |
0.006900612831115723, | |
0.006883813858032227, | |
0.006904932975769043, | |
0.006871973991394043, | |
0.0068394942283630375, | |
0.006798374176025391, | |
0.006837254047393799, | |
0.006895493984222412, | |
0.006896293163299561, | |
0.006865253925323486, | |
0.0069135727882385254, | |
0.0068828539848327635, | |
0.006864294052124024, | |
0.00688685417175293, | |
0.006959493160247803, | |
0.006954213142395019, | |
0.006979493141174317, | |
0.006920613765716553, | |
0.007020133972167969, | |
0.007008453845977783, | |
0.006921733856201172, | |
0.006868933200836182, | |
0.006887814044952392, | |
0.006950693130493164, | |
0.006877254009246827, | |
0.006952932834625244, | |
0.006829733848571777, | |
0.006892454147338867, | |
0.006849413871765137, | |
0.006863813877105713, | |
0.006921412944793701, | |
0.006857573986053467, | |
0.006915012836456299, | |
0.006876453876495361, | |
0.006939013004302979, | |
0.0069246129989624025, | |
0.00694413423538208, | |
0.006921574115753174, | |
0.006878693103790284, | |
0.006848934173583984, | |
0.006914052963256836, | |
0.006944454193115234, | |
0.006925892829895019, | |
0.006853253841400147, | |
0.006927493095397949, | |
0.0069174132347106934, | |
0.00691741418838501, | |
0.007062373161315918, | |
0.006935654163360595, | |
0.006929732799530029, | |
0.00693597412109375, | |
0.006857893943786621, | |
0.006880774021148682, | |
0.006867494106292725, | |
0.006859653949737548, | |
0.006981253147125244, | |
0.00720061206817627, | |
0.007193731784820557, | |
0.007106533050537109, | |
0.006958532810211182, | |
0.006994052886962891, | |
0.006974693775177002, | |
0.0068615741729736324, | |
0.0069036540985107425, | |
0.007006214141845703, | |
0.007034853935241699, | |
0.007104773044586182, | |
0.007038853168487549, | |
0.007013573169708252, | |
0.006994052886962891, | |
0.007033253192901611, | |
0.007000133037567139, | |
0.0069698929786682125, | |
0.006985572814941407, | |
0.006975334167480468, | |
0.006871173858642578, | |
0.006890853881835937, | |
0.006849893093109131, | |
0.006895333766937256, | |
0.006878053188323975, | |
0.006848293781280518, | |
0.006847814083099365, | |
0.006853414058685303, | |
0.006840293884277344, | |
0.006817893981933594, | |
0.006927653789520264, | |
0.006935173034667968, | |
0.007127492904663086, | |
0.007164132118225097, | |
0.007096773147583008, | |
0.0069460530281066895, | |
0.006994692802429199, | |
0.006940134048461914, | |
0.006942852973937989, | |
0.006950212955474854, | |
0.006900934219360352, | |
0.00693597412109375, | |
0.006951972961425781, | |
0.006963973045349121, | |
0.006943334102630616, | |
0.00694445276260376, | |
0.006946853160858154, | |
0.006915493965148926, | |
0.006936614036560059, | |
0.006948132991790771, | |
0.006908614158630371, | |
0.006924774169921875, | |
0.010327159881591797, | |
0.007299652099609375, | |
0.00657389497756958, | |
0.006714853763580322, | |
0.006653573989868164, | |
0.0066642951965332035, | |
0.006331175804138184, | |
0.006329095840454101, | |
0.006074696063995361, | |
0.006274695873260498, | |
0.006134377002716064, | |
0.0061674962043762206, | |
0.007322691917419434, | |
0.006061256885528565, | |
0.00624781608581543, | |
0.006184456825256347, | |
0.006188456058502197, | |
0.006168935775756836, | |
0.006114696979522705, | |
0.00622141695022583, | |
0.006091176986694336, | |
0.006337416172027588, | |
0.006131655216217041, | |
0.0062914958000183105 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.54498530906528 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |