Skip to content

Commit

Permalink
tiny tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
technillogue committed Sep 6, 2023
1 parent ee61fe7 commit d700da1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# requires cog > 0.9.0-beta1
# get it at https://github.com/replicate/cog/releases/download/v0.9.0-beta1/cog_linux_x86_64
export COG_EXPERIMENTAL_BUILD_STAGE_DEPS = apt update && apt install -yy cmake google-perftools
export FAKE_COG_VERSION = 0.8.1

CURRENT_DIR := $(shell basename $(PWD))

Expand Down Expand Up @@ -162,8 +163,7 @@ stage-and-test-models:
)

push: select
cog push r8.im/$(destination)
cog push --openapi-schema=$(schema) --use-cuda-base-image=false --debug --progress plain r8.im/$(destination)
cog push --openapi-schema=$(schema) --use-cuda-base-image=false --debug --progress plain r8.im/$(REPLICATE_USER)/$(model)


test-push: test-local push
Expand Down
4 changes: 4 additions & 0 deletions model_templates/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ llama_weights
*.tensors
default_base_weights/
llama.tensors
code
tests

# generated by replicate/cog
__pycache__
Expand All @@ -37,6 +39,8 @@ coverage.xml
*.cover
*.log
.git
**/.git
.mypy_cache
**/.mypy_cache
.pytest_cache
.hypothesis

0 comments on commit d700da1

Please sign in to comment.