Skip to content

Commit

Permalink
fix(ipy): missing envs (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama authored Jun 20, 2024
1 parent 153ccde commit e6412b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/ipynb/colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
},
"outputs": [],
"source": [
"from dotenv import load_dotenv\n",
"load_dotenv(\"sha256.env\")\n",
"\n",
"import torch\n",
"torch._dynamo.config.cache_size_limit = 64\n",
"torch._dynamo.config.suppress_errors = True\n",
Expand Down
3 changes: 3 additions & 0 deletions examples/ipynb/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"metadata": {},
"outputs": [],
"source": [
"from dotenv import load_dotenv\n",
"load_dotenv(\"sha256.env\")\n",
"\n",
"import torch\n",
"torch._dynamo.config.cache_size_limit = 64\n",
"torch._dynamo.config.suppress_errors = True\n",
Expand Down

0 comments on commit e6412b1

Please sign in to comment.