Skip to content

Commit ca0d87a

Browse files
openai_fine_tuning fix for asyncio (run-llama#12667)
* Add files via upload Adding nest_asyncio.apply() to resolve RuntimeError: asyncio.run() cannot be called from a running event loop * Delete experimental/openai_fine_tuning/openai_fine_tuning-2.ipynb * Update openai_fine_tuning.ipynb with asyncio to fix runtime error
1 parent 029f743 commit ca0d87a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: experimental/openai_fine_tuning/openai_fine_tuning.ipynb

+11
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@
131131
")"
132132
]
133133
},
134+
{
135+
"cell_type": "code",
136+
"execution_count": null,
137+
"metadata": {},
138+
"outputs": [],
139+
"source": [
140+
"import nest_asyncio\n",
141+
"\n",
142+
"nest_asyncio.apply()"
143+
]
144+
},
134145
{
135146
"cell_type": "code",
136147
"execution_count": null,

0 commit comments

Comments
 (0)