From 9f63fae9d4b467907b2edc841cd082e8a8edba8d Mon Sep 17 00:00:00 2001 From: Aarsh2001 Date: Wed, 9 Aug 2023 15:23:22 +0530 Subject: [PATCH] adjust directory for .ivy --- learn_the_basics/03_compile_code.ipynb | 1 - tests/notebook_testing.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/learn_the_basics/03_compile_code.ipynb b/learn_the_basics/03_compile_code.ipynb index bf63b7a6..2e4cfbc9 100644 --- a/learn_the_basics/03_compile_code.ipynb +++ b/learn_the_basics/03_compile_code.ipynb @@ -57,7 +57,6 @@ " std = torch.std(x)\n", " return torch.div(torch.sub(x, mean), std)\n", "\n", - "ivy.unify(normalize, source=\"torch\")\n", "normalize = ivy.unify(normalize, source=\"torch\")" ] }, diff --git a/tests/notebook_testing.py b/tests/notebook_testing.py index 9964efe8..8b0e7342 100644 --- a/tests/notebook_testing.py +++ b/tests/notebook_testing.py @@ -176,8 +176,7 @@ def test_notebook(nb): # kc.execute("ivy.set_backend('jax')") # kc.execute("ivy.unset_backend()") # TODO - print(f"Current working directory is -: {os.getcwd()}") - kc.execute("import os;os.environ['IVY_ROOT']='.ivy'") + kc.execute("import os;os.environ['IVY_ROOT']='.ivy/'") while True: try: