Skip to content

run_tests.bat error #14

@howardphc

Description

@howardphc

I use the conda environment, with downloaded the DLL and installed all the dependencies. When I run the tests, it shows the error:

Traceback (most recent call last):
File "D:\AlphaGeometryRE\src\test_lm_inference.py", line 63, in
test_alphageometry.run_test(LmInferenceTest)
File "D:\AlphaGeometryRE\src\test_alphageometry.py", line 100, in run_test
cls.setUpClass()
File "D:\AlphaGeometryRE\src\test_lm_inference.py", line 43, in setUpClass
cls.loaded_lm = lm.LanguageModelInference(
File "D:\AlphaGeometryRE\src\lm_inference.py", line 46, in init
self.llm = CallableLLM(chatllm.LibChatLLM(binding.PATH_BINDS), ['--hide_banner', '-m', model_file, '--beam_size', str(batch_size)])
File "D:\AlphaGeometryRE\src\chatllm\bindings\chatllm.py", line 107, in init
self.chatllm_multimedia_msg_prepare = self.lib.chatllm_multimedia_msg_prepare
File "D:\anaconda\envs\maths\lib\ctypes_init
.py", line 387, in getattr
func = self.getitem(name)
File "D:\anaconda\envs\maths\lib\ctypes_init
.py", line 392, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'chatllm_multimedia_msg_prepare' not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions