Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/#1415 Using torch 2.2.0 in macOS x86_64 #1417

Merged
merged 2 commits into from
Oct 29, 2024
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
144 changes: 124 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ sentence-transformers = {version = "^2.3.0", optional = true}
sqlglot = {extras = ["rs"], version = "^25.0.3"}
pymilvus = {version = "^2.4.6", optional = true}
milvus-model = {version = "^0.2.7", optional = true}
torch = [
{ version = "2.2.0", markers = "sys_platform == 'darwin' and platform_machine == 'x86_64'" },
{ version = "2.4.1", markers = "sys_platform != 'darwin'" }
]

[tool.poetry.group.dev]
optional = true
Expand Down
2 changes: 2 additions & 0 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
# Add Poetry to PATH
ENV PATH="/root/.local/bin:$PATH"

ENV PYTHONPATH=/app

# Copy the current directory contents into the container at /app
COPY . /app

Expand Down