जमा करें #524197: pytorch pytorch (torch.jit.script) torch 2.6.0 Segmentation Faultजानकारी

शीर्षकpytorch pytorch (torch.jit.script) torch 2.6.0 Segmentation Fault
विवरण# Bug When using `@torch.jit.script` for TorchScript compilation, defining a scripted class (e.g., Ignored) where the `__init__` method includes a dynamic Python structure like list causes a `Segmentation fault` at runtime. # To Reproduce Running the following code results in a Segmentation fault: ``` import torch import torch.nn as nn @torch.jit.script class Ignored(object): def __init__(self): self.count: int = 0 self.items: list = [] ```
स्रोत⚠️ https://github.com/pytorch/pytorch/issues/149623
उपयोगकर्ता
 Default436352 (UID 81891)
सबमिशन20/03/2025 03:40 PM (1 वर्ष पहले)
संयम30/03/2025 07:42 PM (10 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि302049 [PyTorch 2.6.0 torch.jit.script बफ़र ओवरफ़्लो]
अंक20

Might our Artificial Intelligence support you?

Check our Alexa App!