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 CI #10

Merged
merged 4 commits into from
Apr 15, 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
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist
sccache: 'true'
manylinux: auto
- name: Upload wheels
Expand All @@ -61,8 +61,6 @@ jobs:
platform:
- runner: windows-latest
target: x64
- runner: windows-latest
target: x86
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -73,7 +71,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -99,7 +97,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/python-publish.yml

This file was deleted.

13 changes: 0 additions & 13 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ candle-transformers = { git = "https://github.com/huggingface/candle.git", versi
candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.5.0", features = ["mkl"] }
anyhow = "1.0.81"
intel-mkl-src = "0.8.1"
candle-pyo3 = { git = "https://github.com/huggingface/candle.git", version = "0.5.0" }
tokio = {version = "1.37.0", features=["rt-multi-thread"]}
pyo3 = { version = "0.21" }

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ license = {file = "LICENSE"}
features = ["pyo3/extension-module"]
include = [{path = "lib/*.dll", format = ["sdist", "wheel"]}]
python-source = "python"

[project.urls]
Homepage = "https://github.com/StarlightSearch/EmbedAnything/tree/main"
1 change: 0 additions & 1 deletion python/embed_anything/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
os.add_dll_directory(os.path.dirname(__file__)+os.path.sep + "lib")
from .embed_anything import *

__doc__ = embed_anything.__doc__
Expand Down
Loading