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
43561bc
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", | |
"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": "eee61510ab9c7b38bd9807712fa942e2f5ba255c", | |
"transformers_version": "4.40.2", | |
"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.933632, | |
"max_global_vram": 2977.398784, | |
"max_process_vram": 206770.331648, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9993391876220711, | |
"mean": 0.006365217755554588, | |
"stdev": 0.0003104702206336291, | |
"p50": 0.006242390155792236, | |
"p90": 0.0068406610488891606, | |
"p95": 0.006877716636657715, | |
"p99": 0.007003592185974121, | |
"values": [ | |
0.006988948822021485, | |
0.006440790176391602, | |
0.006801908969879151, | |
0.00665294885635376, | |
0.006545909881591797, | |
0.007022229194641114, | |
0.006810869216918945, | |
0.006842389106750489, | |
0.006305109977722168, | |
0.006445750236511231, | |
0.006335669994354248, | |
0.006332308769226074, | |
0.006362390041351318, | |
0.006119190216064453, | |
0.006144149780273438, | |
0.006117909908294678, | |
0.006120150089263916, | |
0.0061094298362731935, | |
0.006097430229187011, | |
0.006095670223236084, | |
0.006282710075378418, | |
0.0061259098052978515, | |
0.006136789798736573, | |
0.006136630058288574, | |
0.006109910011291504, | |
0.006188950061798096, | |
0.006151189804077148, | |
0.006240310192108155, | |
0.006303190231323242, | |
0.0061419100761413575, | |
0.006132949829101562, | |
0.006147510051727295, | |
0.007342068195343018, | |
0.006568149089813232, | |
0.0062062301635742185, | |
0.006108630180358887, | |
0.006066870212554931, | |
0.006101749897003174, | |
0.006119669914245606, | |
0.0061049509048461915, | |
0.0060433511734008785, | |
0.006123510837554932, | |
0.006073591232299805, | |
0.006084949970245362, | |
0.006105430126190185, | |
0.006083829879760742, | |
0.006086229801177978, | |
0.006121749877929687, | |
0.00611230993270874, | |
0.006103350162506104, | |
0.006242390155792236, | |
0.006399829864501953, | |
0.006497748851776123, | |
0.006587829113006592, | |
0.006250710010528565, | |
0.006524789810180664, | |
0.006339989185333252, | |
0.006375830173492431, | |
0.0064025502204895016, | |
0.006281429767608642, | |
0.006455830097198486, | |
0.006360788822174072, | |
0.006891668796539307, | |
0.00675662899017334, | |
0.006927669048309326, | |
0.006521588802337647, | |
0.006445109844207764, | |
0.006845748901367187, | |
0.006672149181365967, | |
0.006549269199371338, | |
0.006412469863891602, | |
0.006325590133666992, | |
0.0064623899459838865, | |
0.006252630233764649, | |
0.006474709033966065, | |
0.0063982300758361815, | |
0.00635407018661499, | |
0.006302710056304932, | |
0.00610142993927002, | |
0.006113430023193359, | |
0.0061039900779724125, | |
0.006115190982818604, | |
0.006123351097106934, | |
0.006112470149993897, | |
0.006128310203552246, | |
0.006101270198822021, | |
0.006109270095825195, | |
0.006084790229797363, | |
0.00615438985824585, | |
0.006120309829711914, | |
0.006089590072631836, | |
0.0061137499809265135, | |
0.0060923099517822266, | |
0.006109590053558349, | |
0.006082709789276123, | |
0.006096630096435547, | |
0.006119510173797607, | |
0.006129110813140869, | |
0.006103991031646728, | |
0.006099510192871094, | |
0.006117109775543213, | |
0.006072309970855713, | |
0.00606751012802124, | |
0.0060703902244567875, | |
0.006100629806518555, | |
0.006081590175628662, | |
0.006096630096435547, | |
0.006144149780273438, | |
0.006106709957122803, | |
0.0060923099517822266, | |
0.006088469982147217, | |
0.006063351154327393, | |
0.006114230155944824, | |
0.006080629825592041, | |
0.006100629806518555, | |
0.006082709789276123, | |
0.006497108936309814, | |
0.006680950164794922, | |
0.006466549873352051, | |
0.00639231014251709, | |
0.006363509178161621, | |
0.00656367015838623, | |
0.006379028797149658, | |
0.006436950206756592, | |
0.0065163087844848635, | |
0.006059669971466065, | |
0.006049109935760498, | |
0.006041911125183106, | |
0.006052949905395508, | |
0.0060428700447082515, | |
0.006076310157775879, | |
0.006111189842224121, | |
0.006862709045410156, | |
0.006914228916168213, | |
0.0068675088882446285, | |
0.006856308937072754, | |
0.006845269203186035, | |
0.00683582878112793, | |
0.0068339090347290035, | |
0.006817908763885498, | |
0.0068339090347290035, | |
0.006810708999633789, | |
0.006839509010314941, | |
0.00682014799118042, | |
0.006821108818054199, | |
0.00691326904296875, | |
0.006862548828125, | |
0.006875188827514649, | |
0.0068295888900756834, | |
0.0068051090240478515, | |
0.006815828800201416, | |
0.006825428962707519, | |
0.006813748836517334, | |
0.006828309059143067, | |
0.0068222289085388185, | |
0.006828309059143067, | |
0.0068878278732299805 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.10381614632948 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |