Skip to content

Commit

Permalink
fixup! feat(tgi): add functions to load Jetstream Pytorch engine for …
Browse files Browse the repository at this point in the history
…Llama2
  • Loading branch information
tengomucho committed Aug 29, 2024
1 parent e5b0e1d commit 098017a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion text-generation-inference/server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ clean:

# List static sources to be deployed in the package
src_dir := $(mkfile_dir)/$(pkg_name)
sources := $(wildcard $(src_dir)/*.py)
rwildcard_py = $(wildcard $(1)/*.py) $(foreach d,$(wildcard $(1)/*),$(call rwildcard_py,$d))
sources := $(call rwildcard_py,$(src_dir))
deployed_sources := $(subst $(src_dir), $(pkg_dir), $(sources))

# Static files are just copied

define COPY
mkdir -p $(dir $@)
cp -f $< $@
endef

Expand Down
2 changes: 1 addition & 1 deletion text-generation-inference/server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies = [
]

[tool.setuptools]
packages = ["text_generation_server", "text_generation_server.pb"]
packages = ["text_generation_server", "text_generation_server.pb", "text_generation_server.jetstream_pt_support"]

[tool.setuptools.dynamic]
version = {attr = "text_generation_server.version.__version__"}
Expand Down

0 comments on commit 098017a

Please sign in to comment.