diff --git a/projects/pt1/CMakeLists.txt b/projects/pt1/CMakeLists.txt new file mode 100644 index 000000000..deeb99c20 --- /dev/null +++ b/projects/pt1/CMakeLists.txt @@ -0,0 +1,239 @@ +cmake_minimum_required(VERSION 3.12) + +if(POLICY CMP0068) + cmake_policy(SET CMP0068 NEW) + set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON) +endif() + +if(POLICY CMP0075) + cmake_policy(SET CMP0075 NEW) +endif() + +if(POLICY CMP0077) + cmake_policy(SET CMP0077 NEW) +endif() + +if(POLICY CMP0116) + cmake_policy(SET CMP0116 OLD) +endif() + +#------------------------------------------------------------------------------- +# Project setup and globals +#------------------------------------------------------------------------------- + +project(torch-mlir LANGUAGES CXX C) +set(CMAKE_C_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) + +macro(torch_mlir_add_llvm_external_project name identifier location) + message(STATUS "Adding LLVM external project ${name} (${identifier}) -> ${location}") + if(NOT EXISTS "${location}/CMakeLists.txt") + message(FATAL_ERROR "External project location ${location} is not valid") + endif() + list(APPEND LLVM_EXTERNAL_PROJECTS ${name}) + list(REMOVE_DUPLICATES LLVM_EXTERNAL_PROJECTS) + set(LLVM_EXTERNAL_${identifier}_SOURCE_DIR ${location} CACHE STRING "" FORCE) + set(LLVM_EXTERNAL_PROJECTS ${LLVM_EXTERNAL_PROJECTS} CACHE STRING "" FORCE) +endmacro() + +option(TORCH_MLIR_ENABLE_STABLEHLO "Add stablehlo dialect" ON) +if(TORCH_MLIR_ENABLE_STABLEHLO) + add_definitions(-DTORCH_MLIR_ENABLE_STABLEHLO) +endif() + +option(TORCH_MLIR_ENABLE_JIT_IR_IMPORTER "Enables JIT IR Importer" ON) +option(TORCH_MLIR_ENABLE_LTC "Enables LTC backend" OFF) +option(TORCH_MLIR_ENABLE_ONLY_MLIR_PYTHON_BINDINGS "Build Torch dialect MLIR Python bindings but neither JIT IR Importer nor LTC backend" OFF) +if(TORCH_MLIR_ENABLE_ONLY_MLIR_PYTHON_BINDINGS) + set(TORCH_MLIR_ENABLE_JIT_IR_IMPORTER OFF) + set(TORCH_MLIR_ENABLE_LTC OFF) +endif() + +if(TORCH_MLIR_ENABLE_LTC) + set(ENV{TORCH_MLIR_ENABLE_LTC} 1) + message(STATUS "LTC Backend build is enabled") +else() + set(ENV{TORCH_MLIR_ENABLE_LTC} 0) + message(STATUS "LTC Backend build is disabled") +endif() + +torch_mlir_add_llvm_external_project( + torch-mlir-dialects + TORCH_MLIR_DIALECTS + ${CMAKE_CURRENT_SOURCE_DIR}/externals/llvm-external-projects/torch-mlir-dialects) + +option(TORCH_MLIR_OUT_OF_TREE_BUILD "Specifies an out of tree build" OFF) + +if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR TORCH_MLIR_OUT_OF_TREE_BUILD) + message(STATUS "Torch-MLIR out-of-tree build.") + # Out-of-tree build + + #------------------------------------------------------------------------------- + # MLIR/LLVM Configuration + #------------------------------------------------------------------------------- + + find_package(MLIR REQUIRED CONFIG) + message(STATUS "Using MLIRConfig.cmake in: ${MLIR_DIR}") + message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}") + + set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/bin) + set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/lib) + + set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + + # Define the default arguments to use with 'lit', and an option for the user to + # override. + set(LIT_ARGS_DEFAULT "-sv") + if (MSVC_IDE OR XCODE) + set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar") + endif() + set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit") + + list(APPEND CMAKE_MODULE_PATH "${MLIR_CMAKE_DIR}") + list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}") + include(TableGen) + include(AddLLVM) + include(AddMLIR) + include(HandleLLVMOptions) + + # Don't try to compile the python extensions at the moment. We need + # to import lots of dependencies from AddMLIRPython to make this work. + set(MLIR_ENABLE_BINDINGS_PYTHON 1) + + set(TORCH-MLIR_BUILT_STANDALONE 1) + set(BACKEND_PACKAGE_STRING "LLVM ${LLVM_PACKAGE_VERSION}") + add_subdirectory(externals/llvm-external-projects/torch-mlir-dialects) +else() + message(STATUS "Torch-MLIR in-tree build.") + # In-tree build with LLVM_EXTERNAL_PROJECTS=torch-mlir + + option(MLIR_ENABLE_BINDINGS_PYTHON "Enables MLIR Python Bindings" OFF) + + # TODO: Fix this upstream so that global include directories are not needed. + set(MLIR_MAIN_SRC_DIR ${LLVM_MAIN_SRC_DIR}/../mlir) + set(MLIR_INCLUDE_DIR ${LLVM_MAIN_SRC_DIR}/../mlir/include) + set(MLIR_GENERATED_INCLUDE_DIR ${LLVM_BINARY_DIR}/tools/mlir/include) + set(MLIR_INCLUDE_DIRS "${MLIR_INCLUDE_DIR};${MLIR_GENERATED_INCLUDE_DIR}") +endif() + +if (TORCH_MLIR_ENABLE_STABLEHLO) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/externals/stablehlo) +endif() + +set(TORCH_MLIR_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") +set(TORCH_MLIR_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}") +message(STATUS "Building torch-mlir project at ${TORCH_MLIR_SOURCE_DIR} (into ${TORCH_MLIR_BINARY_DIR})") + +include_directories(${LLVM_INCLUDE_DIRS}) +include_directories(${MLIR_INCLUDE_DIRS}) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) +include_directories(${CMAKE_CURRENT_BINARY_DIR}/include) + +function(torch_mlir_target_includes target) + set(_dirs + $ + $ + $ + ) + # In LLVM parlance, the actual target may just be an interface and may not + # be responsible for actually compiling anything. The corresponding obj. + # target, when present, is just used for compilation and does not + # contribute to the interface properties. + # TODO: Normalize this upstream. + target_include_directories(${target} PUBLIC ${_dirs}) + if(TARGET obj.${target}) + target_include_directories(obj.${target} PRIVATE ${_dirs}) + endif() +endfunction() + +# Configure CMake. +list(APPEND CMAKE_MODULE_PATH ${MLIR_MAIN_SRC_DIR}/cmake/modules) +list(APPEND CMAKE_MODULE_PATH ${LLVM_MAIN_SRC_DIR}/cmake) + +include(TableGen) +include(AddLLVM) +include(AddMLIR) + +################################################################################ +# Setup python. +################################################################################ + +if(MLIR_ENABLE_BINDINGS_PYTHON) + include(MLIRDetectPythonEnv) + mlir_configure_python_dev_packages() +endif() + +add_subdirectory(include) +add_subdirectory(lib) +add_subdirectory(tools) + +add_custom_target(check-torch-mlir-all) +add_dependencies(check-torch-mlir-all + check-torch-mlir + check-torch-mlir-dialects + check-torch-mlir-capi + ) + +if(MLIR_ENABLE_BINDINGS_PYTHON) + # If parent projects want to configure where to place the python packages, + # respect that. + if(NOT TORCH_MLIR_PYTHON_PACKAGES_DIR) + set(TORCH_MLIR_PYTHON_PACKAGES_DIR "${CMAKE_CURRENT_BINARY_DIR}/python_packages") + endif() + add_dependencies(check-torch-mlir-all + check-torch-mlir-python + ) + add_subdirectory(python) +else() + add_custom_target(TorchMLIRPythonModules) +endif() + +add_subdirectory(test) + +if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) + install(DIRECTORY include/torch-mlir include/torch-mlir-c + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" + COMPONENT torch-mlir-headers + FILES_MATCHING + PATTERN "*.def" + PATTERN "*.h" + PATTERN "*.inc" + PATTERN "*.td" + PATTERN "LICENSE.TXT" + ) + + install(DIRECTORY ${TORCH_MLIR_BINARY_DIR}/include/torch-mlir + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" + COMPONENT torch-mlir-headers + FILES_MATCHING + PATTERN "*.def" + PATTERN "*.h" + PATTERN "*.gen" + PATTERN "*.inc" + PATTERN "*.td" + PATTERN "CMakeFiles" EXCLUDE + PATTERN "config.h" EXCLUDE + ) + + if (NOT LLVM_ENABLE_IDE) + add_llvm_install_targets(install-torch-mlir-headers + DEPENDS torch-mlir-headers + COMPONENT torch-mlir-headers) + endif() +endif() + +# Important: If loading StableHLO in this fashion, it must come last, +# after all of our libraries and test targets have been defined. +# It seems that they both abuse upstream CMake macros that accumulate +# properties. +# Getting this wrong results in building large parts of the stablehlo +# project that we don't actually depend on. Further some of those parts +# do not even compile on all platforms. +if (TORCH_MLIR_ENABLE_STABLEHLO) + set(STABLEHLO_BUILD_EMBEDDED ON) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/externals/stablehlo + ${CMAKE_CURRENT_BINARY_DIR}/stablehlo + EXCLUDE_FROM_ALL) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/externals/stablehlo) +endif() diff --git a/e2e_testing/main.py b/projects/pt1/e2e_testing/main.py similarity index 100% rename from e2e_testing/main.py rename to projects/pt1/e2e_testing/main.py diff --git a/e2e_testing/xfail_sets.py b/projects/pt1/e2e_testing/xfail_sets.py similarity index 100% rename from e2e_testing/xfail_sets.py rename to projects/pt1/e2e_testing/xfail_sets.py diff --git a/examples/ltc_backend_bert.py b/projects/pt1/examples/ltc_backend_bert.py similarity index 100% rename from examples/ltc_backend_bert.py rename to projects/pt1/examples/ltc_backend_bert.py diff --git a/examples/ltc_backend_mnist.py b/projects/pt1/examples/ltc_backend_mnist.py similarity index 100% rename from examples/ltc_backend_mnist.py rename to projects/pt1/examples/ltc_backend_mnist.py diff --git a/examples/torchdynamo_resnet18.py b/projects/pt1/examples/torchdynamo_resnet18.py similarity index 100% rename from examples/torchdynamo_resnet18.py rename to projects/pt1/examples/torchdynamo_resnet18.py diff --git a/examples/torchscript_resnet18.py b/projects/pt1/examples/torchscript_resnet18.py similarity index 100% rename from examples/torchscript_resnet18.py rename to projects/pt1/examples/torchscript_resnet18.py diff --git a/examples/torchscript_resnet18_all_output_types.py b/projects/pt1/examples/torchscript_resnet18_all_output_types.py similarity index 100% rename from examples/torchscript_resnet18_all_output_types.py rename to projects/pt1/examples/torchscript_resnet18_all_output_types.py diff --git a/examples/torchscript_resnet_inference.ipynb b/projects/pt1/examples/torchscript_resnet_inference.ipynb similarity index 100% rename from examples/torchscript_resnet_inference.ipynb rename to projects/pt1/examples/torchscript_resnet_inference.ipynb diff --git a/examples/torchscript_stablehlo_backend_resnet.py b/projects/pt1/examples/torchscript_stablehlo_backend_resnet.py similarity index 100% rename from examples/torchscript_stablehlo_backend_resnet.py rename to projects/pt1/examples/torchscript_stablehlo_backend_resnet.py diff --git a/examples/torchscript_stablehlo_backend_tinybert.py b/projects/pt1/examples/torchscript_stablehlo_backend_tinybert.py similarity index 100% rename from examples/torchscript_stablehlo_backend_tinybert.py rename to projects/pt1/examples/torchscript_stablehlo_backend_tinybert.py diff --git a/python/CMakeLists.txt b/projects/pt1/python/CMakeLists.txt similarity index 100% rename from python/CMakeLists.txt rename to projects/pt1/python/CMakeLists.txt diff --git a/python/TorchMLIRModule.cpp b/projects/pt1/python/TorchMLIRModule.cpp similarity index 100% rename from python/TorchMLIRModule.cpp rename to projects/pt1/python/TorchMLIRModule.cpp diff --git a/python/test/CMakeLists.txt b/projects/pt1/python/test/CMakeLists.txt similarity index 100% rename from python/test/CMakeLists.txt rename to projects/pt1/python/test/CMakeLists.txt diff --git a/python/test/annotations-sugar.py b/projects/pt1/python/test/annotations-sugar.py similarity index 100% rename from python/test/annotations-sugar.py rename to projects/pt1/python/test/annotations-sugar.py diff --git a/python/test/compile_api/already_scripted.py b/projects/pt1/python/test/compile_api/already_scripted.py similarity index 100% rename from python/test/compile_api/already_scripted.py rename to projects/pt1/python/test/compile_api/already_scripted.py diff --git a/python/test/compile_api/already_traced.py b/projects/pt1/python/test/compile_api/already_traced.py similarity index 100% rename from python/test/compile_api/already_traced.py rename to projects/pt1/python/test/compile_api/already_traced.py diff --git a/python/test/compile_api/backend_legal_ops.py b/projects/pt1/python/test/compile_api/backend_legal_ops.py similarity index 100% rename from python/test/compile_api/backend_legal_ops.py rename to projects/pt1/python/test/compile_api/backend_legal_ops.py diff --git a/python/test/compile_api/basic.py b/projects/pt1/python/test/compile_api/basic.py similarity index 100% rename from python/test/compile_api/basic.py rename to projects/pt1/python/test/compile_api/basic.py diff --git a/python/test/compile_api/make_fx.py b/projects/pt1/python/test/compile_api/make_fx.py similarity index 100% rename from python/test/compile_api/make_fx.py rename to projects/pt1/python/test/compile_api/make_fx.py diff --git a/python/test/compile_api/multiple_methods.py b/projects/pt1/python/test/compile_api/multiple_methods.py similarity index 100% rename from python/test/compile_api/multiple_methods.py rename to projects/pt1/python/test/compile_api/multiple_methods.py diff --git a/python/test/compile_api/output_type_spec.py b/projects/pt1/python/test/compile_api/output_type_spec.py similarity index 100% rename from python/test/compile_api/output_type_spec.py rename to projects/pt1/python/test/compile_api/output_type_spec.py diff --git a/python/test/compile_api/tracing.py b/projects/pt1/python/test/compile_api/tracing.py similarity index 100% rename from python/test/compile_api/tracing.py rename to projects/pt1/python/test/compile_api/tracing.py diff --git a/python/test/debug/lockstep_basic.py b/projects/pt1/python/test/debug/lockstep_basic.py similarity index 100% rename from python/test/debug/lockstep_basic.py rename to projects/pt1/python/test/debug/lockstep_basic.py diff --git a/python/test/dynamo_fx_importer/basic.py b/projects/pt1/python/test/dynamo_fx_importer/basic.py similarity index 100% rename from python/test/dynamo_fx_importer/basic.py rename to projects/pt1/python/test/dynamo_fx_importer/basic.py diff --git a/python/test/lazy_backend/device_data_name.py b/projects/pt1/python/test/lazy_backend/device_data_name.py similarity index 100% rename from python/test/lazy_backend/device_data_name.py rename to projects/pt1/python/test/lazy_backend/device_data_name.py diff --git a/python/test/lazy_backend/run_test.py b/projects/pt1/python/test/lazy_backend/run_test.py similarity index 100% rename from python/test/lazy_backend/run_test.py rename to projects/pt1/python/test/lazy_backend/run_test.py diff --git a/python/test/lit.cfg.py b/projects/pt1/python/test/lit.cfg.py similarity index 100% rename from python/test/lit.cfg.py rename to projects/pt1/python/test/lit.cfg.py diff --git a/python/test/lit.site.cfg.py.in b/projects/pt1/python/test/lit.site.cfg.py.in similarity index 100% rename from python/test/lit.site.cfg.py.in rename to projects/pt1/python/test/lit.site.cfg.py.in diff --git a/python/test/torchscript_e2e_test/README.md b/projects/pt1/python/test/torchscript_e2e_test/README.md similarity index 100% rename from python/test/torchscript_e2e_test/README.md rename to projects/pt1/python/test/torchscript_e2e_test/README.md diff --git a/python/test/torchscript_e2e_test/basic.py b/projects/pt1/python/test/torchscript_e2e_test/basic.py similarity index 100% rename from python/test/torchscript_e2e_test/basic.py rename to projects/pt1/python/test/torchscript_e2e_test/basic.py diff --git a/python/test/torchscript_e2e_test/compilation_failure.py b/projects/pt1/python/test/torchscript_e2e_test/compilation_failure.py similarity index 100% rename from python/test/torchscript_e2e_test/compilation_failure.py rename to projects/pt1/python/test/torchscript_e2e_test/compilation_failure.py diff --git a/python/test/torchscript_e2e_test/error_reports.py b/projects/pt1/python/test/torchscript_e2e_test/error_reports.py similarity index 100% rename from python/test/torchscript_e2e_test/error_reports.py rename to projects/pt1/python/test/torchscript_e2e_test/error_reports.py diff --git a/python/test/torchscript_e2e_test/non_tensor_values.py b/projects/pt1/python/test/torchscript_e2e_test/non_tensor_values.py similarity index 100% rename from python/test/torchscript_e2e_test/non_tensor_values.py rename to projects/pt1/python/test/torchscript_e2e_test/non_tensor_values.py diff --git a/python/test/torchscript_e2e_test/runtime_failure.py b/projects/pt1/python/test/torchscript_e2e_test/runtime_failure.py similarity index 100% rename from python/test/torchscript_e2e_test/runtime_failure.py rename to projects/pt1/python/test/torchscript_e2e_test/runtime_failure.py diff --git a/python/test/torchscript_e2e_test/submodule.py b/projects/pt1/python/test/torchscript_e2e_test/submodule.py similarity index 100% rename from python/test/torchscript_e2e_test/submodule.py rename to projects/pt1/python/test/torchscript_e2e_test/submodule.py diff --git a/python/torch_mlir/__init__.py b/projects/pt1/python/torch_mlir/__init__.py similarity index 100% rename from python/torch_mlir/__init__.py rename to projects/pt1/python/torch_mlir/__init__.py diff --git a/python/torch_mlir/_dynamo_fx_importer.py b/projects/pt1/python/torch_mlir/_dynamo_fx_importer.py similarity index 100% rename from python/torch_mlir/_dynamo_fx_importer.py rename to projects/pt1/python/torch_mlir/_dynamo_fx_importer.py diff --git a/python/torch_mlir/_torch_mlir_custom_op_example/CMakeLists.txt b/projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/CMakeLists.txt similarity index 100% rename from python/torch_mlir/_torch_mlir_custom_op_example/CMakeLists.txt rename to projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/CMakeLists.txt diff --git a/python/torch_mlir/_torch_mlir_custom_op_example/README.md b/projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/README.md similarity index 100% rename from python/torch_mlir/_torch_mlir_custom_op_example/README.md rename to projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/README.md diff --git a/python/torch_mlir/_torch_mlir_custom_op_example/__init__.py b/projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/__init__.py similarity index 100% rename from python/torch_mlir/_torch_mlir_custom_op_example/__init__.py rename to projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/__init__.py diff --git a/python/torch_mlir/_torch_mlir_custom_op_example/torch_mlir_custom_op_example.cpp b/projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/torch_mlir_custom_op_example.cpp similarity index 100% rename from python/torch_mlir/_torch_mlir_custom_op_example/torch_mlir_custom_op_example.cpp rename to projects/pt1/python/torch_mlir/_torch_mlir_custom_op_example/torch_mlir_custom_op_example.cpp diff --git a/python/torch_mlir/_version.py b/projects/pt1/python/torch_mlir/_version.py similarity index 100% rename from python/torch_mlir/_version.py rename to projects/pt1/python/torch_mlir/_version.py diff --git a/python/torch_mlir/cmake/modules/TorchMLIRPyTorch.cmake b/projects/pt1/python/torch_mlir/cmake/modules/TorchMLIRPyTorch.cmake similarity index 100% rename from python/torch_mlir/cmake/modules/TorchMLIRPyTorch.cmake rename to projects/pt1/python/torch_mlir/cmake/modules/TorchMLIRPyTorch.cmake diff --git a/python/torch_mlir/compiler_utils.py b/projects/pt1/python/torch_mlir/compiler_utils.py similarity index 100% rename from python/torch_mlir/compiler_utils.py rename to projects/pt1/python/torch_mlir/compiler_utils.py diff --git a/python/torch_mlir/csrc/.clang-format b/projects/pt1/python/torch_mlir/csrc/.clang-format similarity index 100% rename from python/torch_mlir/csrc/.clang-format rename to projects/pt1/python/torch_mlir/csrc/.clang-format diff --git a/python/torch_mlir/csrc/base_lazy_backend/CMakeLists.txt b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/CMakeLists.txt similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/CMakeLists.txt rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/CMakeLists.txt diff --git a/python/torch_mlir/csrc/base_lazy_backend/README.md b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/README.md similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/README.md rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/README.md diff --git a/python/torch_mlir/csrc/base_lazy_backend/backend_impl.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/backend_impl.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/backend_impl.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/backend_impl.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/backend_impl.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/backend_impl.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/backend_impl.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/backend_impl.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/dynamic_ir.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ir_builder.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ir_builder.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ir_builder.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ir_builder.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_lowering_context.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_native_functions.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_native_functions.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_native_functions.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_native_functions.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_node.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_node.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_node.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_node.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/mlir_node_lowering.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/device_data.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/device_data.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/device_data.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/device_data.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/device_data.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/device_data.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/device_data.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/device_data.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/generic.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/generic.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/generic.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/generic.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/generic.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/generic.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/generic.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/generic.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/index.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/index.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/index.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/index.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/index.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/index.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/index.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/index.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/ivalue.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/split.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/split.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/split.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/split.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/split.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/split.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/split.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/split.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/to_copy.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/to_copy.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/to_copy.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/to_copy.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/ops/unbind_int.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/shape_inference.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/shape_inference.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/shape_inference.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/shape_inference.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/tensor.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/tensor.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/tensor.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/tensor.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/tensor.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/tensor.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/tensor.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/tensor.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/debug.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/debug.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/debug.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/debug.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/exception.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/exception.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/exception.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/exception.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/jit_utils.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/string_utils.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/string_utils.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/string_utils.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/string_utils.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/sys_utils.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/sys_utils.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/sys_utils.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/sys_utils.h diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.cpp b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.cpp similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.cpp rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.cpp diff --git a/python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.h b/projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.h similarity index 100% rename from python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.h rename to projects/pt1/python/torch_mlir/csrc/base_lazy_backend/utils/tensor_utils.h diff --git a/python/torch_mlir/csrc/reference_lazy_backend/CMakeLists.txt b/projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/CMakeLists.txt similarity index 100% rename from python/torch_mlir/csrc/reference_lazy_backend/CMakeLists.txt rename to projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/CMakeLists.txt diff --git a/python/torch_mlir/csrc/reference_lazy_backend/__init__.py b/projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/__init__.py similarity index 100% rename from python/torch_mlir/csrc/reference_lazy_backend/__init__.py rename to projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/__init__.py diff --git a/python/torch_mlir/csrc/reference_lazy_backend/backend_impl.cpp b/projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/backend_impl.cpp similarity index 100% rename from python/torch_mlir/csrc/reference_lazy_backend/backend_impl.cpp rename to projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/backend_impl.cpp diff --git a/python/torch_mlir/csrc/reference_lazy_backend/backend_impl.h b/projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/backend_impl.h similarity index 100% rename from python/torch_mlir/csrc/reference_lazy_backend/backend_impl.h rename to projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/backend_impl.h diff --git a/python/torch_mlir/csrc/reference_lazy_backend/gen_dummy_lib.py b/projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/gen_dummy_lib.py similarity index 100% rename from python/torch_mlir/csrc/reference_lazy_backend/gen_dummy_lib.py rename to projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/gen_dummy_lib.py diff --git a/python/torch_mlir/csrc/reference_lazy_backend/reference_lazy_backend_pybind.cpp b/projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/reference_lazy_backend_pybind.cpp similarity index 100% rename from python/torch_mlir/csrc/reference_lazy_backend/reference_lazy_backend_pybind.cpp rename to projects/pt1/python/torch_mlir/csrc/reference_lazy_backend/reference_lazy_backend_pybind.cpp diff --git a/python/torch_mlir/dialects/TorchBinding.td b/projects/pt1/python/torch_mlir/dialects/TorchBinding.td similarity index 100% rename from python/torch_mlir/dialects/TorchBinding.td rename to projects/pt1/python/torch_mlir/dialects/TorchBinding.td diff --git a/python/torch_mlir/dialects/torch/__init__.py b/projects/pt1/python/torch_mlir/dialects/torch/__init__.py similarity index 100% rename from python/torch_mlir/dialects/torch/__init__.py rename to projects/pt1/python/torch_mlir/dialects/torch/__init__.py diff --git a/python/torch_mlir/dialects/torch/importer/__init__.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/__init__.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/__init__.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/__init__.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/CMakeLists.txt b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/CMakeLists.txt similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/CMakeLists.txt rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/CMakeLists.txt diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/__init__.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/__init__.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/__init__.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/__init__.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/__init__.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/__init__.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/__init__.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/__init__.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/abstract_interp_lib_gen.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/abstract_interp_lib_gen.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/abstract_interp_lib_gen.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/abstract_interp_lib_gen.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/library_generator.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/library_generator.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/library_generator.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/library_generator.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/registry.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/registry.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/registry.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/registry.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/testing_framework.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/testing_framework.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/testing_framework.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/testing_framework.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/torch_ods_gen.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/torch_ods_gen.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/torch_ods_gen.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/torch_ods_gen.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/utils.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/utils.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/utils.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/build_tools/utils.py diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/CMakeLists.txt b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/CMakeLists.txt similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/CMakeLists.txt rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/CMakeLists.txt diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/class_annotator_pybind.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/function_importer.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/get_registered_ops.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/import_options_pybind.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/init_python_bindings.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/init_python_bindings.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/init_python_bindings.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/init_python_bindings.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/ivalue_importer.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/mlir_utils.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/mlir_utils.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/mlir_utils.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/mlir_utils.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/module_builder.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/node_importer.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.cpp b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.cpp similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.cpp rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.cpp diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.h b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.h similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.h rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/csrc/torch_to_mlir_utils.h diff --git a/python/torch_mlir/dialects/torch/importer/jit_ir/torchscript_annotations.py b/projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/torchscript_annotations.py similarity index 100% rename from python/torch_mlir/dialects/torch/importer/jit_ir/torchscript_annotations.py rename to projects/pt1/python/torch_mlir/dialects/torch/importer/jit_ir/torchscript_annotations.py diff --git a/python/torch_mlir/dynamo.py b/projects/pt1/python/torch_mlir/dynamo.py similarity index 100% rename from python/torch_mlir/dynamo.py rename to projects/pt1/python/torch_mlir/dynamo.py diff --git a/python/torch_mlir_e2e_test/CMakeLists.txt b/projects/pt1/python/torch_mlir_e2e_test/CMakeLists.txt similarity index 100% rename from python/torch_mlir_e2e_test/CMakeLists.txt rename to projects/pt1/python/torch_mlir_e2e_test/CMakeLists.txt diff --git a/python/torch_mlir_e2e_test/__init__.py b/projects/pt1/python/torch_mlir_e2e_test/__init__.py similarity index 100% rename from python/torch_mlir_e2e_test/__init__.py rename to projects/pt1/python/torch_mlir_e2e_test/__init__.py diff --git a/python/torch_mlir_e2e_test/annotations.py b/projects/pt1/python/torch_mlir_e2e_test/annotations.py similarity index 100% rename from python/torch_mlir_e2e_test/annotations.py rename to projects/pt1/python/torch_mlir_e2e_test/annotations.py diff --git a/python/torch_mlir_e2e_test/configs/__init__.py b/projects/pt1/python/torch_mlir_e2e_test/configs/__init__.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/__init__.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/__init__.py diff --git a/python/torch_mlir_e2e_test/configs/lazy_tensor_core.py b/projects/pt1/python/torch_mlir_e2e_test/configs/lazy_tensor_core.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/lazy_tensor_core.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/lazy_tensor_core.py diff --git a/python/torch_mlir_e2e_test/configs/linalg_on_tensors_backend.py b/projects/pt1/python/torch_mlir_e2e_test/configs/linalg_on_tensors_backend.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/linalg_on_tensors_backend.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/linalg_on_tensors_backend.py diff --git a/python/torch_mlir_e2e_test/configs/native_torch.py b/projects/pt1/python/torch_mlir_e2e_test/configs/native_torch.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/native_torch.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/native_torch.py diff --git a/python/torch_mlir_e2e_test/configs/stablehlo_backend.py b/projects/pt1/python/torch_mlir_e2e_test/configs/stablehlo_backend.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/stablehlo_backend.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/stablehlo_backend.py diff --git a/python/torch_mlir_e2e_test/configs/torchdynamo.py b/projects/pt1/python/torch_mlir_e2e_test/configs/torchdynamo.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/torchdynamo.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/torchdynamo.py diff --git a/python/torch_mlir_e2e_test/configs/torchscript.py b/projects/pt1/python/torch_mlir_e2e_test/configs/torchscript.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/torchscript.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/torchscript.py diff --git a/python/torch_mlir_e2e_test/configs/tosa_backend.py b/projects/pt1/python/torch_mlir_e2e_test/configs/tosa_backend.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/tosa_backend.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/tosa_backend.py diff --git a/python/torch_mlir_e2e_test/configs/utils.py b/projects/pt1/python/torch_mlir_e2e_test/configs/utils.py similarity index 100% rename from python/torch_mlir_e2e_test/configs/utils.py rename to projects/pt1/python/torch_mlir_e2e_test/configs/utils.py diff --git a/python/torch_mlir_e2e_test/debug/lockstep.py b/projects/pt1/python/torch_mlir_e2e_test/debug/lockstep.py similarity index 100% rename from python/torch_mlir_e2e_test/debug/lockstep.py rename to projects/pt1/python/torch_mlir_e2e_test/debug/lockstep.py diff --git a/python/torch_mlir_e2e_test/framework.py b/projects/pt1/python/torch_mlir_e2e_test/framework.py similarity index 100% rename from python/torch_mlir_e2e_test/framework.py rename to projects/pt1/python/torch_mlir_e2e_test/framework.py diff --git a/python/torch_mlir_e2e_test/linalg_on_tensors_backends/__init__.py b/projects/pt1/python/torch_mlir_e2e_test/linalg_on_tensors_backends/__init__.py similarity index 100% rename from python/torch_mlir_e2e_test/linalg_on_tensors_backends/__init__.py rename to projects/pt1/python/torch_mlir_e2e_test/linalg_on_tensors_backends/__init__.py diff --git a/python/torch_mlir_e2e_test/linalg_on_tensors_backends/abc.py b/projects/pt1/python/torch_mlir_e2e_test/linalg_on_tensors_backends/abc.py similarity index 100% rename from python/torch_mlir_e2e_test/linalg_on_tensors_backends/abc.py rename to projects/pt1/python/torch_mlir_e2e_test/linalg_on_tensors_backends/abc.py diff --git a/python/torch_mlir_e2e_test/linalg_on_tensors_backends/refbackend.py b/projects/pt1/python/torch_mlir_e2e_test/linalg_on_tensors_backends/refbackend.py similarity index 100% rename from python/torch_mlir_e2e_test/linalg_on_tensors_backends/refbackend.py rename to projects/pt1/python/torch_mlir_e2e_test/linalg_on_tensors_backends/refbackend.py diff --git a/python/torch_mlir_e2e_test/registry.py b/projects/pt1/python/torch_mlir_e2e_test/registry.py similarity index 100% rename from python/torch_mlir_e2e_test/registry.py rename to projects/pt1/python/torch_mlir_e2e_test/registry.py diff --git a/python/torch_mlir_e2e_test/reporting.py b/projects/pt1/python/torch_mlir_e2e_test/reporting.py similarity index 100% rename from python/torch_mlir_e2e_test/reporting.py rename to projects/pt1/python/torch_mlir_e2e_test/reporting.py diff --git a/python/torch_mlir_e2e_test/stablehlo_backends/__init__.py b/projects/pt1/python/torch_mlir_e2e_test/stablehlo_backends/__init__.py similarity index 100% rename from python/torch_mlir_e2e_test/stablehlo_backends/__init__.py rename to projects/pt1/python/torch_mlir_e2e_test/stablehlo_backends/__init__.py diff --git a/python/torch_mlir_e2e_test/stablehlo_backends/abc.py b/projects/pt1/python/torch_mlir_e2e_test/stablehlo_backends/abc.py similarity index 100% rename from python/torch_mlir_e2e_test/stablehlo_backends/abc.py rename to projects/pt1/python/torch_mlir_e2e_test/stablehlo_backends/abc.py diff --git a/python/torch_mlir_e2e_test/test_suite/__init__.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/__init__.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/__init__.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/__init__.py diff --git a/python/torch_mlir_e2e_test/test_suite/arange.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/arange.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/arange.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/arange.py diff --git a/python/torch_mlir_e2e_test/test_suite/argmax.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/argmax.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/argmax.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/argmax.py diff --git a/python/torch_mlir_e2e_test/test_suite/backprop.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/backprop.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/backprop.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/backprop.py diff --git a/python/torch_mlir_e2e_test/test_suite/basic.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/basic.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/basic.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/basic.py diff --git a/python/torch_mlir_e2e_test/test_suite/cast.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/cast.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/cast.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/cast.py diff --git a/python/torch_mlir_e2e_test/test_suite/constant_alloc.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/constant_alloc.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/constant_alloc.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/constant_alloc.py diff --git a/python/torch_mlir_e2e_test/test_suite/control_flow.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/control_flow.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/control_flow.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/control_flow.py diff --git a/python/torch_mlir_e2e_test/test_suite/conv.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/conv.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/conv.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/conv.py diff --git a/python/torch_mlir_e2e_test/test_suite/custom_op_example.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/custom_op_example.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/custom_op_example.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/custom_op_example.py diff --git a/python/torch_mlir_e2e_test/test_suite/elementwise.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/elementwise.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/elementwise.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/elementwise.py diff --git a/python/torch_mlir_e2e_test/test_suite/elementwise_comparison.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/elementwise_comparison.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/elementwise_comparison.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/elementwise_comparison.py diff --git a/python/torch_mlir_e2e_test/test_suite/histogram_binning_calibration.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/histogram_binning_calibration.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/histogram_binning_calibration.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/histogram_binning_calibration.py diff --git a/python/torch_mlir_e2e_test/test_suite/index_select.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/index_select.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/index_select.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/index_select.py diff --git a/python/torch_mlir_e2e_test/test_suite/matmul.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/matmul.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/matmul.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/matmul.py diff --git a/python/torch_mlir_e2e_test/test_suite/mlp.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/mlp.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/mlp.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/mlp.py diff --git a/python/torch_mlir_e2e_test/test_suite/nll_loss.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/nll_loss.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/nll_loss.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/nll_loss.py diff --git a/python/torch_mlir_e2e_test/test_suite/norm_like.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/norm_like.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/norm_like.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/norm_like.py diff --git a/python/torch_mlir_e2e_test/test_suite/pooling.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/pooling.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/pooling.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/pooling.py diff --git a/python/torch_mlir_e2e_test/test_suite/quantized_models.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/quantized_models.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/quantized_models.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/quantized_models.py diff --git a/python/torch_mlir_e2e_test/test_suite/reduction.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/reduction.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/reduction.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/reduction.py diff --git a/python/torch_mlir_e2e_test/test_suite/reshape_like.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/reshape_like.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/reshape_like.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/reshape_like.py diff --git a/python/torch_mlir_e2e_test/test_suite/return_types.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/return_types.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/return_types.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/return_types.py diff --git a/python/torch_mlir_e2e_test/test_suite/rng.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/rng.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/rng.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/rng.py diff --git a/python/torch_mlir_e2e_test/test_suite/scalar.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/scalar.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/scalar.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/scalar.py diff --git a/python/torch_mlir_e2e_test/test_suite/scalar_comparison.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/scalar_comparison.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/scalar_comparison.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/scalar_comparison.py diff --git a/python/torch_mlir_e2e_test/test_suite/scatter.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/scatter.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/scatter.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/scatter.py diff --git a/python/torch_mlir_e2e_test/test_suite/slice_like.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/slice_like.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/slice_like.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/slice_like.py diff --git a/python/torch_mlir_e2e_test/test_suite/squeeze.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/squeeze.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/squeeze.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/squeeze.py diff --git a/python/torch_mlir_e2e_test/test_suite/stats.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/stats.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/stats.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/stats.py diff --git a/python/torch_mlir_e2e_test/test_suite/threshold.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/threshold.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/threshold.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/threshold.py diff --git a/python/torch_mlir_e2e_test/test_suite/type_conversion.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/type_conversion.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/type_conversion.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/type_conversion.py diff --git a/python/torch_mlir_e2e_test/test_suite/type_promotion.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/type_promotion.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/type_promotion.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/type_promotion.py diff --git a/python/torch_mlir_e2e_test/test_suite/vision_models.py b/projects/pt1/python/torch_mlir_e2e_test/test_suite/vision_models.py similarity index 100% rename from python/torch_mlir_e2e_test/test_suite/vision_models.py rename to projects/pt1/python/torch_mlir_e2e_test/test_suite/vision_models.py diff --git a/python/torch_mlir_e2e_test/tosa_backends/__init__.py b/projects/pt1/python/torch_mlir_e2e_test/tosa_backends/__init__.py similarity index 100% rename from python/torch_mlir_e2e_test/tosa_backends/__init__.py rename to projects/pt1/python/torch_mlir_e2e_test/tosa_backends/__init__.py diff --git a/python/torch_mlir_e2e_test/tosa_backends/abc.py b/projects/pt1/python/torch_mlir_e2e_test/tosa_backends/abc.py similarity index 100% rename from python/torch_mlir_e2e_test/tosa_backends/abc.py rename to projects/pt1/python/torch_mlir_e2e_test/tosa_backends/abc.py diff --git a/python/torch_mlir_e2e_test/tosa_backends/linalg_on_tensors.py b/projects/pt1/python/torch_mlir_e2e_test/tosa_backends/linalg_on_tensors.py similarity index 100% rename from python/torch_mlir_e2e_test/tosa_backends/linalg_on_tensors.py rename to projects/pt1/python/torch_mlir_e2e_test/tosa_backends/linalg_on_tensors.py diff --git a/python/torch_mlir_e2e_test/utils.py b/projects/pt1/python/torch_mlir_e2e_test/utils.py similarity index 100% rename from python/torch_mlir_e2e_test/utils.py rename to projects/pt1/python/torch_mlir_e2e_test/utils.py diff --git a/test/python/custom_op_shape_dtype_fn.py b/projects/pt1/test/python/custom_op_shape_dtype_fn.py similarity index 100% rename from test/python/custom_op_shape_dtype_fn.py rename to projects/pt1/test/python/custom_op_shape_dtype_fn.py diff --git a/test/python/importer/jit_ir/get_registered_ops.py b/projects/pt1/test/python/importer/jit_ir/get_registered_ops.py similarity index 100% rename from test/python/importer/jit_ir/get_registered_ops.py rename to projects/pt1/test/python/importer/jit_ir/get_registered_ops.py diff --git a/test/python/importer/jit_ir/ivalue_import/README.md b/projects/pt1/test/python/importer/jit_ir/ivalue_import/README.md similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/README.md rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/README.md diff --git a/test/python/importer/jit_ir/ivalue_import/annotations/arg-error.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/arg-error.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/annotations/arg-error.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/arg-error.py diff --git a/test/python/importer/jit_ir/ivalue_import/annotations/arg-tensor-type-bound.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/arg-tensor-type-bound.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/annotations/arg-tensor-type-bound.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/arg-tensor-type-bound.py diff --git a/test/python/importer/jit_ir/ivalue_import/annotations/class-annotator-repr.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/class-annotator-repr.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/annotations/class-annotator-repr.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/class-annotator-repr.py diff --git a/test/python/importer/jit_ir/ivalue_import/annotations/export-error.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/export-error.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/annotations/export-error.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/export-error.py diff --git a/test/python/importer/jit_ir/ivalue_import/annotations/export-recursive.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/export-recursive.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/annotations/export-recursive.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/export-recursive.py diff --git a/test/python/importer/jit_ir/ivalue_import/annotations/export.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/export.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/annotations/export.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/annotations/export.py diff --git a/test/python/importer/jit_ir/ivalue_import/debug-module-name.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/debug-module-name.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/debug-module-name.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/debug-module-name.py diff --git a/test/python/importer/jit_ir/ivalue_import/dict.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/dict.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/dict.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/dict.py diff --git a/test/python/importer/jit_ir/ivalue_import/functions-that-call-methods.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/functions-that-call-methods.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/functions-that-call-methods.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/functions-that-call-methods.py diff --git a/test/python/importer/jit_ir/ivalue_import/functions.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/functions.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/functions.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/functions.py diff --git a/test/python/importer/jit_ir/ivalue_import/list.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/list.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/list.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/list.py diff --git a/test/python/importer/jit_ir/ivalue_import/methods-derefine.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/methods-derefine.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/methods-derefine.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/methods-derefine.py diff --git a/test/python/importer/jit_ir/ivalue_import/methods-locations.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/methods-locations.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/methods-locations.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/methods-locations.py diff --git a/test/python/importer/jit_ir/ivalue_import/methods.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/methods.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/methods.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/methods.py diff --git a/test/python/importer/jit_ir/ivalue_import/object-identity-error-submodule.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity-error-submodule.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/object-identity-error-submodule.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity-error-submodule.py diff --git a/test/python/importer/jit_ir/ivalue_import/object-identity-error.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity-error.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/object-identity-error.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity-error.py diff --git a/test/python/importer/jit_ir/ivalue_import/object-identity-torch-bug.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity-torch-bug.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/object-identity-torch-bug.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity-torch-bug.py diff --git a/test/python/importer/jit_ir/ivalue_import/object-identity.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/object-identity.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/object-identity.py diff --git a/test/python/importer/jit_ir/ivalue_import/prim.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/prim.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/prim.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/prim.py diff --git a/test/python/importer/jit_ir/ivalue_import/primitives.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/primitives.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/primitives.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/primitives.py diff --git a/test/python/importer/jit_ir/ivalue_import/quantization.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/quantization.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/quantization.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/quantization.py diff --git a/test/python/importer/jit_ir/ivalue_import/strings.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/strings.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/strings.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/strings.py diff --git a/test/python/importer/jit_ir/ivalue_import/submodules-select.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/submodules-select.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/submodules-select.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/submodules-select.py diff --git a/test/python/importer/jit_ir/ivalue_import/submodules.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/submodules.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/submodules.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/submodules.py diff --git a/test/python/importer/jit_ir/ivalue_import/tensors-value-semantics.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/tensors-value-semantics.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/tensors-value-semantics.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/tensors-value-semantics.py diff --git a/test/python/importer/jit_ir/ivalue_import/tensors.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/tensors.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/tensors.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/tensors.py diff --git a/test/python/importer/jit_ir/ivalue_import/tuple.py b/projects/pt1/test/python/importer/jit_ir/ivalue_import/tuple.py similarity index 100% rename from test/python/importer/jit_ir/ivalue_import/tuple.py rename to projects/pt1/test/python/importer/jit_ir/ivalue_import/tuple.py diff --git a/test/python/importer/jit_ir/lit.local.cfg b/projects/pt1/test/python/importer/jit_ir/lit.local.cfg similarity index 100% rename from test/python/importer/jit_ir/lit.local.cfg rename to projects/pt1/test/python/importer/jit_ir/lit.local.cfg diff --git a/test/python/importer/jit_ir/node_import/README.md b/projects/pt1/test/python/importer/jit_ir/node_import/README.md similarity index 100% rename from test/python/importer/jit_ir/node_import/README.md rename to projects/pt1/test/python/importer/jit_ir/node_import/README.md diff --git a/test/python/importer/jit_ir/node_import/classes.py b/projects/pt1/test/python/importer/jit_ir/node_import/classes.py similarity index 100% rename from test/python/importer/jit_ir/node_import/classes.py rename to projects/pt1/test/python/importer/jit_ir/node_import/classes.py diff --git a/test/python/importer/jit_ir/node_import/debug-info.py b/projects/pt1/test/python/importer/jit_ir/node_import/debug-info.py similarity index 100% rename from test/python/importer/jit_ir/node_import/debug-info.py rename to projects/pt1/test/python/importer/jit_ir/node_import/debug-info.py diff --git a/test/python/importer/jit_ir/node_import/dict.py b/projects/pt1/test/python/importer/jit_ir/node_import/dict.py similarity index 100% rename from test/python/importer/jit_ir/node_import/dict.py rename to projects/pt1/test/python/importer/jit_ir/node_import/dict.py diff --git a/test/python/importer/jit_ir/node_import/elif.py b/projects/pt1/test/python/importer/jit_ir/node_import/elif.py similarity index 100% rename from test/python/importer/jit_ir/node_import/elif.py rename to projects/pt1/test/python/importer/jit_ir/node_import/elif.py diff --git a/test/python/importer/jit_ir/node_import/errors.py b/projects/pt1/test/python/importer/jit_ir/node_import/errors.py similarity index 100% rename from test/python/importer/jit_ir/node_import/errors.py rename to projects/pt1/test/python/importer/jit_ir/node_import/errors.py diff --git a/test/python/importer/jit_ir/node_import/function-block-arg-adjustment.py b/projects/pt1/test/python/importer/jit_ir/node_import/function-block-arg-adjustment.py similarity index 100% rename from test/python/importer/jit_ir/node_import/function-block-arg-adjustment.py rename to projects/pt1/test/python/importer/jit_ir/node_import/function-block-arg-adjustment.py diff --git a/test/python/importer/jit_ir/node_import/function-derefine.py b/projects/pt1/test/python/importer/jit_ir/node_import/function-derefine.py similarity index 100% rename from test/python/importer/jit_ir/node_import/function-derefine.py rename to projects/pt1/test/python/importer/jit_ir/node_import/function-derefine.py diff --git a/test/python/importer/jit_ir/node_import/if.py b/projects/pt1/test/python/importer/jit_ir/node_import/if.py similarity index 100% rename from test/python/importer/jit_ir/node_import/if.py rename to projects/pt1/test/python/importer/jit_ir/node_import/if.py diff --git a/test/python/importer/jit_ir/node_import/list.py b/projects/pt1/test/python/importer/jit_ir/node_import/list.py similarity index 100% rename from test/python/importer/jit_ir/node_import/list.py rename to projects/pt1/test/python/importer/jit_ir/node_import/list.py diff --git a/test/python/importer/jit_ir/node_import/loop.py b/projects/pt1/test/python/importer/jit_ir/node_import/loop.py similarity index 100% rename from test/python/importer/jit_ir/node_import/loop.py rename to projects/pt1/test/python/importer/jit_ir/node_import/loop.py diff --git a/test/python/importer/jit_ir/node_import/prim.py b/projects/pt1/test/python/importer/jit_ir/node_import/prim.py similarity index 100% rename from test/python/importer/jit_ir/node_import/prim.py rename to projects/pt1/test/python/importer/jit_ir/node_import/prim.py diff --git a/test/python/importer/jit_ir/node_import/tuple.py b/projects/pt1/test/python/importer/jit_ir/node_import/tuple.py similarity index 100% rename from test/python/importer/jit_ir/node_import/tuple.py rename to projects/pt1/test/python/importer/jit_ir/node_import/tuple.py diff --git a/test/python/importer/jit_ir/node_import/types-bool.py b/projects/pt1/test/python/importer/jit_ir/node_import/types-bool.py similarity index 100% rename from test/python/importer/jit_ir/node_import/types-bool.py rename to projects/pt1/test/python/importer/jit_ir/node_import/types-bool.py diff --git a/test/python/importer/jit_ir/node_import/types-none.py b/projects/pt1/test/python/importer/jit_ir/node_import/types-none.py similarity index 100% rename from test/python/importer/jit_ir/node_import/types-none.py rename to projects/pt1/test/python/importer/jit_ir/node_import/types-none.py diff --git a/test/python/importer/jit_ir/node_import/unimplemented.py b/projects/pt1/test/python/importer/jit_ir/node_import/unimplemented.py similarity index 100% rename from test/python/importer/jit_ir/node_import/unimplemented.py rename to projects/pt1/test/python/importer/jit_ir/node_import/unimplemented.py diff --git a/test/python/importer/jit_ir/node_import/union.py b/projects/pt1/test/python/importer/jit_ir/node_import/union.py similarity index 100% rename from test/python/importer/jit_ir/node_import/union.py rename to projects/pt1/test/python/importer/jit_ir/node_import/union.py diff --git a/test/python/importer/jit_ir/node_import/utils.py b/projects/pt1/test/python/importer/jit_ir/node_import/utils.py similarity index 100% rename from test/python/importer/jit_ir/node_import/utils.py rename to projects/pt1/test/python/importer/jit_ir/node_import/utils.py diff --git a/test/python/lit.local.cfg b/projects/pt1/test/python/lit.local.cfg similarity index 100% rename from test/python/lit.local.cfg rename to projects/pt1/test/python/lit.local.cfg diff --git a/test/python/smoketest.py b/projects/pt1/test/python/smoketest.py similarity index 100% rename from test/python/smoketest.py rename to projects/pt1/test/python/smoketest.py diff --git a/tools/e2e_test.sh b/projects/pt1/tools/e2e_test.sh similarity index 100% rename from tools/e2e_test.sh rename to projects/pt1/tools/e2e_test.sh