This message was deleted.
# neural-forecast
s
This message was deleted.
m
@Cristian (Nixtla) or @José Morales, any ideas ?
j
Do you have a stacktrace or is that the full error?
n
Copy code
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Python [63298]
Path:                  /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python
Identifier:            org.python.python
Version:               3.11.5 (3.11.5)
Code Type:             X86-64 (Translated)
Parent Process:        zsh [41306]
Responsible:           pycharm [79608]
User ID:               501

Date/Time:             2024-01-18 16:43:15.9330 -0500
OS Version:            macOS 14.0 (23A344)
Report Version:        12
Anonymous UUID:        ABC6014F-D342-E5A7-B3BA-81E430257DC8

Sleep/Wake UUID:       35965AF5-6500-4BEF-BACD-83EBD300B0FC

Time Awake Since Boot: 1800000 seconds
Time Since Wake:       6511 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x18D0CBCA9)

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [63298]

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x18D0CBCA9)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   polars.abi3.so                	       0x18d0cbca9 std::sys::unix::rand::hashmap_random_keys::h0c7bb98231faccbb + 9
1   polars.abi3.so                	       0x18a468259 std::sys::common::thread_local::fast_local::Key$LT$T$GT$::try_initialize::h059887133d521393 + 9
2   polars.abi3.so                	       0x18a4a77e5 pyo3::pyclass::create_type_object::create_type_object::h2e87af5a7598d2b3 + 37
3   polars.abi3.so                	       0x18d55ab57 pyo3::sync::GILOnceCell$LT$T$GT$::init::h16605c85c0260b7b + 23
4   polars.abi3.so                	       0x18ce1cc9b pyo3::impl_::pyclass::lazy_type_object::LazyTypeObjectInner::get_or_try_init::h1a300e7f0c8a7530 + 139
5   polars.abi3.so                	       0x18abdfbc8 polars::polars::h7629152e3b02e0c7 + 136
6   polars.abi3.so                	       0x18d55b078 pyo3::sync::GILOnceCell$LT$T$GT$::init::hebeb5e39ce9fb0b1 + 56
7   polars.abi3.so                	       0x18abe47ec PyInit_polars + 236
8   Python                        	       0x10d14181b _imp_create_dynamic + 801
9   Python                        	       0x10d0829dd cfunction_vectorcall_FASTCALL + 85
10  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
11  Python                        	       0x10d117553 _PyEval_Vector + 92
12  Python                        	       0x10d041061 object_vacall + 264
13  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
14  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
15  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
16  Python                        	       0x10d106d02 PyEval_EvalCode + 191
17  Python                        	       0x10d1033f9 builtin_exec + 379
18  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
19  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
20  Python                        	       0x10d117553 _PyEval_Vector + 92
21  Python                        	       0x10d041061 object_vacall + 264
22  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
23  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
24  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
25  Python                        	       0x10d106d02 PyEval_EvalCode + 191
26  Python                        	       0x10d1033f9 builtin_exec + 379
27  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
28  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
29  Python                        	       0x10d117553 _PyEval_Vector + 92
30  Python                        	       0x10d041061 object_vacall + 264
31  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
32  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
33  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
34  Python                        	       0x10d106d02 PyEval_EvalCode + 191
35  Python                        	       0x10d1033f9 builtin_exec + 379
36  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
37  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
38  Python                        	       0x10d117553 _PyEval_Vector + 92
39  Python                        	       0x10d041061 object_vacall + 264
40  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
41  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
42  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
43  Python                        	       0x10d106d02 PyEval_EvalCode + 191
44  Python                        	       0x10d1033f9 builtin_exec + 379
45  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
46  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
47  Python                        	       0x10d117553 _PyEval_Vector + 92
48  Python                        	       0x10d041061 object_vacall + 264
49  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
50  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
51  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
52  Python                        	       0x10d106d02 PyEval_EvalCode + 191
53  Python                        	       0x10d1033f9 builtin_exec + 379
54  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
55  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
56  Python                        	       0x10d117553 _PyEval_Vector + 92
57  Python                        	       0x10d041061 object_vacall + 264
58  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
59  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
60  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
61  Python                        	       0x10d106d02 PyEval_EvalCode + 191
62  Python                        	       0x10d1033f9 builtin_exec + 379
63  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
64  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
65  Python                        	       0x10d117553 _PyEval_Vector + 92
66  Python                        	       0x10d041061 object_vacall + 264
67  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
68  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
69  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
70  Python                        	       0x10d106d02 PyEval_EvalCode + 191
71  Python                        	       0x10d1033f9 builtin_exec + 379
72  Python                        	       0x10d08295a cfunction_vectorcall_FASTCALL_KEYWORDS + 87
73  Python                        	       0x10d114d2b _PyEval_EvalFrameDefault + 54498
74  Python                        	       0x10d117553 _PyEval_Vector + 92
75  Python                        	       0x10d041061 object_vacall + 264
76  Python                        	       0x10d040eff PyObject_CallMethodObjArgs + 226
77  Python                        	       0x10d13e1ed PyImport_ImportModuleLevelObject + 1312
78  Python                        	       0x10d10f0a0 _PyEval_EvalFrameDefault + 30807
79  Python                        	       0x10d106d02 PyEval_EvalCode + 191
80  Python                        	       0x10d15cdaa run_eval_code_obj + 72
81  Python                        	       0x10d15cd3a run_mod + 96
82  Python                        	       0x10d15cbc7 pyrun_file + 133
83  Python                        	       0x10d15c6d2 _PyRun_SimpleFileObject + 275
84  Python                        	       0x10d15c09b _PyRun_AnyFileObject + 143
85  Python                        	       0x10d177348 pymain_run_file_obj + 226
86  Python                        	       0x10d176d3e pymain_run_file + 85
87  Python                        	       0x10d176730 Py_RunMain + 843
88  Python                        	       0x10d177624 Py_BytesMain + 42
89  dyld                          	       0x2041f03a6 start + 1942

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7ffdf62b4 0x7ff7ffdf2000 + 17076

Thread 2:
0   ???                           	    0x7ff8a6c96a78 ???
1   libsystem_kernel.dylib        	    0x7ff8168a85d6 __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff8168e576b _pthread_cond_wait + 1211
3   libopenblas64_.0.dylib        	       0x1145402df blas_thread_server + 207
4   libsystem_pthread.dylib       	    0x7ff8168e5202 _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff8168e0bab thread_start + 15

Thread 3:
0   ???                           	    0x7ff8a6c96a78 ???
1   libsystem_kernel.dylib        	    0x7ff8168a85d6 __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff8168e576b _pthread_cond_wait + 1211
3   libopenblas64_.0.dylib        	       0x1145402df blas_thread_server + 207
4   libsystem_pthread.dylib       	    0x7ff8168e5202 _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff8168e0bab thread_start + 15

Thread 4:
0   ???                           	    0x7ff8a6c96a78 ???
1   libsystem_kernel.dylib        	    0x7ff8168a85d6 __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff8168e576b _pthread_cond_wait + 1211
3   libopenblas64_.0.dylib        	       0x1145402df blas_thread_server + 207
4   libsystem_pthread.dylib       	    0x7ff8168e5202 _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff8168e0bab thread_start + 15

Thread 5:
0   ???                           	    0x7ff8a6c96a78 ???
1   libsystem_kernel.dylib        	    0x7ff8168a85d6 __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff8168e576b _pthread_cond_wait + 1211
3   libopenblas64_.0.dylib        	       0x1145402df blas_thread_server + 207
4   libsystem_pthread.dylib       	    0x7ff8168e5202 _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff8168e0bab thread_start + 15

Thread 6:
0   ???                           	    0x7ff8a6c96a78 ???
1   libsystem_kernel.dylib        	    0x7ff8168a85d6 __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff8168e576b _pthread_cond_wait + 1211
3   libopenblas64_.0.dylib        	       0x1145402df blas_thread_server + 207
4   libsystem_pthread.dylib       	    0x7ff8168e5202 _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff8168e0bab thread_start + 15

Thread 7:
0   ???                           	    0x7ff8a6c96a78 ???
1   libsystem_kernel.dylib        	    0x7ff8168a85d6 __psynch_cvwait + 10
2   libsystem_pthread.dylib       	    0x7ff8168e576b _pthread_cond_wait + 1211
3   libopenblas64_.0.dylib        	       0x1145402df blas_thread_server + 207
4   libsystem_pthread.dylib       	    0x7ff8168e5202 _pthread_start + 99
it crashes Python, so it's not a software exception, it's an MacOS crash report
does this help @José Morales ?
Copy code
neuralforecast==1.6.4
j
Seems to be coming from polars but I don't think we've released support for it yet. Did you install from github?
Oh actually utilsforecast tries to import it, so that may be it. Are you able to just import polars?
n
so i import polars in my script above neuralforecast?
j
yes, or just try running:
python -c 'import polars'
n
Copy code
67222 illegal hardware instruction  python3 -c 'import polars'
j
Related issue: https://github.com/pola-rs/polars/issues/2922. There seems to be an alternative. Or you can also install neuralforecast in an environment without polars and it should work
n
in an environment without polars
so i can just uninstall polars?...
j
Yes, that should work as well if you're not using it
n
yah im not using it
awesome that worked thank you so much @José Morales 🙂
👍 1