Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
slundberg committed Dec 4, 2023
1 parent bc6b62b commit 300d852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion guidance/models/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import time
import numpy as np
import logging
from guidance import cpp
from .. import cpp
from .._utils import ByteTrie, log_softmax, softmax
from .._parser import EarleyCommitParser
from .._grammar import StatelessFunction, string, _call_pool, _tag_pattern, Null, replace_model_variables, unreplace_model_variables, select, Terminal
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
try:
from pybind11.setup_helpers import Pybind11Extension, build_ext
except ImportError:
from setuptools import build_ext, Extension as Pybind11Extension
build_ext = None
from setuptools import Extension as Pybind11Extension
from setuptools.command import build_ext

here = os.path.abspath(os.path.dirname(__file__))

Expand Down

0 comments on commit 300d852

Please sign in to comment.