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
9ee51af
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": "f85421c91b2a2b1bc0a30ceba32f9580499bf023", | |
"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.052416, | |
"max_global_vram": 777.715712, | |
"max_process_vram": 152182.591488, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.30752 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9941185269355778, | |
"mean": 0.006627456846237182, | |
"stdev": 0.00036322827149229517, | |
"p50": 0.00668101692199707, | |
"p90": 0.007030696058273315, | |
"p95": 0.007110295987129211, | |
"p99": 0.007881988921165466, | |
"values": [ | |
0.006263178825378418, | |
0.006208299160003662, | |
0.006258378982543946, | |
0.006284458160400391, | |
0.0063566179275512695, | |
0.006335817813873291, | |
0.006303178787231445, | |
0.006253578186035156, | |
0.006752616882324218, | |
0.007041736125946045, | |
0.007039336204528809, | |
0.007040295124053955, | |
0.006459177970886231, | |
0.0064489378929138185, | |
0.006339978218078613, | |
0.006577258110046387, | |
0.006540136814117432, | |
0.0065039777755737304, | |
0.006532776832580567, | |
0.006419978141784668, | |
0.006537258148193359, | |
0.006611977100372314, | |
0.006454537868499756, | |
0.006747817039489746, | |
0.0067262167930603025, | |
0.0066055779457092284, | |
0.006679656982421875, | |
0.006682376861572265, | |
0.006556137084960938, | |
0.0069151768684387206, | |
0.007047815799713135, | |
0.007071176052093506, | |
0.006454698085784912, | |
0.006610857009887695, | |
0.006652777194976807, | |
0.006522697925567627, | |
0.0066284570693969725, | |
0.006646697044372559, | |
0.006696776866912842, | |
0.006833897113800049, | |
0.00714029598236084, | |
0.007008776187896728, | |
0.0071991758346557615, | |
0.007100135803222656, | |
0.007102375984191895, | |
0.007029736042022705, | |
0.007877092838287353, | |
0.007457254886627197, | |
0.0063442978858947756, | |
0.006503178119659424, | |
0.006380619049072266, | |
0.006385578155517578, | |
0.006452137947082519, | |
0.006285738945007324, | |
0.006246859073638916, | |
0.006553418159484863, | |
0.008024931907653809, | |
0.007206215858459473, | |
0.006898056030273438, | |
0.006886536121368408, | |
0.006617578029632568, | |
0.00639293909072876, | |
0.006747177124023437, | |
0.0062810988426208495, | |
0.0064606180191040035, | |
0.006145258903503418, | |
0.006478538036346435, | |
0.006254539012908935, | |
0.0062850980758666995, | |
0.006315978050231934, | |
0.0061532588005065916, | |
0.006068778991699219, | |
0.006056300163269043, | |
0.006340138912200928, | |
0.006189098834991455, | |
0.0061796588897705075, | |
0.006570697784423828, | |
0.006129738807678223, | |
0.006238859176635742, | |
0.0065297379493713375, | |
0.006304937839508057, | |
0.00711677598953247, | |
0.0068399767875671385, | |
0.006869256019592285, | |
0.006824457168579102, | |
0.006844456195831299, | |
0.006366858959197998, | |
0.006089739799499512, | |
0.006770376205444336, | |
0.0067868571281433105, | |
0.006765896797180176, | |
0.006801896095275879, | |
0.006804777145385742, | |
0.006800296783447265, | |
0.006781256198883057, | |
0.006842697143554687, | |
0.006764297008514404, | |
0.006803175926208496, | |
0.0067935771942138675, | |
0.006792137145996094, | |
0.006829257011413574, | |
0.0068577370643615725, | |
0.006809416770935058, | |
0.006801577091217041, | |
0.006771337032318115, | |
0.006868936061859131, | |
0.007886693000793457, | |
0.006824936866760254, | |
0.006836455821990967, | |
0.006815337181091309, | |
0.0068407759666442875, | |
0.006813416957855225, | |
0.00682701587677002, | |
0.0068529372215270995, | |
0.006860775947570801, | |
0.006819497108459473, | |
0.006788297176361084, | |
0.006907176971435547, | |
0.006879655838012695, | |
0.0068510169982910155, | |
0.006839656829833984, | |
0.0069124560356140135, | |
0.006835337162017822, | |
0.0068071761131286625, | |
0.0068631768226623535, | |
0.006807496070861816, | |
0.006793257236480713, | |
0.0068393368721008305, | |
0.006815176963806152, | |
0.00691485595703125, | |
0.006906217098236084, | |
0.006929255962371826, | |
0.006746857166290283, | |
0.006284778118133545, | |
0.006147978782653808, | |
0.0061202988624572754, | |
0.00614893913269043, | |
0.006165578842163086, | |
0.00610398006439209, | |
0.006138698101043701, | |
0.006111019134521485, | |
0.006313738822937012, | |
0.006116619110107422, | |
0.006119499206542969, | |
0.006081099033355713, | |
0.006095018863677979, | |
0.00612493896484375, | |
0.006143019199371338, | |
0.006111979007720947, | |
0.0061153388023376465 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.88744041656975 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |