Skip to content

Commit

Permalink
fix: update dockerhub references to transpileai (#28759)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong authored May 24, 2024
1 parent 918a0ee commit 971674f
Show file tree
Hide file tree
Showing 33 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"post_create": "bash .devcontainer/post_create_commands.sh",
"bashrc": "echo \"alias python=python3\" >> ~/.bashrc"
},
"initializeCommand": "docker pull unifyai/ivy:latest",
"initializeCommand": "docker pull transpileai/ivy:latest",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/image_gpu/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"post_create": "bash .devcontainer/post_create_commands.sh",
"bashrc": "echo \"alias python=python3\" >> ~/.bashrc"
},
"initializeCommand": "docker pull unifyai/ivy:latest",
"initializeCommand": "docker pull transpileai/ivy:latest",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
pip3 install pymongo
cd ivy
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 scripts/run_tests_from_diff.py
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 scripts/run_tests_from_diff.py
continue-on-error: true

- name: Check on failures
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dockerfile-gpu-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:

- name: Build and push GPU image
run: |
docker build --progress=plain --no-cache -t unifyai/ivy:latest-gpu -f docker/DockerfileGPU .
docker push unifyai/ivy:latest-gpu
docker build --progress=plain --no-cache -t transpileai/ivy:latest-gpu -f docker/DockerfileGPU .
docker push transpileai/ivy:latest-gpu
2 changes: 1 addition & 1 deletion .github/workflows/dockerfile-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- uses: actions/checkout@v3
- name: Build Dockerfile
run: |
docker build . --file docker/Dockerfile --tag unifyai/ivy:$(date +%s)
docker build . --file docker/Dockerfile --tag transpileai/ivy:$(date +%s)
2 changes: 1 addition & 1 deletion .github/workflows/dockerfile-multiversion-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:

- name: Build and push Dockerfile
run: |
docker build --progress=plain --no-cache -t unifyai/multiversion:latest -f docker/DockerfileMultiversion .
docker build --progress=plain --no-cache -t transpileai/multiversion:latest -f docker/DockerfileMultiversion .
docker push unifyai/multiversion:latest
4 changes: 2 additions & 2 deletions .github/workflows/dockerfile-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:

- name: Build and push Dockerfile
run: |
docker build . --file docker/Dockerfile --tag unifyai/ivy:latest
docker push unifyai/ivy:latest
docker build . --file docker/Dockerfile --tag transpileai/ivy:latest
docker push transpileai/ivy:latest
2 changes: 1 addition & 1 deletion .github/workflows/duplication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: tests
run: |
cd ivy
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 scripts/duplicate.py
docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 scripts/duplicate.py
continue-on-error: true

- name: Check on failures
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docstrings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Run Docstring Tests
run: |
cd ivy
docker run --rm -i -v "$(pwd)":/ivy unifyai/ivy:latest python3 -m pytest ivy_tests/test_docstrings.py -p no:warnings
docker run --rm -i -v "$(pwd)":/ivy transpileai/ivy:latest python3 -m pytest ivy_tests/test_docstrings.py -p no:warnings
52 changes: 26 additions & 26 deletions .github/workflows/update-test-dashboard.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docker/DockerfileApplied
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:20.04
WORKDIR /ivy
ARG CLI

FROM unifyai/ivy:latest as base
FROM transpileai/ivy:latest as base

COPY requirements/optional_applied.txt .
RUN pip3 install --no-cache-dir -r optional_applied.txt
2 changes: 1 addition & 1 deletion docker/build_applied_dockerfile.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker build -t unifyai/ivy:latest --no-cache -f DockerfileApplied ..
docker build -t transpileai/ivy:latest --no-cache -f DockerfileApplied ..
2 changes: 1 addition & 1 deletion docker/build_gpu_dockerfile.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker build --progress=plain --no-cache -t unifyai/ivy:latest-gpu -f DockerfileGPU ..
docker build --progress=plain --no-cache -t transpileai/ivy:latest-gpu -f DockerfileGPU ..
4 changes: 2 additions & 2 deletions docker/rebuild_all_dockerfiles.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

docker build -t unifyai/ivy:latest --no-cache -f Dockerfile ..
docker build -t unifyai/ivy:latest-gpu --no-cache -f DockerfileGPU ..
docker build -t transpileai/ivy:latest --no-cache -f Dockerfile ..
docker build -t transpileai/ivy:latest-gpu --no-cache -f DockerfileGPU ..
2 changes: 1 addition & 1 deletion scripts/determine_tests/array_api_det_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def main():
test_name, backend = test_backend.split(",")
command = (
f"docker run --rm --env IVY_BACKEND={backend} --env "
'ARRAY_API_TESTS_MODULE="ivy" -v "$(pwd)":/ivy unifyai/ivy:latest '
'ARRAY_API_TESTS_MODULE="ivy" -v "$(pwd)":/ivy transpileai/ivy:latest '
'timeout 30m /bin/bash -c "coverage run --source=ivy,ivy_tests -m pytest '
f'{test_name} -k \\"{k_flag[backend]}\\" --disable-warnings --tb=short '
"--hypothesis-max-examples 5 -vv > coverage_output;coverage annotate > "
Expand Down
2 changes: 1 addition & 1 deletion scripts/determine_tests/determine_test_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
for test_backend in tqdm(test_names[start:end]):
test_name, backend = test_backend.split(",")
command = (
f'docker run -v "$(pwd)":/ivy unifyai/ivy:latest timeout 30m /bin/bash -c "coverage run --source=ivy,' # noqa
f'docker run -v "$(pwd)":/ivy transpileai/ivy:latest timeout 30m /bin/bash -c "coverage run --source=ivy,' # noqa
f"ivy_tests -m pytest {test_name} --num-examples 5 --backend {backend} --disable-warnings > coverage_output;coverage " # noqa
f'annotate > coverage_output" '
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/determine_tests/determine_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def main():
print("Computing Coverage:", test_backend)
test_name, backend = test_backend.split(",")
command = (
f'docker run -v "$(pwd)":/ivy unifyai/ivy:latest /bin/bash -c "coverage run --source=ivy,' # noqa
f'docker run -v "$(pwd)":/ivy transpileai/ivy:latest /bin/bash -c "coverage run --source=ivy,' # noqa
f"ivy_tests -m pytest {test_name} --backend {backend} --disable-warnings > coverage_output;coverage " # noqa
f'annotate > coverage_output" '
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests/array_api_run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def main():
test, backend = line.split(",")
backend = backend.strip("\n")
coll, submod, test_fn = get_submodule(test)
command = f'docker run --rm --env IVY_BACKEND={backend} --env ARRAY_API_TESTS_MODULE="ivy" --env REDIS_URL={redis_url} --env REDIS_PASSWD={redis_pass} -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest timeout 30m python3 -m pytest {test} -k "{k_flag[backend]}" --tb=short -vv' # noqa
command = f'docker run --rm --env IVY_BACKEND={backend} --env ARRAY_API_TESTS_MODULE="ivy" --env REDIS_URL={redis_url} --env REDIS_PASSWD={redis_pass} -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest timeout 30m python3 -m pytest {test} -k "{k_flag[backend]}" --tb=short -vv' # noqa
print(f"\n{'*' * 100}")
print(f"{line[:-1]}")
print(f"{'*' * 100}\n")
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests/array_api_run_tests_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main():
for line in f:
test, backend = line.split(",")
backend = backend.strip("\n")
command = f'docker run --rm --env IVY_BACKEND={backend} --env ARRAY_API_TESTS_MODULE="ivy" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest timeout 30m python3 -m pytest {test} -k "{k_flag[backend]}" --tb=short -vv' # noqa
command = f'docker run --rm --env IVY_BACKEND={backend} --env ARRAY_API_TESTS_MODULE="ivy" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest timeout 30m python3 -m pytest {test} -k "{k_flag[backend]}" --tb=short -vv' # noqa
print(f"\n{'*' * 100}")
print(f"{line[:-1]}")
print(f"{'*' * 100}\n")
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# pull gpu image for gpu testing
if device == "gpu":
os.system("docker pull unifyai/ivy:latest-gpu")
os.system("docker pull transpileai/ivy:latest-gpu")

# read the tests to be run
with open("tests_to_run", "r") as f:
Expand Down Expand Up @@ -119,7 +119,7 @@
image = "unifyai/ivy:latest-gpu"
device_str = " --device=gpu:0"
device_access_str = " --gpus all"
os.system("docker pull unifyai/ivy:latest-gpu")
os.system("docker pull transpileai/ivy:latest-gpu")

os.system(
f"docker run{device_access_str} --name test-container -v "
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests/run_tests_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
print(f"{'*' * 100}\n")
sys.stdout.flush()
ret = os.system(
f'docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --tb=short {test_path} --skip-trace-testing --skip-trace-testing-each --backend {backend}' # noqa
f'docker run --rm -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --tb=short {test_path} --skip-trace-testing --skip-trace-testing-each --backend {backend}' # noqa
)
if ret != 0:
failed = True
Expand Down
2 changes: 1 addition & 1 deletion scripts/shell/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm -it -v "$(pwd)":/ivy unifyai/ivy:latest python3 -m pytest ivy_tests/
docker run --rm -it -v "$(pwd)":/ivy transpileai/ivy:latest python3 -m pytest ivy_tests/
2 changes: 1 addition & 1 deletion scripts/shell/test_array_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ fi

mkdir -p .hypothesis
# shellcheck disable=SC2046
docker run --rm --env IVY_BACKEND="$1" --env ARRAY_API_TESTS_MODULE="ivy" --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v $(pwd):/ivy -v $(pwd)/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest ivy_tests/array_api_testing/test_array_api/array_api_tests/"$2".py -k "$ARRAY_API_TESTS_K_FLAG" --tb=short -vv
docker run --rm --env IVY_BACKEND="$1" --env ARRAY_API_TESTS_MODULE="ivy" --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v $(pwd):/ivy -v $(pwd)/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest ivy_tests/array_api_testing/test_array_api/array_api_tests/"$2".py -k "$ARRAY_API_TESTS_K_FLAG" --tb=short -vv
2 changes: 1 addition & 1 deletion scripts/shell/test_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

# shellcheck disable=SC2046
docker run --rm -v "$(pwd)":/ivy unifyai/ivy:latest python3 ivy/test_dependencies.py -fp ivy/requirements.txt,ivy/optional.txt
docker run --rm -v "$(pwd)":/ivy transpileai/ivy:latest python3 ivy/test_dependencies.py -fp ivy/requirements.txt,ivy/optional.txt
2 changes: 1 addition & 1 deletion scripts/shell/test_experimental_core.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_experimental/test_core/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_experimental/test_core/"$2".py --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_experimental_nn.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_experimental/test_nn/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_experimental/test_nn/"$2".py --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_ivy_core.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_core/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_core/"$2".py --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_ivy_nn.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_nn/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_functional/test_nn/"$2".py --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_ivy_stateful.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_stateful/"$2".py --tb=line
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v "$(pwd)":/ivy -v "$(pwd)"/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_stateful/"$2".py --tb=line
2 changes: 1 addition & 1 deletion scripts/shell/test_jax_frontend.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_jax/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_jax/"$2".py --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_numpy_frontend.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_numpy/"$2" --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_numpy/"$2" --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_tensorflow_frontend.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_tensorflow/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_tensorflow/"$2".py --tb=short
2 changes: 1 addition & 1 deletion scripts/shell/test_torch_frontend.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash -e
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis unifyai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_torch/"$2".py --tb=short
docker run --rm --env REDIS_URL="$3" --env REDIS_PASSWD="$4" -v `pwd`:/ivy -v `pwd`/.hypothesis:/.hypothesis transpileai/ivy:latest python3 -m pytest --backend "$1" ivy_tests/test_ivy/test_frontends/test_torch/"$2".py --tb=short

0 comments on commit 971674f

Please sign in to comment.