chsasank / llama.lisp

Lisp dialect designed for HPC and AI
GNU Lesser General Public License v2.1
15 stars 6 forks source link

Behavior to debug. #53

Closed adi-lb-phoenix closed 4 months ago

adi-lb-phoenix commented 4 months ago

Command to execute :

guile ../../utils/sexp-json.scm < matrix_multiplication.sexp | python3 ../../c-lisp.py | python3 ../../brilisp.py |python3 ../../llvm.py | bash ../brilisp/run.sh 

output 1

0.000000
0.000000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
-0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000081
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
-87377254397831510301065506891759616.000000
0.000000
0.000081
0.000000
0.000000
0.000000
-0.000000
0.000000
-0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
-1.843628
0.000000
-0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
-87417977673363842170588588482232320.000000
0.000000

repeating pattern

51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000
51122.500000

similar behavior is observed https://github.com/chsasank/llama.lisp/issues/47 https://github.com/chsasank/llama.lisp/issues/46

GlowingScrewdriver commented 4 months ago

We're seeing this with uninitialized arrays... So is it really a problem?

GlowingScrewdriver commented 4 months ago

Duplicate of #46

chsasank commented 4 months ago

We need more descriptive issue names.