Skip to content

Commit

Permalink
Revert "refactor: 尝试去掉nvidia依赖"
Browse files Browse the repository at this point in the history
This reverts commit ef7a783.
  • Loading branch information
liqiang-fit2cloud committed Mar 20, 2024
1 parent ef7a783 commit 6bf3ccf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:
type: choice
options:
- linux/amd64
- linux/arm64
- linux/amd64,linux/arm64
#- linux/arm64
#- linux/amd64,linux/arm64
registry:
description: 'Push To Registry'
required: true
Expand Down
7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ diskcache = "^5.6.3"
pillow = "^10.2.0"
filetype = "^1.2.0"
chardet = "^5.2.0"
torch = [
{ version = "^2.2.1+cpu", markers = "sys_platform == 'linux' and (platform_machine == 'x86_64' or platform_machine == 'amd64')", source = "pytorch" },
{ version = "^2.2.1+cpu", markers = "sys_platform == 'win32'", source = "pytorch" },
{ version = "^2.2.1", markers = "sys_platform == 'linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64')", source = "pytorch" },
{ version = "^2.2.1", markers = "sys_platform == 'darwin'", source = "pytorch" }
]
torch = {version = "^2.2.1+cpu", source = "pytorch"}
sentence-transformers = "^2.2.2"
blinker = "^1.6.3"
openai = "^1.13.3"
Expand Down

0 comments on commit 6bf3ccf

Please sign in to comment.