Metal3d commited on
Commit
dc29d9d
·
1 Parent(s): 3f0e084

Add torchvision

Browse files

Florence2 model preprocessor needs it to accelerate process

Files changed (3) hide show
  1. pdm.lock +27 -1
  2. pyproject.toml +1 -0
  3. requirements.txt +1 -0
pdm.lock CHANGED
@@ -5,7 +5,7 @@
5
  groups = ["default"]
6
  strategy = ["inherit_metadata"]
7
  lock_version = "4.5.0"
8
- content_hash = "sha256:347bfe6bad5a51324dd0fad3ab415f5a38c826d0ac0fe6a1b6d3e873a6b29168"
9
 
10
  [[metadata.targets]]
11
  requires_python = ">=3.10,<3.13"
@@ -1432,6 +1432,32 @@ files = [
1432
  {file = "torch-2.9.1-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:c0d25d1d8e531b8343bea0ed811d5d528958f1dcbd37e7245bc686273177ad7e"},
1433
  ]
1434
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1435
  [[package]]
1436
  name = "tqdm"
1437
  version = "4.67.1"
 
5
  groups = ["default"]
6
  strategy = ["inherit_metadata"]
7
  lock_version = "4.5.0"
8
+ content_hash = "sha256:8f5953bb60ddf9d7b083a2f10f3171bdd4227baf682b30b520b6391ea160f7a5"
9
 
10
  [[metadata.targets]]
11
  requires_python = ">=3.10,<3.13"
 
1432
  {file = "torch-2.9.1-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:c0d25d1d8e531b8343bea0ed811d5d528958f1dcbd37e7245bc686273177ad7e"},
1433
  ]
1434
 
1435
+ [[package]]
1436
+ name = "torchvision"
1437
+ version = "0.24.1"
1438
+ requires_python = ">=3.10"
1439
+ summary = "image and video datasets and models for torch deep learning"
1440
+ groups = ["default"]
1441
+ dependencies = [
1442
+ "numpy",
1443
+ "pillow!=8.3.*,>=5.3.0",
1444
+ "torch==2.9.1",
1445
+ ]
1446
+ files = [
1447
+ {file = "torchvision-0.24.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ded5e625788572e4e1c4d155d1bbc48805c113794100d70e19c76e39e4d53465"},
1448
+ {file = "torchvision-0.24.1-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:54ed17c3d30e718e08d8da3fd5b30ea44b0311317e55647cb97077a29ecbc25b"},
1449
+ {file = "torchvision-0.24.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:f476da4e085b7307aaab6f540219617d46d5926aeda24be33e1359771c83778f"},
1450
+ {file = "torchvision-0.24.1-cp310-cp310-win_amd64.whl", hash = "sha256:fbdbdae5e540b868a681240b7dbd6473986c862445ee8a138680a6a97d6c34ff"},
1451
+ {file = "torchvision-0.24.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:056c525dc875f18fe8e9c27079ada166a7b2755cea5a2199b0bc7f1f8364e600"},
1452
+ {file = "torchvision-0.24.1-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:1e39619de698e2821d71976c92c8a9e50cdfd1e993507dfb340f2688bfdd8283"},
1453
+ {file = "torchvision-0.24.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:a0f106663e60332aa4fcb1ca2159ef8c3f2ed266b0e6df88de261048a840e0df"},
1454
+ {file = "torchvision-0.24.1-cp311-cp311-win_amd64.whl", hash = "sha256:a9308cdd37d8a42e14a3e7fd9d271830c7fecb150dd929b642f3c1460514599a"},
1455
+ {file = "torchvision-0.24.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e48bf6a8ec95872eb45763f06499f87bd2fb246b9b96cb00aae260fda2f96193"},
1456
+ {file = "torchvision-0.24.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:7fb7590c737ebe3e1c077ad60c0e5e2e56bb26e7bccc3b9d04dbfc34fd09f050"},
1457
+ {file = "torchvision-0.24.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:66a98471fc18cad9064123106d810a75f57f0838eee20edc56233fd8484b0cc7"},
1458
+ {file = "torchvision-0.24.1-cp312-cp312-win_amd64.whl", hash = "sha256:4aa6cb806eb8541e92c9b313e96192c6b826e9eb0042720e2fa250d021079952"},
1459
+ ]
1460
+
1461
  [[package]]
1462
  name = "tqdm"
1463
  version = "4.67.1"
pyproject.toml CHANGED
@@ -10,6 +10,7 @@ dependencies = [
10
  "pillow>=12.0.0",
11
  "spaces>=0.44.0",
12
  "networkx>=3.0,<3.6",
 
13
  ]
14
  requires-python = ">=3.10,<3.13"
15
  readme = "README.md"
 
10
  "pillow>=12.0.0",
11
  "spaces>=0.44.0",
12
  "networkx>=3.0,<3.6",
13
+ "torchvision>=0.24.1",
14
  ]
15
  requires-python = ">=3.10,<3.13"
16
  readme = "README.md"
requirements.txt CHANGED
@@ -74,6 +74,7 @@ sympy==1.14.0
74
  tokenizers==0.22.1
75
  tomlkit==0.13.3
76
  torch>=2.4.0
 
77
  tqdm==4.67.1
78
  transformers==4.57.3
79
  triton==3.5.1; platform_system == "Linux" and platform_machine == "x86_64"
 
74
  tokenizers==0.22.1
75
  tomlkit==0.13.3
76
  torch>=2.4.0
77
+ torchvision
78
  tqdm==4.67.1
79
  transformers==4.57.3
80
  triton==3.5.1; platform_system == "Linux" and platform_machine == "x86_64"