-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/NexaAI/nexaai-sdk-cpp into …
…david/bugfix
- Loading branch information
Showing
7 changed files
with
113 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,47 +6,47 @@ permissions: | |
contents: write | ||
|
||
jobs: | ||
build_wheels_linux: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: "recursive" | ||
|
||
# Used to host cibuildwheel | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
cache: "pip" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
# python -m pip install -e . | ||
python -m pip install build wheel | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
# disable repair | ||
CIBW_REPAIR_WHEEL_COMMAND: "" | ||
CIBW_BUILD_FRONTEND: "build" | ||
CIBW_SKIP: "*musllinux*" | ||
CIBW_BUILD: "cp310-* cp311-* cp312-*" | ||
CMAKE_BUILD_PARALLEL_LEVEL: 4 | ||
with: | ||
package-dir: . | ||
output-dir: wheelhouse | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.os }} | ||
path: ./wheelhouse/*.whl | ||
# build_wheels_linux: | ||
# name: Build wheels on ${{ matrix.os }} | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [ubuntu-20.04] | ||
|
||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# submodules: "recursive" | ||
|
||
# # Used to host cibuildwheel | ||
# - uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: "3.8" | ||
# cache: "pip" | ||
|
||
# - name: Install dependencies | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# # python -m pip install -e . | ||
# python -m pip install build wheel | ||
|
||
# - name: Build wheels | ||
# uses: pypa/[email protected] | ||
# env: | ||
# # disable repair | ||
# CIBW_REPAIR_WHEEL_COMMAND: "" | ||
# CIBW_BUILD_FRONTEND: "build" | ||
# CIBW_SKIP: "*musllinux*" | ||
# CIBW_BUILD: "cp310-* cp311-* cp312-*" | ||
# CMAKE_BUILD_PARALLEL_LEVEL: 4 | ||
# with: | ||
# package-dir: . | ||
# output-dir: wheelhouse | ||
|
||
# - uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: wheels-${{ matrix.os }} | ||
# path: ./wheelhouse/*.whl | ||
|
||
build_wheels_win: | ||
name: Build wheels on ${{ matrix.os }} | ||
|
@@ -146,7 +146,7 @@ jobs: | |
|
||
release: | ||
name: Release | ||
needs: [build_wheels_linux, build_wheels_win, build_wheels_arm64, build_sdist] | ||
needs: [build_wheels_win, build_wheels_arm64, build_sdist] # build_wheels_linux | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# Files | ||
*.safetensors | ||
*.gguf | ||
*.png | ||
*.jpeg | ||
*.jpg | ||
*.bin | ||
*.mp3 | ||
*.wav | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.0.5" | ||
__version__ = "0.0.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ fastapi | |
uvicorn | ||
pydantic | ||
pillow | ||
python-multipart | ||
|
||
# For onnx | ||
optimum[onnxruntime] # for CPU version | ||
|