Replies: 1 comment 8 replies
-
Do you have any luck with other samplers like nutpie or numpyro? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I did all steps in https://www.pymc-marketing.io/en/0.11.0/getting_started/installation/index.html to install the library.
After that. I could load the package "PyMC-Marketing version: 0.15.1". However, when I want to run the code and fit a model, I face an error. I am wondering what the issue is and what I should do.
Here is a piece of the error that I faced. If there is any missing step in installation, is there any video explaining that?
Thanks
You can find the C code in this temporary file: C:\Users\aaa\AppData\Local\Temp\pytensor_compilation_error_sd8rybi3
ERROR (pytensor.graph.rewriting.basic): Rewrite failure due to: constant_folding
ERROR (pytensor.graph.rewriting.basic): node: ExpandDims{axis=0}(3)
ERROR (pytensor.graph.rewriting.basic): TRACEBACK:
ERROR (pytensor.graph.rewriting.basic): Traceback (most recent call last):
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\graph\rewriting\basic.py", line 1922, in process_node
replacements = node_rewriter.transform(fgraph, node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\graph\rewriting\basic.py", line 1086, in transform
return self.fn(fgraph, node)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\tensor\rewriting\basic.py", line 1160, in constant_folding
return unconditional_constant_folding.transform(fgraph, node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\graph\rewriting\basic.py", line 1086, in transform
return self.fn(fgraph, node)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\tensor\rewriting\basic.py", line 1109, in unconditional_constant_folding
thunk = node.op.make_thunk(node, storage_map, compute_map, no_recycling=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\op.py", line 125, in make_thunk
return self.make_c_thunk(node, storage_map, compute_map, no_recycling)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\op.py", line 84, in make_c_thunk
outputs = cl.make_thunk(
^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\basic.py", line 1185, in make_thunk
cthunk, module, in_storage, out_storage, error_storage = self.compile(
^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\basic.py", line 1102, in compile
thunk, module = self.cthunk_factory(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\basic.py", line 1626, in cthunk_factory
module = cache.module_from_key(key=key, lnk=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\cmodule.py", line 1251, in module_from_key
module = lnk.compile_cmodule(location)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\basic.py", line 1527, in compile_cmodule
module = c_compiler.compile_str(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aaa\AppData\Local\anaconda3\envs\marketing_env\Lib\site-packages\pytensor\link\c\cmodule.py", line 2678, in compile_str
raise CompileError(
pytensor.link.c.exceptions.CompileError: Compilation failed (return status=1):
Beta Was this translation helpful? Give feedback.
All reactions