Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions instill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "protogen"))

# protogen `model` package collides with `model.py`
# temporarily remove current directory from sys.path
# and import ray_io
if "" in sys.path:
sys.path.remove("")
import instill.helpers.ray_io

sys.path.insert(0, "")

try:
__version__ = version("instill-sdk")
except PackageNotFoundError:
Expand Down
2 changes: 1 addition & 1 deletion instill/helpers/init-templates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ RUN pip install --default-timeout=1000 --no-cache-dir instill-sdk==${SDK_VERSION

WORKDIR /home/ray
COPY --chown=ray:users --exclude=model.py . .
COPY --chown=ray:users model.py model.py
COPY --chown=ray:users model.py _model.py