Open qubit55 opened 6 months ago
Hi, try passing :continue-ignoring-errors nil
to py4cl2:defpymodule
.
(py4cl2:defpymodule "transformers" t :lisp-package "TRANSFORMERS" :continue-ignoring-errors nil)
Also check if (py4cl2:config-var 'py4cl2:pycmd)
is pointing to the correct python binary. And that the value of sys.path
is as expected:
(py4cl2:raw-pyexec "import sys")
(py4cl2:raw-pyeval "sys.path")
I just tried this, and I run into an error pertaining to the name translation of transformers.models.megatron_gpt2
. I will try to fix it. In the meanwhile, you can restrict to calling pycall
directly.
eff3f0edb302fb2cef8b83de5cd876c15f9affcd should have fixed this.
Hello, I'm trying to do the following:
but getting "Package TRANSFORMERS does not exist."
However, the following works fine:
I have a feeling I'm missing something obvious.