Skip to content

Commit bade4cb

Browse files
committed
build: Move torchvision to optional package
Signed-off-by: Brandon Groth <[email protected]>
1 parent 9623337 commit bade4cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

fms_mo/utils/import_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"pygraphviz",
3232
"fms",
3333
"triton",
34+
"torchvision",
3435
]
3536

3637
available_packages = {}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ dependencies = [
3232
"ninja>=1.11.1.1,<2.0",
3333
"tensorboard",
3434
"notebook",
35-
"torchvision>=0.17",
3635
"evaluate",
3736
"huggingface_hub",
3837
"pandas",
@@ -46,6 +45,7 @@ dev = ["pre-commit>=3.0.4,<5.0"]
4645
fp8 = ["llmcompressor"]
4746
gptq = ["Cython", "gptqmodel>=1.7.3"]
4847
mx = ["microxcaling>=1.1"]
48+
vision = ["torchvision>=0.17"]
4949
visualize = ["matplotlib", "graphviz", "pygraphviz"]
5050
flash-attn = ["flash-attn>=2.5.3,<3.0"]
5151
opt = ["fms-model-optimizer[fp8, gptq]"]

0 commit comments

Comments
 (0)