Closed DavidGOrtega closed 1 year ago
I’m aware of the leak! Fix coming during the next big release.
I’m on vacation at the moment, fix coming in November
I have tried to free the session after the stream or run
const result = Result.ok(await this.whisperSession.stream(audio, callback)) as Result<void, Error>;
this.whisperSession.free();
return result;
but did not work, maye be it has to be done at a segment level?
However despite that Segment is meant to be
export class Segment {
free(): void;
}
It returns another kind of object.
Are you using laserbreak in whisper-gpu
?
I’m on vacation at the moment, fix coming in November
Happy holidays! 🌴
I have tried to free the session after the stream or run
const result = Result.ok(await this.whisperSession.stream(audio, callback)) as Result<void, Error>; this.whisperSession.free(); return result;
but did not work, maye be it has to be done at a segment level?
However despite that Segment is meant to be
export class Segment { free(): void; }
It returns another kind of object.
Are you using laserbreak in
whisper-gpu
?
This won’t work unfortunately- the problem is deeper.
Laserbeak isnt being used in this project.
I’m on vacation at the moment, fix coming in November
Happy holidays! 🌴
@DavidGOrtega Leak is fixed, will be released in 0.8.0! Thanks for letting me know and testing it out!
Experimenting with the project I found two issues:
Macos M1 16GB Ventura 13.1 Chromium 118.0.5993.32