{"version":"1.0","description":"RuntimeError: Placeholder storage has not been allocated on MPS device! \u3068\u3044\u3046\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u305f\u3081\u306b\u8abf\u3079\u305f\u3053\u3068\u3092\u307e\u3068\u3081\u307e\u3059\uff0e torch.Tensor \u306f\u4fdd\u5b58\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u6307\u5b9a\u3067\u304d\uff0cTensor.device \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e Tensor Attributes \u2014 PyTorch 2.0 documentation \u30c7\u30d0\u30a4\u30b9\u3092\u79fb\u52d5\u3059\u308b\u306b\u306f\uff0cTensor.to() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\uff0e\u540d\u524d\u3092\u898b\u3066\u52dd\u624b\u306b\u30c7\u30d0\u30a4\u30b9\u3092\u79fb\u52d5\u3059\u308b\u95a2\u6570\u3060\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\uff0c\u3088\u304f\u8aad\u3080\u3068\u6307\u5b9a\u3057\u305f\u30c7\u30d0\u30a4\u30b9\u306b\u30b3\u30d4\u30fc\u3059\u308b\u95a2\u6570\u3067\u3042\u308b\u3053\u3068\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\uff0e to\u2026","author_name":"atsuhiro-me","blog_url":"https://pc.atsuhiro-me.net/","width":"100%","published":"2023-09-29 22:23:06","categories":["PyTorch"],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2023%2F09%2F29%2F222306\" title=\"PyTorch \u306e Tensor.to() \u3068 nn.Module.to() \u306e\u9055\u3044 - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://pc.atsuhiro-me.net/entry/2023/09/29/222306","image_url":null,"height":"190","title":"PyTorch \u306e Tensor.to() \u3068 nn.Module.to() \u306e\u9055\u3044","blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/atsuhiro-me/"}