IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
48cf8ab verified
raw
history blame
11.6 kB
{
"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": "156844ab796ad7cf3da92a0bf30b174d1bcc0aa5",
"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.195776,
"max_global_vram": 777.719808,
"max_process_vram": 159855.69792,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 163,
"total": 0.9946221899986267,
"mean": 0.006101976625758446,
"stdev": 0.00028086250171670615,
"p50": 0.005989920139312744,
"p90": 0.006355679988861084,
"p95": 0.0065974077701568615,
"p99": 0.007476274824142455,
"values": [
0.0066100797653198245,
0.006483359813690186,
0.006323998928070069,
0.006167359828948974,
0.0061923198699951176,
0.006186399936676025,
0.006170079231262207,
0.006188159942626953,
0.006172800064086914,
0.006115358829498291,
0.006089920043945312,
0.00634991979598999,
0.006082879066467285,
0.006046720027923584,
0.00604527997970581,
0.006200960159301758,
0.00634735918045044,
0.0060627198219299315,
0.00606063985824585,
0.006046079158782959,
0.006035359859466552,
0.006140160083770752,
0.00606895923614502,
0.0060553598403930665,
0.006055679798126221,
0.0060696001052856444,
0.00608591890335083,
0.006092480182647705,
0.006141280174255371,
0.006088479042053223,
0.008017439842224122,
0.007367199897766114,
0.00596799898147583,
0.005995840072631836,
0.005991040229797363,
0.005988638877868652,
0.005964159965515137,
0.005971199989318847,
0.005997600078582764,
0.005963998794555664,
0.005936960220336914,
0.006048480033874512,
0.005980958938598633,
0.005976160049438476,
0.005971199989318847,
0.005956638813018799,
0.005969279766082763,
0.005963840007781982,
0.005997600078582764,
0.006115839004516601,
0.005968800067901611,
0.005936639785766602,
0.0059883189201354985,
0.005953760147094727,
0.006026080131530762,
0.005967520236968994,
0.005964959144592285,
0.005989920139312744,
0.005944320201873779,
0.005979838848114013,
0.005958079814910889,
0.0059862399101257326,
0.0059999990463256835,
0.005975200176239014,
0.005986720085144043,
0.005946400165557861,
0.00597071886062622,
0.005958399772644043,
0.0060107197761535645,
0.005976479053497314,
0.005975679874420166,
0.00598960018157959,
0.005987040042877197,
0.005979679107666016,
0.0059630398750305175,
0.005972000122070312,
0.005979198932647705,
0.00596288013458252,
0.006011360168457032,
0.005962399959564209,
0.005979838848114013,
0.005988959789276123,
0.005994559764862061,
0.0059742388725280765,
0.005974720001220703,
0.0059484801292419434,
0.005971999168395996,
0.0059654397964477536,
0.005968639850616455,
0.005973120212554931,
0.0060073590278625485,
0.005962719917297363,
0.0059819197654724125,
0.006011198997497558,
0.006002079963684082,
0.005969600200653076,
0.005962240219116211,
0.005968799114227295,
0.0059819197654724125,
0.005991680145263672,
0.006041759014129638,
0.006019199848175049,
0.005992000102996826,
0.006376159191131592,
0.006677919864654541,
0.006744319915771484,
0.007654239177703857,
0.006306879997253418,
0.0064126400947570805,
0.006285439014434815,
0.006357759952545166,
0.006357920169830322,
0.006291200160980224,
0.006763998985290527,
0.006760000228881836,
0.00668175983428955,
0.006438398838043213,
0.006233759880065918,
0.006239200115203857,
0.006265758991241455,
0.006225120067596435,
0.006415359973907471,
0.006212638854980469,
0.006357120037078857,
0.006331520080566406,
0.006280158996582031,
0.006013599872589112,
0.005997600078582764,
0.0060033597946166995,
0.005969758987426758,
0.0059625601768493654,
0.0059651198387146,
0.005986878871917725,
0.0059576001167297365,
0.005963520050048828,
0.005961279869079589,
0.005945438861846924,
0.00598367977142334,
0.005954720020294189,
0.005952959060668945,
0.0059881601333618166,
0.005980639934539795,
0.006138719081878662,
0.006023359775543213,
0.005982560157775879,
0.0059484801292419434,
0.005991038799285889,
0.0059864001274108885,
0.005986559867858887,
0.005974079132080078,
0.005967999935150146,
0.005960480213165283,
0.005969279766082763,
0.005995519161224365,
0.005994239807128906,
0.005977280139923095,
0.005951038837432861,
0.0059257597923278804,
0.005970079898834229,
0.005958399772644043,
0.005946718215942383,
0.005934720039367676,
0.005961120128631592
]
},
"throughput": {
"unit": "samples/s",
"value": 163.88132261580154
},
"energy": null,
"efficiency": null
}
}
}