<div dir="ltr">Dear Houjun,<div>Thanks for your fast response.<span style="color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-weight:inherit"> I can see what I was doing wrong before. </span><span style="color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-weight:inherit"> I've tried running that line of code you gave me: </span></div><div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><br></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit">chat = ba.CHATFile(path = "input.cha")<br>doc = chat.doc<br>nlp = ba.BatchalignPipeline.new("fa", lang="eng", num_speakers=2)<br>doc = nlp(chat)<br>final = ba.CHATFile(doc=doc)<br>final.write("final.cha")<br></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><br></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit">but I get a very lengthy error output. The error output that I get is actually very similar to that when I tried to run the program using the Whisper Engine before. The main error seems to be: </div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2572</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">raise</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(215,95,95)">ValueError</span>(
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2573</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">You cannot cast a GPTQ model in a new `dtype`. Make sure to load the model using `from_pretrained` using the desired</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2574</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)"> `dtype` by passing the correct `torch_dtype` argument.</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)"><br></span></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)"><br></span></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><font color="#000000">But here's the full error in case you may want to see it. (Apologies if I shouldn't include here)</font></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><font color="#000000">Thank you once again for your time and availability. </font></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><font color="#000000">Kind Regards, </font></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><br></pre></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><br></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><span class="gmail-x_gmail-ansi-red-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(231,92,88)">RuntimeError</span> Traceback (most recent call last)
Cell <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">In[37], line 3</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1</span> chat <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> ba<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>CHATFile(path <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">Desktop/Batchallign Capstone/P800FATSTR.cha</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2</span> doc <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> chat<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>doc
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">----> 3</span> nlp <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> ba<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>BatchalignPipeline<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>new(<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">fa</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>, lang<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">eng</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>, num_speakers<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">2</span>)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 4</span> doc <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> nlp(chat)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 5</span> final <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> ba<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>CHATFile(doc<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span>doc)</pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><br></pre><pre style="font-size:13px;border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all"><div aria-label="Code Cell Content with Output" class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-Cell gmail-x_gmail-jp-CodeCell gmail-x_gmail-jp-Notebook-cell gmail-x_gmail-jp-mod-active gmail-x_gmail-jp-mod-selected" style="border:none;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;line-height:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(36,36,36);background:transparent;box-sizing:border-box;overflow:visible;outline:none"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-lm-Panel gmail-x_gmail-jp-Cell-outputWrapper" style="border:0px;font:inherit;margin:5px 0px 0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:visible;display:flex"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-OutputArea gmail-x_gmail-jp-Cell-outputArea" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:hidden auto"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-lm-Panel gmail-x_gmail-jp-OutputArea-child" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:hidden;display:flex;width:1072px"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-RenderedText gmail-x_gmail-jp-mod-trusted gmail-x_gmail-jp-OutputArea-output" style="border:0px;font:inherit;margin:0px;padding:0px 0px 0px 1ch;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:auto;width:1008px;height:auto"><pre style="border:none;margin-top:0px;margin-bottom:0px;padding:0px;overflow:auto;word-break:break-all">File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/batchalign/pipelines/pipeline.py:60</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">BatchalignPipeline.new</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(tasks, lang, num_speakers, **arg_overrides)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 37</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"""Create the pipeline.</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 38</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 39</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">Parameters</span>
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)"> (...)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 56</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)"> The pipeline to run.</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 57</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"""</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 59</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">from</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">batchalign</span><span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">.</span><span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">pipelines</span><span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">.</span><span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">dispatch</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">import</span> dispatch_pipeline
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">---> 60</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> dispatch_pipeline(tasks, lang<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span>lang, num_speakers<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span>num_speakers, <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">*</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">*</span>arg_overrides)
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/batchalign/pipelines/dispatch.py:115</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">dispatch_pipeline</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(pkg_str, lang, num_speakers, **arg_overrides)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 113</span> engines<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>append(NgramRetraceEngine())
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 114</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">elif</span> engine <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">==</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">whisper_fa</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>:
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">--> 115</span> engines<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>append(WhisperFAEngine())
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 116</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">elif</span> engine <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">==</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">whisper_utr</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>:
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 117</span> engines<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>append(WhisperUTREngine(lang<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span>lang))
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/batchalign/pipelines/fa/whisper_fa.py:29</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">WhisperFAEngine.__init__</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, model)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 26</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> model <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">==</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">None</span>:
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 27</span> model <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">openai/whisper-large-v2</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">---> 29</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>__whisper <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> WhisperFAModel(model)
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/batchalign/models/whisper/infer_fa.py:44</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">WhisperFAModel.__init__</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, model, target_sample_rate)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 42</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">def</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">__init__</span>(<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span>, model<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">openai/whisper-large-v2</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>, target_sample_rate<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">16000</span>):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 43</span> L<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>debug(<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">Initializing whisper FA model...</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>)
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">---> 44</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>__model <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> WhisperForConditionalGeneration<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>from_pretrained(model, attn_implementation<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">eager</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>)<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>to(DEVICE)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 45</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>__model<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>eval()
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 46</span> L<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>debug(<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">Done, initalizing processor and config...</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>)
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/transformers/modeling_utils.py:2576</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">PreTrainedModel.to</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, *args, **kwargs)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2571</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> dtype_present_in_args:
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2572</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">raise</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(215,95,95)">ValueError</span>(
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2573</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">You cannot cast a GPTQ model in a new `dtype`. Make sure to load the model using `from_pretrained` using the desired</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2574</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)"> `dtype` by passing the correct `torch_dtype` argument.</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,0)">"</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 2575</span> )
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">-> 2576</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">super</span>()<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>to(<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">*</span>args, <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">*</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">*</span>kwargs)
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py:1160</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">Module.to</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, *args, **kwargs)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1156</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>to(device, dtype <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_floating_point() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">or</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_complex() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">else</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">None</span>,
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1157</span> non_blocking, memory_format<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span>convert_to_format)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1158</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>to(device, dtype <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_floating_point() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">or</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_complex() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">else</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">None</span>, non_blocking)
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">-> 1160</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_apply(convert)
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py:810</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">Module._apply</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, fn, recurse)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 808</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> recurse:
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 809</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">for</span> module <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">in</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>children():
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">--> 810</span> module<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_apply(fn)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 812</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">def</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">compute_should_use_set_data</span>(tensor, tensor_applied):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 813</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> torch<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_has_compatible_shallow_copy_type(tensor, tensor_applied):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 814</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># If the new tensor has compatible tensor type as the existing tensor,</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 815</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># the current behavior is to change the tensor in-place using `.data =`,</span>
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)"> (...)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 820</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># global flag to let the user control whether they want the future</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 821</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># behavior of overwriting the existing tensor or not.</span>
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py:810</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">Module._apply</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, fn, recurse)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 808</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> recurse:
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 809</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">for</span> module <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">in</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>children():
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">--> 810</span> module<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_apply(fn)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 812</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">def</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">compute_should_use_set_data</span>(tensor, tensor_applied):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 813</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> torch<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_has_compatible_shallow_copy_type(tensor, tensor_applied):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 814</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># If the new tensor has compatible tensor type as the existing tensor,</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 815</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># the current behavior is to change the tensor in-place using `.data =`,</span>
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)"> (...)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 820</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># global flag to let the user control whether they want the future</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 821</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># behavior of overwriting the existing tensor or not.</span>
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py:810</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">Module._apply</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, fn, recurse)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 808</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> recurse:
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 809</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">for</span> module <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">in</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">self</span><span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>children():
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">--> 810</span> module<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_apply(fn)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 812</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">def</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,255)">compute_should_use_set_data</span>(tensor, tensor_applied):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 813</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> torch<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>_has_compatible_shallow_copy_type(tensor, tensor_applied):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 814</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># If the new tensor has compatible tensor type as the existing tensor,</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 815</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># the current behavior is to change the tensor in-place using `.data =`,</span>
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)"> (...)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 820</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># global flag to let the user control whether they want the future</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 821</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># behavior of overwriting the existing tensor or not.</span>
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py:833</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">Module._apply</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(self, fn, recurse)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 829</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># Tensors stored in modules are graph leaves, and we don't want to</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 830</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># track autograd history of `param_applied`, so we have to use</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 831</span> <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(95,135,135)"># `with torch.no_grad():`</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 832</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">with</span> torch<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>no_grad():
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">--> 833</span> param_applied <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> fn(param)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 834</span> should_use_set_data <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span> compute_should_use_set_data(param, param_applied)
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 835</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> should_use_set_data:
File <span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">/opt/anaconda3/lib/python3.11/site-packages/torch/nn/modules/module.py:1158</span>, in <span class="gmail-x_gmail-ansi-cyan-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(96,198,200)">Module.to.<locals>.convert</span><span class="gmail-x_gmail-ansi-blue-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(32,143,251)">(t)</span>
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1155</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> convert_to_format <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">is</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">not</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">None</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">and</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>dim() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">in</span> (<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">4</span>, <span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">5</span>):
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1156</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>to(device, dtype <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_floating_point() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">or</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_complex() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">else</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">None</span>,
<span class="gmail-x_gmail-ansi-green-intense-fg gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,116,39)"> 1157</span> non_blocking, memory_format<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">=</span>convert_to_format)
<span class="gmail-x_gmail-ansi-green-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,162,80)">-> 1158</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">return</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>to(device, dtype <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">if</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_floating_point() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(175,0,255)">or</span> t<span style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(98,98,98)">.</span>is_complex() <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">else</span> <span class="gmail-x_gmail-ansi-bold" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:bold;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,135,0)">None</span>, non_blocking)
<span class="gmail-x_gmail-ansi-red-fg" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(231,92,88)">RuntimeError</span>: MPS backend out of memory (MPS allocated: 8.99 GB, other allocations: 86.54 MB, max allowed: 9.07 GB). Tried to allocate 1.17 MB on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).</pre></div></div></div></div><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-CellFooter gmail-x_gmail-jp-Cell-footer" style="border:none;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:hidden;height:0px;width:1080px;outline:none;background:transparent"></div></div><div aria-label="Code Cell Content" class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-Cell gmail-x_gmail-jp-CodeCell gmail-x_gmail-jp-Notebook-cell gmail-x_gmail-jp-mod-noOutputs" style="border:none;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;line-height:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(36,36,36);background:transparent;box-sizing:border-box;overflow:visible;outline:none"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-lm-Panel gmail-x_gmail-jp-Cell-inputWrapper" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:visible;display:flex"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-InputArea gmail-x_gmail-jp-Cell-inputArea" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:hidden;display:flex;width:1072px"><div class="gmail-x_gmail-lm-Widget gmail-x_gmail-jp-CodeMirrorEditor gmail-x_gmail-jp-Editor gmail-x_gmail-jp-InputArea-editor" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;overflow:hidden;border-radius:0px"><div class="gmail-x_gmail-cm-editor gmail-x_gmail-ͼ1 gmail-x_gmail-ͼ2 gmail-x_gmail-ͼ4 gmail-x_gmail-ͼo" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:border-box;background:transparent;border-radius:0px;height:auto;display:flex"><div class="gmail-x_gmail-cm-scroller" tabindex="-1" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:1.4;font-family:inherit;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;height:153.562px;overflow-x:auto;display:flex"><span class="gmail-x_gmail-dnXmp" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;box-sizing:content-box;width:1006px;height:153.562px;overflow:hidden;border-radius:0px"><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;width:auto;height:auto"><div class="gmail-x_gmail-amkYk" style="border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",sans-serif,Arial;font-size-adjust:inherit;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><div class="gmail-x_gmail-ptGJG" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;display:flex"><span class="gmail-x_gmail-UP62D" style="border:0px;font:inherit;margin:0px;padding:2px 2px 2px 0px;vertical-align:baseline;color:inherit"><button aria-label="Open Grammarly. 1 suggestions." type="button" class="gmail-x_gmail-vkuMN" style="border-width:initial;border-style:none;border-color:initial;font:inherit;margin:0px;padding:0px;vertical-align:baseline;box-sizing:content-box;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><div class="gmail-x_gmail-VNMHv gmail-x_gmail-k6Tcg gmail-x_gmail-QLHBQ gmail-x_gmail-BWwwG" style="border:0px;font:inherit;margin:0px;padding:2px;vertical-align:baseline;color:inherit;background:none;border-radius:32px;opacity:1;width:22px;height:22px"><div class="gmail-x_gmail-L704q" style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit;width:22px;height:22px;display:flex"><br class="gmail-Apple-interchange-newline">
</div></div></button></span></div></div></div></div></div></div></span></div></div></div></div></div></div></pre></div></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 2 Sept 2024 at 09:08, Jean Quigley <<a href="mailto:jeanquigley380@gmail.com" target="_blank">jeanquigley380@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i>Dear All, </i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i>I've been trying to audio-link existing CHAT transcripts using the batchalign 2 library. I was able to successfully read the transcript into the program using the following code: </i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i><br></i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i>chat = ba.CHATFile(path = "path.cha")<br>doc = chat.doc<br></i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i><br></i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i>However, I've been unable to run a force alignment without first running the ASR. The problem is that when running the ASR again, it changes the transcripts and introduces errors into it. Would you know what line of code I could use to audio link the transcript without overriding it? </i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i><br></i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i>Many thanks</i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><i>Jean Quigley</i></div><div style="border:0px;font:inherit;margin:0px;padding:0px;vertical-align:baseline;color:inherit"><br style="color:rgb(36,36,36);font-size:15px"></div></div>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CAKHy7HDuQ8An%2Ba-i%3DD5SXu8eNZBoOCfwTAaqjPfub%2Bm0aOa3nQ%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAKHy7HDuQ8An%2Ba-i%3DD5SXu8eNZBoOCfwTAaqjPfub%2Bm0aOa3nQ%40mail.gmail.com</a>.<br />