refactor: 尝试去掉nvidia依赖
This commit is contained in:
parent
dc4161bc8b
commit
ef7a783ac7
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 = "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" }
|
||||||
|
]
|
||||||
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