Skip to content

Commit

Permalink
Remove CUDA from benchmark_large suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mariecwhite committed Oct 15, 2023
1 parent e190dd9 commit fd63b3f
Show file tree
Hide file tree
Showing 4 changed files with 859 additions and 2,262 deletions.
13 changes: 1 addition & 12 deletions build_tools/python/benchmark_suites/iree/cuda_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,4 @@ def generate(
execution_config=module_execution_configs.CUDA_BATCH_SIZE_100_CONFIG,
presets=[benchmark_presets.CUDA],
)
large_module_configs = self._generate_configs(
model_groups.CUDA_MODELS_LONG,
self.SM_80_COMPILE_CONFIG,
execution_config=module_execution_configs.CUDA_CONFIG,
presets=[benchmark_presets.CUDA_LARGE],
)
return (
run_configs
+ ubench_run_configs
+ ubench_splitk_run_configs
+ large_module_configs
)
return run_configs + ubench_run_configs + ubench_splitk_run_configs
10 changes: 0 additions & 10 deletions build_tools/python/e2e_test_framework/models/model_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,6 @@
# torch_models.MODEL_UNET_2D_FP32_TORCH,
]

CUDA_MODELS_LONG = (
RESNET50_TF_BATCHES
+ BERT_LARGE_TF_BATCHES
+ T5_LARGE_TF_BATCHES
+ BERT_LARGE_TORCH_BATCHES
+ BERT_LARGE_JAX_BATCHES
+ RESNET50_JAX_BATCHES
+ T5_LARGE_JAX_BATCHES
)

VULKAN_MODELS = [
# PyTorch model are disabled due to https://github.com/openxla/iree/issues/14993.
# torch_models.MODEL_CLIP_TEXT_SEQLEN64_FP32_TORCH,
Expand Down
203 changes: 0 additions & 203 deletions tests/e2e/test_artifacts/generated_e2e_test_fetch_models.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -256,206 +256,3 @@ iree_fetch_artifact(
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_matmul_128x256x8192_f32t_tile_config_default.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-Resnet50TFBatch8"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/tensorflow/tf_models_2.15.0.dev20230817_1692333975/RESNET50_FP32_TF_224X224X3XF32_BATCH8/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_Resnet50TFBatch8.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-Resnet50TFBatch256"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/tensorflow/tf_models_2.15.0.dev20230817_1692333975/RESNET50_FP32_TF_224X224X3XF32_BATCH256/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_Resnet50TFBatch256.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargeTFBatch16"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/tensorflow/tf_models_2.15.0.dev20230817_1692333975/BERT_LARGE_FP32_TF_384XI32_BATCH16/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargeTFBatch16.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargeTFBatch24"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/tensorflow/tf_models_2.15.0.dev20230817_1692333975/BERT_LARGE_FP32_TF_384XI32_BATCH24/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargeTFBatch24.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargeTFBatch48"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/tensorflow/tf_models_2.15.0.dev20230817_1692333975/BERT_LARGE_FP32_TF_384XI32_BATCH48/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargeTFBatch48.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-T5LargeTFBatch24"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/tensorflow/tf_models_2.15.0.dev20230817_1692333975/T5_LARGE_FP32_TF_512XI32_BATCH24/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_T5LargeTFBatch24.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch1"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH1/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch1.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch16"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH16/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch16.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch24"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH24/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch24.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch32"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH32/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch32.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch48"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH48/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch48.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch64"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH64/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch64.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch512"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH512/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch512.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch1024"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH1024/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch1024.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BertLargePTBatch1280"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/pytorch/pt_models_20231010.987_1696982151/BERT_LARGE_FP32_PT_384XI32_BATCH1280/linalg.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BertLargePTBatch1280.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BERT_LARGE_JAX_384XI32_BATCH1"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/BERT_LARGE_FP32_JAX_384XI32_BATCH1/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BERT_LARGE_JAX_384XI32_BATCH1.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BERT_LARGE_JAX_384XI32_BATCH16"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/BERT_LARGE_FP32_JAX_384XI32_BATCH16/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BERT_LARGE_JAX_384XI32_BATCH16.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BERT_LARGE_JAX_384XI32_BATCH24"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/BERT_LARGE_FP32_JAX_384XI32_BATCH24/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BERT_LARGE_JAX_384XI32_BATCH24.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BERT_LARGE_JAX_384XI32_BATCH32"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/BERT_LARGE_FP32_JAX_384XI32_BATCH32/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BERT_LARGE_JAX_384XI32_BATCH32.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-BERT_LARGE_JAX_384XI32_BATCH48"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/BERT_LARGE_FP32_JAX_384XI32_BATCH48/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_BERT_LARGE_JAX_384XI32_BATCH48.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-RESNET50_FP32_JAX_3X224X224XF32_BATCH1"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/RESNET50_FP32_JAX_3X224X224XF32_BATCH1/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_RESNET50_FP32_JAX_3X224X224XF32_BATCH1.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-RESNET50_FP32_JAX_3X224X224XF32_BATCH8"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/RESNET50_FP32_JAX_3X224X224XF32_BATCH8/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_RESNET50_FP32_JAX_3X224X224XF32_BATCH8.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-RESNET50_FP32_JAX_3X224X224XF32_BATCH64"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/RESNET50_FP32_JAX_3X224X224XF32_BATCH64/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_RESNET50_FP32_JAX_3X224X224XF32_BATCH64.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-RESNET50_FP32_JAX_3X224X224XF32_BATCH128"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/RESNET50_FP32_JAX_3X224X224XF32_BATCH128/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_RESNET50_FP32_JAX_3X224X224XF32_BATCH128.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-RESNET50_FP32_JAX_3X224X224XF32_BATCH256"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/RESNET50_FP32_JAX_3X224X224XF32_BATCH256/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_RESNET50_FP32_JAX_3X224X224XF32_BATCH256.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-T5_LARGE_FP32_JAX_512XI32_BATCH1"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/T5_LARGE_FP32_JAX_512XI32_BATCH1/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_T5_LARGE_FP32_JAX_512XI32_BATCH1.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-T5_LARGE_FP32_JAX_512XI32_BATCH16"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/T5_LARGE_FP32_JAX_512XI32_BATCH16/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_T5_LARGE_FP32_JAX_512XI32_BATCH16.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-T5_LARGE_FP32_JAX_512XI32_BATCH24"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/T5_LARGE_FP32_JAX_512XI32_BATCH24/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_T5_LARGE_FP32_JAX_512XI32_BATCH24.mlirbc"
UNPACK
)

iree_fetch_artifact(
NAME "model-T5_LARGE_FP32_JAX_512XI32_BATCH32"
SOURCE_URL "https://storage.googleapis.com/iree-model-artifacts/jax/jax_models_0.4.14_1691969180/T5_LARGE_FP32_JAX_512XI32_BATCH32/stablehlo.mlirbc"
OUTPUT "${ROOT_ARTIFACTS_DIR}/model_T5_LARGE_FP32_JAX_512XI32_BATCH32.mlirbc"
UNPACK
)
Loading

0 comments on commit fd63b3f

Please sign in to comment.