Blealtan / efficient-kan

An efficient pure-PyTorch implementation of Kolmogorov-Arnold Network (KAN).
MIT License
3.49k stars 306 forks source link

please report a bug to PyTorch. torch.linalg.lstsq: (Batch element 0): Argument 6 has illegal value. Most certainly there is a bug in the implementation calling the backend library. #25

Closed maomaocun closed 1 month ago

maomaocun commented 1 month ago

File "tests/test_simple_math.py", line 166, in curve2coeff solution = torch.linalg.lstsq( # 使用最小二乘法求解线性方程组 RuntimeError: false INTERNAL ASSERT FAILED at "../aten/src/ATen/native/BatchLinearAlgebra.cpp":1462, please report a bug to PyTorch. torch.linalg.lstsq: (Batch element 0): Argument 6 has illegal value. Most certainly there is a bug in the implementation calling the backend library.

What happened? image

Blealtan commented 1 month ago

See #4.