Skip to content
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

-Printing in console is broken when -dtw is used (main and 1.7.3) #2669

Open
hlevring opened this issue Dec 25, 2024 · 1 comment
Open

-Printing in console is broken when -dtw is used (main and 1.7.3) #2669

hlevring opened this issue Dec 25, 2024 · 1 comment

Comments

@hlevring
Copy link

Windows 11 / main / 1.7.3

If I use -dtw I only get a partial transcript printed that does not start from the beginning. I tried both Vulkan and CPU backend, using both small and Large V3 turbo with similar results. Sample of output below, and full command line output and audio file attached.
console input-output with and without -dtw sample.txt
queen.zip

I just now realized that this issue actually only affects the printing in console, the actual json output seems ok

With -dtw

[00:00:18.080 --> 00:00:25.520] life of our country, a disruption that has brought grief to some, financial difficulties to many,
[00:00:34.480 --> 00:00:42.000] as well as care workers and those carrying out essential roles who selflessly continue their
[00:00:42.000 --> 00:00:50.640] day-to-day duties outside the home in support of us all. I'm sure the nation will join me in

without -dtw

[00:00:00.000 --> 00:00:18.080] I'm speaking to you at what I know is an increasingly challenging time. A time of disruption in the
[00:00:18.080 --> 00:00:25.520] life of our country, a disruption that has brought grief to some, financial difficulties to many,
[00:00:26.320 --> 00:00:34.480] and enormous changes to the daily lives of us all. I want to thank everyone on the NHS front line,
[00:00:34.480 --> 00:00:42.000] as well as care workers and those carrying out essential roles who selflessly continue their
[00:00:42.000 --> 00:00:50.640] day-to-day duties outside the home in support of us all. I'm sure the nation will join me in
[00:00:50.640 --> 00:00:58.320] assuring you that what you do is appreciated and every hour of your hard work brings us closer to a
[00:00:58.320 --> 00:01:05.840] return to more normal times. I also want to thank those of you who were staying at home,
[00:01:05.840 --> 00:01:13.600] thereby helping to protect the vulnerable and sparing many families the pain already felt
[00:01:13.600 --> 00:01:21.760] by those who have lost loved ones. Together we are tackling this disease and I want to reassure
[00:01:21.760 --> 00:01:30.480] you that if we remain united and resolute then we will overcome it. I hope in the years to come
[00:01:30.480 --> 00:01:35.280] everyone will be able to take pride in how they responded to this challenge
[00:01:35.280 --> 00:01:42.080] and those who come after us will say the Britons of this generation were as strong as any,
[00:01:43.200 --> 00:01:49.840] that the attributes of self-discipline, of quiet good-humoured resolve and a fellow feeling
[00:01:49.840 --> 00:01:58.240] still characterize this country. The pride in who we are is not a part of our past,
[00:01:58.240 --> 00:02:09.600] it defines our present and our future. The moments when the United Kingdom has come together to
[00:02:09.600 --> 00:02:15.840] applaud its care and essential workers will be remembered as an expression of our national
[00:02:15.840 --> 00:02:26.400] spirit and its symbol will be the rainbows drawn by children. Across the Commonwealth and around
[00:02:26.400 --> 00:02:33.440] the world we have seen heartwarming stories of people coming together to help others be it through
[00:02:33.440 --> 00:02:40.960] delivering food parcels and medicines, checking on neighbours or converting businesses to help
[00:02:40.960 --> 00:02:49.920] the relief effort. And though self-isolating may at times be hard many people of all faiths and of
[00:02:49.920 --> 00:02:58.480] none are discovering that it presents an opportunity to slow down, pause and reflect in prayer or
[00:02:58.480 --> 00:03:07.760] meditation. It reminds me of the very first broadcast I made in 1940 helped by my sister.
[00:03:07.760 --> 00:03:14.960] We as children spoke from here at Windsor to children who had been evacuated from their homes
[00:03:14.960 --> 00:03:24.320] and sent away for their own safety. Today once again many will feel a painful sense of separation
[00:03:24.320 --> 00:03:32.000] from their loved ones. But now as then we know deep down that it is the right thing to do.
[00:03:32.000 --> 00:03:42.080] While we have faced challenges before this one is different. This time we join with all nations
[00:03:42.080 --> 00:03:50.240] across the globe in a common endeavour using the great advances of science and our instinctive
[00:03:50.240 --> 00:03:57.920] compassion to heal. We will succeed and that success will belong to every one of us.
[00:03:57.920 --> 00:04:05.920] We should take comfort that while we may have more still to endure better days will return.
[00:04:05.920 --> 00:04:13.840] We will be with our friends again. We will be with our families again. We will meet again.
[00:04:15.120 --> 00:04:30.800] But for now I send my thanks and warmest good wishes to you all.

@hlevring
Copy link
Author

Ok the issue seems a little more serious.

If I use CPU backend the transcription never finishes
c:\Test\wispercpp\1.7.3+\cpu>whisper-cli -m ../../models/ggml-large-v3-turbo-q8_0.bin -f ../../queen.wav -dtw large.v3.turbo -ojf -of CPUTurbo

I just see this printed output and the cli never terminates

[00:00:25.560 --> 00:00:29.480] and enormous changes to the daily lives of us all.
[00:00:22.840 --> 00:00:25.560] financial difficulties to many,
[00:00:25.560 --> 00:00:29.480] and enormous changes to the daily lives of us all.
[00:00:19.160 --> 00:00:22.840] A disruption that has brought grief to some,
[00:00:22.840 --> 00:00:25.560] financial difficulties to many,
[00:00:25.560 --> 00:00:29.480] and enormous changes to the daily lives of us all.
[00:00:15.360 --> 00:00:19.160] A time of disruption in the life of our country.
[00:00:19.160 --> 00:00:22.840] A disruption that has brought grief to some,
[00:00:22.840 --> 00:00:25.560] financial difficulties to many,
[00:00:25.560 --> 00:00:29.480] and enormous changes to the daily lives of us all.

On VULKAN the cli finishes, and the json output looks ok. On CPU its does not finish it just hangs at least when I use the command line above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant