refactor: 尝试去掉nvidia依赖
This commit is contained in:
parent
6bf3ccfa71
commit
a030275326
4
.github/workflows/build-and-push.yml
vendored
4
.github/workflows/build-and-push.yml
vendored
@ -14,8 +14,8 @@ on:
|
|||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
#- linux/arm64
|
- linux/arm64
|
||||||
#- linux/amd64,linux/arm64
|
- linux/amd64,linux/arm64
|
||||||
registry:
|
registry:
|
||||||
description: 'Push To Registry'
|
description: 'Push To Registry'
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@ -18,7 +18,12 @@ diskcache = "^5.6.3"
|
|||||||
pillow = "^10.2.0"
|
pillow = "^10.2.0"
|
||||||
filetype = "^1.2.0"
|
filetype = "^1.2.0"
|
||||||
chardet = "^5.2.0"
|
chardet = "^5.2.0"
|
||||||
torch = {version = "^2.2.1+cpu", source = "pytorch"}
|
torch = [
|
||||||
|
{ version = "^2.2.1+cpu", markers = "platform_system == 'Linux' and platform_machine == 'x86_64'", source = "pytorch" },
|
||||||
|
{ version = "^2.2.1", markers = "platform_system == 'Linux' and platform_machine == 'aarch64'", source = "pytorch" },
|
||||||
|
{ version = "^2.2.1+cpu", markers = "platform_system == 'Windows'", source = "pytorch" },
|
||||||
|
{ version = "^2.2.1", markers = "platform_system == 'Darwin'", source = "pytorch" }
|
||||||
|
]
|
||||||
sentence-transformers = "^2.2.2"
|
sentence-transformers = "^2.2.2"
|
||||||
blinker = "^1.6.3"
|
blinker = "^1.6.3"
|
||||||
openai = "^1.13.3"
|
openai = "^1.13.3"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user