Skip to content

Commit

Permalink
adjust directory for .ivy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Aug 9, 2023
1 parent c23ed08 commit 9f63fae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion learn_the_basics/03_compile_code.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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\")"
]
},
Expand Down
3 changes: 1 addition & 2 deletions tests/notebook_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9f63fae

Please sign in to comment.