Skip to content

Feature/import optimization - #94

Open
amobular wants to merge 5 commits into
mainfrom
feature/import-optimization
Open

amobular wants to merge 5 commits into
mainfrom
feature/import-optimization

Conversation

@amobular

@amobular amobular commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Made some more package versions for predicting and possibly using GPU.
Fixed some imports that occurred on importing sam.models so now tensorflow is not imported on startup.

If using ONNX for predictions I recommend installing/creating an image with sam[prediction]. This version has all the packages needed for predicting and is much smaller than than sam[all]

Closes #83

@amobular amobular linked an issue Nov 4, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make tensorflow import optional where possible

2 participants