From 2295daffb517ddc137ec09c7eafe736a2e5979e2 Mon Sep 17 00:00:00 2001 From: Sam-Armstrong Date: Fri, 2 Aug 2024 03:10:25 +0100 Subject: [PATCH 1/2] update refs --- .github/workflows/_basic-test.yml | 4 ++-- .github/workflows/_demo-test.yml | 8 ++++---- .github/workflows/run-test-suite.yml | 6 +++--- Contributor_demos/README.MD | 13 ++++--------- README.md | 4 ++-- assets/01_template.ipynb | 2 +- examples_and_demos/alexnet_demo.ipynb | 6 +++--- examples_and_demos/alexnet_demo_cpu.ipynb | 6 +++--- examples_and_demos/bert_demo.ipynb | 2 +- examples_and_demos/bert_demo_cpu.ipynb | 2 +- .../image_segmentation_with_ivy_unet.ipynb | 4 ++-- .../image_segmentation_with_ivy_unet_cpu.ipynb | 4 ++-- examples_and_demos/resnet_demo.ipynb | 4 ++-- examples_and_demos/resnet_demo_cpu.ipynb | 4 ++-- index.rst | 2 +- merge_with_upstream.sh | 2 +- misc/odsc.ipynb | 2 +- tests/test_README.py | 4 ++-- wip/0_building_blocks/0_0_unify.ipynb | 4 ++-- wip/0_building_blocks/0_1_compile.ipynb | 4 ++-- wip/0_building_blocks/0_2_transpile.ipynb | 4 ++-- wip/1_the_basics/1_0_lazy_vs_eager.ipynb | 4 ++-- wip/1_the_basics/1_1_framework_selection.ipynb | 4 ++-- wip/1_the_basics/1_2_as_a_decorator.ipynb | 4 ++-- wip/1_the_basics/1_3_dynamic_vs_static.ipynb | 4 ++-- wip/2_libraries/2_0_kornia.ipynb | 4 ++-- wip/3_models/3_0_perceiver.ipynb | 4 ++-- wip/3_models/3_1_stable_diffusion.ipynb | 4 ++-- wip/deepmind_perceiver_io.ipynb | 10 +++++----- wip/deepmind_perceiverio.ipynb | 6 +++--- wip/end_to_end_training_pipeline_in_ivy.ipynb | 14 +++++++------- wip/hf_tensorflow_deit.ipynb | 8 ++++---- wip/resnet_18.ipynb | 4 ++-- 33 files changed, 78 insertions(+), 83 deletions(-) diff --git a/.github/workflows/_basic-test.yml b/.github/workflows/_basic-test.yml index fce5630b..9332e10e 100644 --- a/.github/workflows/_basic-test.yml +++ b/.github/workflows/_basic-test.yml @@ -21,7 +21,7 @@ jobs: - name: Checkout DemosπŸ›Ž uses: actions/checkout@v4 with: - repository: unifyai/demos + repository: ivy-llc/demos path: demos persist-credentials: false submodules: "recursive" @@ -30,7 +30,7 @@ jobs: - name: Checkout IvyπŸ›Ž uses: actions/checkout@v4 with: - repository: unifyai/ivy + repository: ivy-llc/ivy ref: ${{ inputs.nightly_binaries && 'nightly' || 'main' }} path: ivy persist-credentials: false diff --git a/.github/workflows/_demo-test.yml b/.github/workflows/_demo-test.yml index f2d3ace0..aaaa162c 100644 --- a/.github/workflows/_demo-test.yml +++ b/.github/workflows/_demo-test.yml @@ -35,7 +35,7 @@ jobs: - name: Checkout DemosπŸ›Ž uses: actions/checkout@v4 with: - repository: unifyai/demos + repository: ivy-llc/demos path: demos persist-credentials: false submodules: "recursive" @@ -44,7 +44,7 @@ jobs: - name: Checkout IvyπŸ›Ž uses: actions/checkout@v4 with: - repository: unifyai/ivy + repository: ivy-llc/ivy ref: ${{ inputs.nightly_binaries && 'nightly' || 'main' }} path: ivy persist-credentials: false @@ -53,5 +53,5 @@ jobs: - name: Run Integration Tests for Enterprise Demos run: | - docker pull unifyai/ivy:latest-gpu - docker run --rm --gpus all -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy unifyai/ivy:latest-gpu demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} examples_and_demos/${{ matrix.modules }}.ipynb ${{ inputs.nightly_binaries }} true + docker pull transpileai/ivy:latest-gpu + docker run --rm --gpus all -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy transpileai/ivy:latest-gpu demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} examples_and_demos/${{ matrix.modules }}.ipynb ${{ inputs.nightly_binaries }} true diff --git a/.github/workflows/run-test-suite.yml b/.github/workflows/run-test-suite.yml index cf9f80d8..496e5746 100644 --- a/.github/workflows/run-test-suite.yml +++ b/.github/workflows/run-test-suite.yml @@ -94,7 +94,7 @@ jobs: - name: Checkout DemosπŸ›Ž uses: actions/checkout@v4 with: - repository: unifyai/demos + repository: ivy-llc/demos path: demos persist-credentials: false submodules: "recursive" @@ -103,7 +103,7 @@ jobs: - name: Checkout IvyπŸ›Ž uses: actions/checkout@v4 with: - repository: unifyai/ivy + repository: ivy-llc/ivy ref: ${{ env.VERSION }} path: ivy persist-credentials: false @@ -112,4 +112,4 @@ jobs: - name: Run README tests run: | - docker run -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy unifyai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} readme ${{ inputs.nightly_binaries }} false + docker run -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy transpileai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} readme ${{ inputs.nightly_binaries }} false diff --git a/Contributor_demos/README.MD b/Contributor_demos/README.MD index e50b802d..88e41aa8 100644 --- a/Contributor_demos/README.MD +++ b/Contributor_demos/README.MD @@ -5,7 +5,7 @@ Welcome to the Contributor Demos section of our `unifyai/demos` repository! This ## Important Notes - **Single PR Acceptance:** For each issue, only one PR will be merged. We encourage collaboration and communication within the community to combine efforts and submit the best possible solution. -- **Rising Contributors:** We're happy to welcome the contributors of the merged PR as Rising contributors [Rising Contributors](https://unify.ai/docs/ivy/overview/contributing/volunteer_program.html#rising-contributor) in our community. This status comes with recognition within our community and opportunities for further involvement in project development. +- **Rising Contributors:** We're happy to welcome the contributors of the merged PR as Rising contributors [Rising Contributors](https://ivy.dev/docs/overview/contributing/volunteer_program.html#rising-contributor) in our community. This status comes with recognition within our community and opportunities for further involvement in project development. ## Getting Started @@ -16,7 +16,7 @@ Before diving into the code, we ask all interested contributors to fill out a sh ### Step 2: Setting up Ivy Once you've filled out the form, you're ready to start contributing to the project of your choice. To get started, follow these steps: -1. Fork the [unifyai/demos](https://github.com/unifyai/demos) repository to your GitHub account. +1. Fork the [ivy-llc/demos](https://github.com/ivy-llc/demos) repository to your GitHub account. 2. Clone the forked repository to your local machine using the following command: ```bash git clone @@ -29,17 +29,12 @@ Once you've filled out the form, you're ready to start contributing to the proje ```bash git checkout -b ``` -5. Create a virtual environment and install ivy(Alternatively, you can set up ivy in your local machine using the [official documentation](https://unify.ai/docs/ivy/overview/contributing/setting_up.html)): +5. Create a virtual environment and install ivy(Alternatively, you can set up ivy in your local machine using the [official documentation](https://ivy.dev/docs/overview/contributing/setting_up.html)): ```bash python3 -m venv venv source venv/bin/activate pip install ivy ``` -6. Generating API key: - - Navigate to [UnifyAI Console](https://console.unify.ai) - - Sign up/Log in to your account and create a new key for `Ivy Transpiler` -7. Create a new directory `.ivy` in the root of the project and create a file `key.pem` inside the `.ivy` directory. -8. Paste the API key in the `key.pem` file and save it. If you have any issues with the setup, please feel free to ask for help on our [discord server](https://discord.gg/sg2QRAvY). ### Step 3: Solving an Issue @@ -48,7 +43,7 @@ Start working on the issue you've chosen. Create a jupyter notebook under the di ### Step 4: Submitting Your Pull Request (PR) -After developing your solution, it's time to submit a Pull Request (PR) to the `unifyai/demos` repository. Make sure to link the specific issue you're addressing by including `closes <#issue no>.` in your PR description. This notation will help us track which PRs aim to solve which issues. +After developing your solution, it's time to submit a Pull Request (PR) to the `ivy-llc/demos` repository. Make sure to link the specific issue you're addressing by including `closes <#issue no>.` in your PR description. This notation will help us track which PRs aim to solve which issues. [Watch the Tutorial](https://drive.google.com/file/d/1pu4D3Qsf3o3VpqDfGzLF7hADDswxDfEF/view?usp=share_link) diff --git a/README.md b/README.md index 17efe989..60d6aa12 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Demos This repo holds all the jupyter notebook demos for the examples tab of Ivy's web. Relevant links: -- [List of open tasks avilable](https://github.com/unifyai/demos/issues/2) -- [Open discussion to suggest new examples](https://github.com/unifyai/demos/issues/1) +- [List of open tasks avilable](https://github.com/ivy-llc/demos/issues/2) +- [Open discussion to suggest new examples](https://github.com/ivy-llc/demos/issues/1) All of the examples should be as comprehensible as possible, using easy-to-follow and attractive visuals (graphs, nicely formatted results, etc.), and follow the general tone of Ivy (feel free to include emojis and don't keep things super serious!). diff --git a/assets/01_template.ipynb b/assets/01_template.ipynb index 4ca6af7f..87b93eb7 100644 --- a/assets/01_template.ipynb +++ b/assets/01_template.ipynb @@ -32,7 +32,7 @@ "outputs": [], "source": [ "!pip install -q ivy\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install ." diff --git a/examples_and_demos/alexnet_demo.ipynb b/examples_and_demos/alexnet_demo.ipynb index 7ffaeeea..acbf2048 100644 --- a/examples_and_demos/alexnet_demo.ipynb +++ b/examples_and_demos/alexnet_demo.ipynb @@ -37,7 +37,7 @@ "source": [ "!pip install -q ivy\n", "!pip install -q dm-haiku\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install .\n", @@ -84,7 +84,7 @@ }, "outputs": [], "source": [ - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/cat.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/cat.jpg\n", "filename = \"cat.jpg\"" ] }, @@ -550,7 +550,7 @@ }, "outputs": [], "source": [ - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/dog.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/dog.jpg\n", "filename = \"dog.jpg\"\n", "# Preprocess torch image\n", "from torchvision import transforms\n", diff --git a/examples_and_demos/alexnet_demo_cpu.ipynb b/examples_and_demos/alexnet_demo_cpu.ipynb index 503414f9..88a34dc5 100644 --- a/examples_and_demos/alexnet_demo_cpu.ipynb +++ b/examples_and_demos/alexnet_demo_cpu.ipynb @@ -120,7 +120,7 @@ "source": [ "!pip install -q ivy\n", "!pip install -q dm-haiku\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install .\n" @@ -196,7 +196,7 @@ }, "outputs": [], "source": [ - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/cat.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/cat.jpg\n", "filename = \"cat.jpg\"" ] }, @@ -661,7 +661,7 @@ }, "outputs": [], "source": [ - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/dog.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/dog.jpg\n", "filename = \"dog.jpg\"\n", "# Preprocess torch image\n", "from torchvision import transforms\n", diff --git a/examples_and_demos/bert_demo.ipynb b/examples_and_demos/bert_demo.ipynb index 8d56e48b..00b483f3 100644 --- a/examples_and_demos/bert_demo.ipynb +++ b/examples_and_demos/bert_demo.ipynb @@ -192,7 +192,7 @@ "id": "UNzGh6qS6sJR" }, "source": [ - "**First We import [the native ivy code for Bert](https://github.com/unifyai/models/blob/master/ivy_models/bert/bert.py)**" + "**First We import [the native ivy code for Bert](https://github.com/ivy-llc/models/blob/master/ivy_models/bert/bert.py)**" ] }, { diff --git a/examples_and_demos/bert_demo_cpu.ipynb b/examples_and_demos/bert_demo_cpu.ipynb index 5fb72811..303d7928 100644 --- a/examples_and_demos/bert_demo_cpu.ipynb +++ b/examples_and_demos/bert_demo_cpu.ipynb @@ -191,7 +191,7 @@ "id": "UNzGh6qS6sJR" }, "source": [ - "**First We import [the native ivy code for Bert](https://github.com/unifyai/models/blob/master/ivy_models/bert/bert.py)**" + "**First We import [the native ivy code for Bert](https://github.com/ivy-llc/models/blob/master/ivy_models/bert/bert.py)**" ] }, { diff --git a/examples_and_demos/image_segmentation_with_ivy_unet.ipynb b/examples_and_demos/image_segmentation_with_ivy_unet.ipynb index 505adb73..644d874f 100644 --- a/examples_and_demos/image_segmentation_with_ivy_unet.ipynb +++ b/examples_and_demos/image_segmentation_with_ivy_unet.ipynb @@ -34,7 +34,7 @@ "source": [ "!pip install -q ivy\n", "!pip install -q dm-haiku\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install .\n", @@ -141,7 +141,7 @@ "source": [ "# Preprocess image\n", "from PIL import Image\n", - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/car.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/car.jpg\n", "filename = \"car.jpg\"\n", "full_img = Image.open(filename)\n", "torch_img = torch.from_numpy(preprocess(None, full_img, 0.5, False)).unsqueeze(0).to(\"cuda\")" diff --git a/examples_and_demos/image_segmentation_with_ivy_unet_cpu.ipynb b/examples_and_demos/image_segmentation_with_ivy_unet_cpu.ipynb index fbf5ed4d..bfaaa110 100644 --- a/examples_and_demos/image_segmentation_with_ivy_unet_cpu.ipynb +++ b/examples_and_demos/image_segmentation_with_ivy_unet_cpu.ipynb @@ -34,7 +34,7 @@ "source": [ "!pip install -q ivy\n", "!pip install -q dm-haiku\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install .\n" @@ -138,7 +138,7 @@ "source": [ "# Preprocess image\n", "from PIL import Image\n", - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/car.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/car.jpg\n", "filename = \"car.jpg\"\n", "full_img = Image.open(filename)\n", "torch_img = torch.from_numpy(preprocess(None, full_img, 0.5, False)).unsqueeze(0)" diff --git a/examples_and_demos/resnet_demo.ipynb b/examples_and_demos/resnet_demo.ipynb index 3180faed..298a22ae 100644 --- a/examples_and_demos/resnet_demo.ipynb +++ b/examples_and_demos/resnet_demo.ipynb @@ -42,7 +42,7 @@ "outputs": [], "source": [ "!pip install -q ivy\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install .\n", @@ -169,7 +169,7 @@ } ], "source": [ - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/cat.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/cat.jpg\n", "filename = \"cat.jpg\"" ] }, diff --git a/examples_and_demos/resnet_demo_cpu.ipynb b/examples_and_demos/resnet_demo_cpu.ipynb index e0a2cfa8..c1f203e7 100644 --- a/examples_and_demos/resnet_demo_cpu.ipynb +++ b/examples_and_demos/resnet_demo_cpu.ipynb @@ -42,7 +42,7 @@ "outputs": [], "source": [ "!pip install -q ivy\n", - "!git clone https://github.com/unifyai/models.git --depth 1\n", + "!git clone https://github.com/ivy-llc/models.git --depth 1\n", "\n", "# Installing models package from cloned repository! πŸ˜„\n", "!cd models/ && pip install .\n", @@ -166,7 +166,7 @@ } ], "source": [ - "!wget https://raw.githubusercontent.com/unifyai/models/master/images/cat.jpg\n", + "!wget https://raw.githubusercontent.com/ivy-llc/models/master/images/cat.jpg\n", "filename = \"cat.jpg\"" ] }, diff --git a/index.rst b/index.rst index 06ff9da6..3afcf33f 100644 --- a/index.rst +++ b/index.rst @@ -21,7 +21,7 @@ a quick and general introduction to Ivy's features and capabilities! .. note:: Want to use Ivy locally? Check out the `Get Started section of the docs - `_! + `_! .. include:: learn_the_basics.rst :end-before: .. toctree:: diff --git a/merge_with_upstream.sh b/merge_with_upstream.sh index cf8ecedd..3a013c52 100755 --- a/merge_with_upstream.sh +++ b/merge_with_upstream.sh @@ -1,6 +1,6 @@ #!/bin/bash -e git checkout "$1" -git remote add upstream https://github.com/unifyai/demos.git || true +git remote add upstream https://github.com/ivy-llc/demos.git || true git fetch upstream git merge upstream/main --no-edit git push \ No newline at end of file diff --git a/misc/odsc.ipynb b/misc/odsc.ipynb index 8f05b06a..fe44f464 100644 --- a/misc/odsc.ipynb +++ b/misc/odsc.ipynb @@ -22,7 +22,7 @@ "metadata": {}, "outputs": [], "source": [ - "!git clone https://github.com/unifyai/ivy.git\n", + "!git clone https://github.com/ivy-llc/ivy.git\n", "!cd ivy && git checkout f705efe7cb5d18df17ce6c1e20f04d0eb4933f48 && python3 -m pip install --user -e .\n", "!pip install dm-haiku\n", "!pip install kornia\n", diff --git a/tests/test_README.py b/tests/test_README.py index 093b0d27..badd776c 100644 --- a/tests/test_README.py +++ b/tests/test_README.py @@ -70,7 +70,7 @@ def forward(self, x): def test_using_pytorch_any_model_from_jax(): # Get a pretrained haiku model - # https://github.com/unifyai/demos/blob/15c235f/scripts/deepmind_perceiver_io.py + # https://github.com/ivy-llc/demos/blob/15c235f/scripts/deepmind_perceiver_io.py from deepmind_perceiver_io import key, perceiver_backbone @@ -226,7 +226,7 @@ def call(self, x): def test_using_tensorflow_any_model_from_jax(): # Get a pretrained haiku model - # https://github.com/unifyai/demos/blob/15c235f/scripts/deepmind_perceiver_io.py + # https://github.com/ivy-llc/demos/blob/15c235f/scripts/deepmind_perceiver_io.py from deepmind_perceiver_io import key, perceiver_backbone # Transpile it into a tf.keras.Model with the corresponding parameters diff --git a/wip/0_building_blocks/0_0_unify.ipynb b/wip/0_building_blocks/0_0_unify.ipynb index 761bfde4..58872875 100644 --- a/wip/0_building_blocks/0_0_unify.ipynb +++ b/wip/0_building_blocks/0_0_unify.ipynb @@ -34,8 +34,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/0_building_blocks/0_1_compile.ipynb b/wip/0_building_blocks/0_1_compile.ipynb index bccf1d87..fb327e50 100644 --- a/wip/0_building_blocks/0_1_compile.ipynb +++ b/wip/0_building_blocks/0_1_compile.ipynb @@ -34,8 +34,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/0_building_blocks/0_2_transpile.ipynb b/wip/0_building_blocks/0_2_transpile.ipynb index f8effd0f..ba7038a7 100644 --- a/wip/0_building_blocks/0_2_transpile.ipynb +++ b/wip/0_building_blocks/0_2_transpile.ipynb @@ -34,8 +34,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/1_the_basics/1_0_lazy_vs_eager.ipynb b/wip/1_the_basics/1_0_lazy_vs_eager.ipynb index fb421093..2fb62404 100644 --- a/wip/1_the_basics/1_0_lazy_vs_eager.ipynb +++ b/wip/1_the_basics/1_0_lazy_vs_eager.ipynb @@ -35,8 +35,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/1_the_basics/1_1_framework_selection.ipynb b/wip/1_the_basics/1_1_framework_selection.ipynb index dff7082d..cf45e92c 100644 --- a/wip/1_the_basics/1_1_framework_selection.ipynb +++ b/wip/1_the_basics/1_1_framework_selection.ipynb @@ -34,8 +34,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/1_the_basics/1_2_as_a_decorator.ipynb b/wip/1_the_basics/1_2_as_a_decorator.ipynb index 78291836..770f31d9 100644 --- a/wip/1_the_basics/1_2_as_a_decorator.ipynb +++ b/wip/1_the_basics/1_2_as_a_decorator.ipynb @@ -34,8 +34,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/1_the_basics/1_3_dynamic_vs_static.ipynb b/wip/1_the_basics/1_3_dynamic_vs_static.ipynb index bf583374..9fe48506 100644 --- a/wip/1_the_basics/1_3_dynamic_vs_static.ipynb +++ b/wip/1_the_basics/1_3_dynamic_vs_static.ipynb @@ -34,8 +34,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, diff --git a/wip/2_libraries/2_0_kornia.ipynb b/wip/2_libraries/2_0_kornia.ipynb index a5ed4882..5f8a4ac6 100644 --- a/wip/2_libraries/2_0_kornia.ipynb +++ b/wip/2_libraries/2_0_kornia.ipynb @@ -32,8 +32,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] } diff --git a/wip/3_models/3_0_perceiver.ipynb b/wip/3_models/3_0_perceiver.ipynb index b3cba4df..da12a4b2 100644 --- a/wip/3_models/3_0_perceiver.ipynb +++ b/wip/3_models/3_0_perceiver.ipynb @@ -32,8 +32,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] } diff --git a/wip/3_models/3_1_stable_diffusion.ipynb b/wip/3_models/3_1_stable_diffusion.ipynb index 96270c52..622e44a2 100644 --- a/wip/3_models/3_1_stable_diffusion.ipynb +++ b/wip/3_models/3_1_stable_diffusion.ipynb @@ -32,8 +32,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] } diff --git a/wip/deepmind_perceiver_io.ipynb b/wip/deepmind_perceiver_io.ipynb index 9b1128b5..6545d4a3 100644 --- a/wip/deepmind_perceiver_io.ipynb +++ b/wip/deepmind_perceiver_io.ipynb @@ -50,7 +50,7 @@ "cell_type": "code", "source": [ "# install the latest Ivy version for this purpose\n", - "!pip install git+https://github.com/unifyai/ivy.git@master" + "!pip install git+https://github.com/ivy-llc/ivy.git@master" ], "metadata": { "id": "PyOx3NusuL_0", @@ -67,10 +67,10 @@ "name": "stdout", "text": [ "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", - "Collecting git+https://github.com/unifyai/ivy.git@master\n", - " Cloning https://github.com/unifyai/ivy.git (to revision master) to /tmp/pip-req-build-tabqrujw\n", - " Running command git clone --filter=blob:none --quiet https://github.com/unifyai/ivy.git /tmp/pip-req-build-tabqrujw\n", - " Resolved https://github.com/unifyai/ivy.git to commit f3be3702c9fab1c9fa97c743813a4bdb39525705\n", + "Collecting git+https://github.com/ivy-llc/ivy.git@master\n", + " Cloning https://github.com/ivy-llc/ivy.git (to revision master) to /tmp/pip-req-build-tabqrujw\n", + " Running command git clone --filter=blob:none --quiet https://github.com/ivy-llc/ivy.git /tmp/pip-req-build-tabqrujw\n", + " Resolved https://github.com/ivy-llc/ivy.git to commit f3be3702c9fab1c9fa97c743813a4bdb39525705\n", " Running command git submodule update --init --recursive -q\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from ivy-core==1.1.9) (1.22.4)\n", diff --git a/wip/deepmind_perceiverio.ipynb b/wip/deepmind_perceiverio.ipynb index edc50a46..a09c0dca 100644 --- a/wip/deepmind_perceiverio.ipynb +++ b/wip/deepmind_perceiverio.ipynb @@ -17,7 +17,7 @@ "## Introduction\n", "This notebook presents a demonstration of how to run the PercieverIO \n", "model on GPU using any of the following backends currently supported by ivy (numpy, torch, tensorflow and JAX). \n", - "To find out more about ivy please feel free to checkout the ivy repo https://github.com/unifyai/ivy as well as the docs https://lets-unify.ai/ivy/index.html. Contributions are highly welcomed and you can interact with our community as well on discord https://discord.com/invite/G4aR9Q7DTN. " + "To find out more about ivy please feel free to checkout the ivy repo https://github.com/ivy-llc/ivy as well as the docs https://lets-unify.ai/ivy/index.html. Contributions are highly welcomed and you can interact with our community as well on discord https://discord.com/invite/G4aR9Q7DTN. " ] }, { @@ -131,7 +131,7 @@ }, "outputs": [], "source": [ - "!git lfs clone --depth 1 https://github.com/unifyai/models.git" + "!git lfs clone --depth 1 https://github.com/ivy-llc/models.git" ] }, { @@ -142,7 +142,7 @@ }, "outputs": [], "source": [ - "!git clone --depth 1 https://github.com/unifyai/ivy.git " + "!git clone --depth 1 https://github.com/ivy-llc/ivy.git " ] }, { diff --git a/wip/end_to_end_training_pipeline_in_ivy.ipynb b/wip/end_to_end_training_pipeline_in_ivy.ipynb index 386b2ccc..126f2423 100644 --- a/wip/end_to_end_training_pipeline_in_ivy.ipynb +++ b/wip/end_to_end_training_pipeline_in_ivy.ipynb @@ -48,8 +48,8 @@ }, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, @@ -73,10 +73,10 @@ "name": "stdout", "text": [ "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", - "Collecting git+https://github.com/unifyai/ivy.git@master\n", - " Cloning https://github.com/unifyai/ivy.git (to revision master) to /tmp/pip-req-build-_3r2_73j\n", - " Running command git clone --filter=blob:none --quiet https://github.com/unifyai/ivy.git /tmp/pip-req-build-_3r2_73j\n", - " Resolved https://github.com/unifyai/ivy.git to commit 0edf8c1e8ea835f4c456bdf89737d89032f50b5a\n", + "Collecting git+https://github.com/ivy-llc/ivy.git@master\n", + " Cloning https://github.com/ivy-llc/ivy.git (to revision master) to /tmp/pip-req-build-_3r2_73j\n", + " Running command git clone --filter=blob:none --quiet https://github.com/ivy-llc/ivy.git /tmp/pip-req-build-_3r2_73j\n", + " Resolved https://github.com/ivy-llc/ivy.git to commit 0edf8c1e8ea835f4c456bdf89737d89032f50b5a\n", " Running command git submodule update --init --recursive -q\n", " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", "Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from ivy-core==1.1.9) (1.22.4)\n", @@ -137,7 +137,7 @@ ], "source": [ "# install the latest Ivy version for this purpose\n", - "!pip install git+https://github.com/unifyai/ivy.git@master" + "!pip install git+https://github.com/ivy-llc/ivy.git@master" ] }, { diff --git a/wip/hf_tensorflow_deit.ipynb b/wip/hf_tensorflow_deit.ipynb index 16504104..9ab8918f 100644 --- a/wip/hf_tensorflow_deit.ipynb +++ b/wip/hf_tensorflow_deit.ipynb @@ -32,8 +32,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, @@ -155,7 +155,7 @@ "id": "1H0Z8MOP99ZQ" }, "source": [ - "Let's install ivy from [github](https://github.com/unifyai/ivy.git)" + "Let's install ivy from [github](https://github.com/ivy-llc/ivy.git)" ] }, { @@ -167,7 +167,7 @@ "outputs": [], "source": [ "!rm -rf ivy\n", - "!git clone --branch master https://github.com/unifyai/ivy.git --single-branch\n", + "!git clone --branch master https://github.com/ivy-llc/ivy.git --single-branch\n", "!cd ivy && pip install -e ." ] }, diff --git a/wip/resnet_18.ipynb b/wip/resnet_18.ipynb index 75e6e2c1..87cc46ce 100644 --- a/wip/resnet_18.ipynb +++ b/wip/resnet_18.ipynb @@ -32,8 +32,8 @@ "metadata": {}, "source": [ "::::: {#colab-button}\n", - "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/unifyai/demos/blob/main/{{< meta file >}})\n", - "[![GitHub]({{< var remote_badge.github >}})](https://github.com/unifyai/demos/blob/main/{{< meta file >}})\n", + "[![Open in Colab]({{< var remote_badge.colab >}})](https://colab.research.google.com/github/ivy-llc/demos/blob/main/{{< meta file >}})\n", + "[![GitHub]({{< var remote_badge.github >}})](https://github.com/ivy-llc/demos/blob/main/{{< meta file >}})\n", ":::::" ] }, From 7e887f36dbba8b09927418097fc9c9e89f1de7e5 Mon Sep 17 00:00:00 2001 From: Sam-Armstrong Date: Fri, 2 Aug 2024 03:12:29 +0100 Subject: [PATCH 2/2] one more --- .github/workflows/_basic-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_basic-test.yml b/.github/workflows/_basic-test.yml index 9332e10e..5851efbb 100644 --- a/.github/workflows/_basic-test.yml +++ b/.github/workflows/_basic-test.yml @@ -40,4 +40,4 @@ jobs: - name: Run Integration testing for Basic Demos id: tests run: | - docker run -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy unifyai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} learn_the_basics/${{ matrix.mods }}.ipynb ${{ inputs.nightly_binaries }} true + docker run -v "$(pwd)"/demos:/ivy/demos -v "$(pwd)"/ivy:/ivy/ivy transpileai/ivy:latest demos/tests/test_demos.sh ${{ secrets.USER_API_KEY }} learn_the_basics/${{ matrix.mods }}.ipynb ${{ inputs.nightly_binaries }} true