Issue type
SpikingJelly version
0.0.0.0.14
Description
I encountered a reproducible issue where LIAFNode fails during forward execution with a missing attribute error.
This appears to affect normal forward usage rather than a corner-case export or serialization workflow.
Observed error:
AttributeError: 'LIAFNode' object has no attribute 'single_step_cupy_fp32_inference'
This behavior was reproducible across repeated reruns in my validation.
Minimal code to reproduce the error/bug
import torch
from spikingjelly.activation_based import neuron
x = torch.randn(2, 4)
node = neuron.LIAFNode()
node(x)
Expected behavior
LIAFNode should complete the forward pass successfully, or fail with a clearly documented limitation if additional setup is required.
Environment
torch: 2.8.0
spikingjelly: 0.0.0.0.14
python: 3.10
Additional notes
This issue matters because it breaks the normal forward path for LIAFNode.
If this attribute is expected to be initialized only under certain conditions, an explicit validation check or clearer documentation would still be very helpful.
Issue type
SpikingJelly version
0.0.0.0.14Description
I encountered a reproducible issue where
LIAFNodefails during forward execution with a missing attribute error.This appears to affect normal forward usage rather than a corner-case export or serialization workflow.
Observed error:
This behavior was reproducible across repeated reruns in my validation.
Minimal code to reproduce the error/bug
Expected behavior
LIAFNodeshould complete the forward pass successfully, or fail with a clearly documented limitation if additional setup is required.Environment
torch:2.8.0spikingjelly:0.0.0.0.14python:3.10Additional notes
This issue matters because it breaks the normal forward path for
LIAFNode.If this attribute is expected to be initialized only under certain conditions, an explicit validation check or clearer documentation would still be very helpful.