Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#9258: Remove ARCH_NAME and TT_METAL_ENV from wheel testing #9354

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/eager-package-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
arch: [grayskull, wormhole_b0]
runs-on: ${{ matrix.os }}
environment: production
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-metal-deps
Expand Down Expand Up @@ -56,9 +53,6 @@ jobs:
]
runs-on: ["Linux", "${{ matrix.runner-hw-info.arch }}"]
environment: production
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ matrix.runner-hw-info.arch }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
Expand Down
6 changes: 2 additions & 4 deletions tests/scripts/set_up_end_to_end_tests_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
set -eo pipefail

validate_env_vars() {
# if [[ -n "${TT_METAL_HOME}" || -n "${PYTHONPATH}" || -n "${ARCH_NAME}" ]]; then
if [[ -n "${TT_METAL_HOME}" || -n "${PYTHONPATH}" ]]; then
# echo "Developer-level environment variables seem set. This is not allowed in production environments"
echo "TT_METAL_HOME / PYTHONPATH is set. This is not allowed in production environments"
if [[ -n "${TT_METAL_HOME}" || -n "${PYTHONPATH}" || -n "${ARCH_NAME}" ]]; then
echo "TT_METAL_HOME / PYTHONPATH / ARCH_NAME is set. This is not allowed in production environments"
exit 1
fi
}
Expand Down
Loading