Skip to content

Commit

Permalink
Merge pull request #2 from supervisely-ecosystem/local-cache-test
Browse files Browse the repository at this point in the history
New cache feature
  • Loading branch information
TheoLisin authored Aug 23, 2023
2 parents f39ea7d + 9b366eb commit b58d8db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
supervisely==6.72.32
supervisely==6.72.111
# git+https://github.com/supervisely/supervisely.git@some-test-branch
PyYAML
easydict
cython
Expand Down
3 changes: 3 additions & 0 deletions serve/serve/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@


NAME = os.environ.get("modal.state.modelName", "mixformer_vit_online")
os.environ["SMART_CACHE_TTL"] = str(5 * 60)
os.environ["SMART_CACHE_SIZE"] = str(512)

root = (Path(__file__).parent / ".." / ".." / "..").resolve().absolute()

load_dotenv(os.path.expanduser("~/supervisely.env"))
Expand Down

0 comments on commit b58d8db

Please sign in to comment.