-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[0.26.0] openai/cli.py:440: RuntimeWarning: coroutine 'FineTune.stream_events' was never awaited #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same here for me. I thought it might be incompatible with my Python version (3.10), but it only worked when I installed version 0.25 of the package (pip install openai==0.25.0) |
I have this same problem with version 0.25.0. Is there any other solution to this? |
Hi there, Stream interrupted (client disconnected). openai api fine_tunes.follow -i ft-mM9Fk2xqRQTtqbt7clQLheRf Is there any solution for this problem? |
Hey folks, the |
Hey @ddeville, Great, thanks for the update! |
Hey guys, I'm facing that same issue. I'm using openai version 0.26.0. |
I'm not sure about the error on 0.24 and 0.25 but for the one you're seeing on 0.26, it will be fixed as soon as we release the next minor version with the fix. |
Thanks @ddeville for the update, do you have any estimate on the next minor release? I may consider using one of the older versions for the POC I am working on, |
Not entirely sure but trying to get something before end of week. |
Great thanks, really appreciate this |
Had this same issue, I applied the patch from the MR and it appears to be working now. |
Hey folks, we've just published 0.26.1 that includes the fix for this bug. |
Hi @elijahschrockAGT , I think it might be a problem at your side, thanks to the dev team including @ddeville , v 26.1 works fine for me as shown below |
@mohsspark829 Okay that's good to know. Thank you for the response! I'll take a deeper look into it today |
I am having the same problem, tried with version 0.25 and 0.26.1 but keep showing the same error RuntimeWarning: coroutine 'FineTune.stream_even @mohsspark829 @ddeville can u guys help me? |
I am running into the exact same problem whether I use 0.25 or 0.26. |
@ddeville need your help please having the same issue with openai-0.26.1 Created fine-tune: ft-zzzzzzz (Ctrl-C will interrupt the stream, but not cancel the fine-tune) Stream interrupted (client disconnected). openai api fine_tunes.follow -i ft-zzzzzzz |
same issue .. any update [2023-01-20 21:04:08] Created fine-tune: ft-***** Stream interrupted (client disconnected). openai api fine_tunes.follow -i ft-***** |
Hey all, in my case this was not an issue. This 'interuption' happens on my
end with 0.26.1 but this is not due to a bug. I think it is related to
session time out and job will be in the queue. The fine tuning process may
take several days depens on the nunber of jobs in the queue.
Cheers
M
…On Sat, 21 Jan 2023, 16:29 br185126, ***@***.***> wrote:
same issue .. any update
—
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2EOQMJV5TDQMMOUMGIRESDWTNJ3HANCNFSM6AAAAAATUJXEU4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I gave it only 2 prompts to train on |
I think you are right. My dataset is not large. When i use the model cuire, there is no response.When i change to ada, it works |
Workaround: loop to execute it until it's success
while true; openai api fine_tunes.follow -i ft-xxxxxxxxx ; end or
while true; do openai api fine_tunes.follow -i ft-xxxxxxx ; done |
I believe it also works if you just update openai to the latest version. |
is everyone still having this issue? I keep getting the same interruption "Stream interrupted (client disconnected).", i'm hoping that its just the stream that is interrupted and not the fine-tune. Maybe just because of the amount fo tine tunes in the queue? |
Hi, submited a training file yesterday and it got disconnected but it has
been submitted for fine tune. There is a command ( mentioned below) that
shows you the fine tune processes/models that are happening/have been
created so far along with their status and other info.
4
6
7
8
9
10# List all created fine-tunes
openai api fine_tunes.list
…On Wed, 22 Feb 2023, 07:52 sjonas50, ***@***.***> wrote:
is everyone still having this issue? I keep getting the same interruption
"Stream interrupted (client disconnected).", i'm hoping that its just the
stream that is interrupted and not the fine-tune. Maybe just because of the
amount fo tine tunes in the queue?
—
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2EOQMNATDHW4Q2F43JYH3LWYUFGNANCNFSM6AAAAAATUJXEU4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
same error |
It ended up working after a while. Just give it time then you will see it
gets added to the queue. Took about 3 hours.
…On Tue, Feb 21, 2023 at 7:59 PM wallon-ai ***@***.***> wrote:
is everyone still having this issue? I keep getting the same interruption
"Stream interrupted (client disconnected).", i'm hoping that its just the
stream that is interrupted and not the fine-tune. Maybe just because of the
amount fo tine tunes in the queue?
same error
—
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHISBMAHHNR2N6XF3UZN73WYV6ITANCNFSM6AAAAAATUJXEU4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Same issue here, keep getting stream interrupted (client disconnected). I'm just preloading a bunch of |
same issue when adding validation set |
the same issue still pops up on 3/8/2023 |
Hey! any update on the issue? I am getting the same error. I've tried v0.25, v0.26, and 0.27 but no one is working. |
Same issue using openai 0.27.2. |
By using this command and spending around 3hrs (non-stop) it works. |
i end up using curie and that works for any v |
I'm getting this error all the time I try to tune it, but somehow I got a fine-tuned model in openai playground |
Getting the same error with 0.27.2, doesn't seem fixed @ddeville. |
Getting the same error with openai==0.27.2 and python=3.9.12 |
Same as well in 0.27.8. Packages installed:
|
Same error with openai==0.27.8 & python=3.9.16, and with openai==0.25.0 & python=3.9.16 |
it is working fine with 0.25.0
may be related: dev-python/aiohttp-3.8.3
The text was updated successfully, but these errors were encountered: