Skip to content

ModuleNotFoundError: No module named 'outlines.text' #440

@cerealceec

Description

@cerealceec

Describe the bug
ModuleNotFoundError when importing client:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/cecil/repos/anarchy/LLM-VM/src/llm_vm/client.py", line 6, in <module>
    from llm_vm.completion.optimize import LocalOptimizer
  File "/Users/cecil/repos/anarchy/LLM-VM/src/llm_vm/completion/optimize.py", line 14, in <module>
    from llm_vm.guided_completion import Completion
  File "/Users/cecil/repos/anarchy/LLM-VM/src/llm_vm/guided_completion.py", line 2, in <module>
    import outlines.text.generate as generate
ModuleNotFoundError: No module named 'outlines.text'

To Reproduce
Steps to reproduce the behavior:

  1. Install LLM-VM
  2. Open python3 in shell
  3. Import client using from llm_vm.client import Client

Expected behavior
Client imports successfully.

Desktop (please complete the following information):

  • OS: macOS Monterey 12.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions