<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pytorch Extension random error in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1480289#M2025</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We hope that your issue is resolved. Thanks for sharing the same with the community. Could you please let us know if you have any further queries?&amp;nbsp; If not , do let us know so that we can stop monitoring this thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Thasneem Vazim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 06:39:29 GMT</pubDate>
    <dc:creator>ThasneemV_Intel</dc:creator>
    <dc:date>2023-04-26T06:39:29Z</dc:date>
    <item>
      <title>Pytorch Extension random error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1479485#M2023</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Not an expert on anything intel or compiler related.&amp;nbsp; Have this weird bug and don't know what to do.&amp;nbsp; I'm running pytorch on Ubuntu 22 with an arc a770&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/dev/projects/proj/sub/ndb.py", line 398, in &amp;lt;module&amp;gt;&lt;BR /&gt;loss = criterion(output, target)&lt;BR /&gt;File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1190, in _call_impl&lt;BR /&gt;return forward_call(*input, **kwargs)&lt;BR /&gt;File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/loss.py", line 536, in forward&lt;BR /&gt;return F.mse_loss(input, target, reduction=self.reduction)&lt;BR /&gt;File "/usr/local/lib/python3.10/dist-packages/torch/nn/functional.py", line 3292, in mse_loss&lt;BR /&gt;return torch._C._nn.mse_loss(expanded_input, expanded_target, _Reduction.get_enum(reduction))&lt;BR /&gt;RuntimeError: Native API failed. Native API returns: -50 (PI_ERROR_INVALID_ARG_VALUE) -50 (PI_ERROR_INVALID_ARG_VALUE)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any ideas?&amp;nbsp; This happens when computing the loss.&amp;nbsp; I tried making the worlds most simple linear layer.&amp;nbsp; also get these warnings when optimizing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/usr/local/lib/python3.10/dist-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: &lt;BR /&gt;warn(f"Failed to load image Python extension: {e}")&lt;BR /&gt;/usr/local/lib/python3.10/dist-packages/intel_extension_for_pytorch/frontend.py:447: UserWarning: For XPU device, the split master weight is unsupported for now, so temp to disable it&lt;BR /&gt;warnings.warn("For XPU device, the split master weight is unsupported for now, so temp to disable it")&lt;BR /&gt;/usr/local/lib/python3.10/dist-packages/intel_extension_for_pytorch/frontend.py:457: UserWarning: For XPU device to save valuable device memory, temp to do optimization on inplaced model, so make inplace to be true&lt;BR /&gt;warnings.warn(&lt;BR /&gt;/usr/local/lib/python3.10/dist-packages/intel_extension_for_pytorch/frontend.py:464: UserWarning: For XPU, the weight prepack and sample input are disabled. The onednn layout is automatically chosen to use&lt;BR /&gt;warnings.warn(&lt;BR /&gt;/usr/local/lib/python3.10/dist-packages/intel_extension_for_pytorch/optim/_optimizer_utils.py:250: UserWarning: Does not suport fused step for &amp;lt;class 'torch.optim.adam.Adam'&amp;gt;, will use non-fused step&lt;BR /&gt;warnings.warn("Does not suport fused step for " + str(type(optimizer)) + ", will use non-fused step")&lt;BR /&gt;file_1.size() torch.Size([1, 1787747])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I installed pytorch as sudo, so not sure if that causes an issue.&amp;nbsp; Any ideas what this error is about?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 04:48:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1479485#M2023</guid>
      <dc:creator>bobbybrown</dc:creator>
      <dc:date>2023-04-24T04:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pytorch Extension random error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1479486#M2024</link>
      <description>&lt;P&gt;Figured it out:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/intel/intel-extension-for-pytorch/issues/335" target="_blank"&gt;https://github.com/intel/intel-extension-for-pytorch/issues/335&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 04:58:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1479486#M2024</guid>
      <dc:creator>bobbybrown</dc:creator>
      <dc:date>2023-04-24T04:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pytorch Extension random error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1480289#M2025</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We hope that your issue is resolved. Thanks for sharing the same with the community. Could you please let us know if you have any further queries?&amp;nbsp; If not , do let us know so that we can stop monitoring this thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Thasneem Vazim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 06:39:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1480289#M2025</guid>
      <dc:creator>ThasneemV_Intel</dc:creator>
      <dc:date>2023-04-26T06:39:29Z</dc:date>
    </item>
    <item>
      <title>Re:Pytorch Extension random error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1482547#M2028</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please give us an update?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thasneem Vazim&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2023 04:55:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1482547#M2028</guid>
      <dc:creator>ThasneemV_Intel</dc:creator>
      <dc:date>2023-05-03T04:55:53Z</dc:date>
    </item>
    <item>
      <title>Re:Pytorch Extension random error</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1484767#M2033</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thasneem Vazim&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2023 06:28:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Pytorch-Extension-random-error/m-p/1484767#M2033</guid>
      <dc:creator>ThasneemV_Intel</dc:creator>
      <dc:date>2023-05-10T06:28:58Z</dc:date>
    </item>
  </channel>
</rss>

