Skip to content

Commit 941d294

Browse files
Mick Killianeylarryliu0820
authored andcommitted
Switch ruamel-yaml default from 0.17.x to 0.18.15 (pytorch#15119)
Summary: Pull Request resolved: pytorch#15119 Change the default version of ruamel-yaml from 0.17.10 to 0.18.15 everywhere. Reviewed By: parulgupta1004 Differential Revision: D83863515
1 parent c9339e2 commit 941d294

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.ci/docker/requirements-ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
mpmath==1.3.0
22
numpy>=2.0.0; python_version >= '3.10'
33
PyYAML==6.0.1
4-
ruamel.yaml==0.17.32
4+
ruamel.yaml==0.18.15
55
sympy==1.12
66
timm==0.6.13
77
tomli==2.0.1

exir/dialects/edge/_ops.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from executorch.exir.dialects.edge.op.api import to_variant
1717
from executorch.exir.dialects.edge.spec.utils import get_tensor_variable_names
1818

19-
# pyre-ignore
2019
from ruamel.yaml import YAML
2120
from torchgen.model import SchemaKind
2221

@@ -166,7 +165,6 @@ def __getitem__(self, arg_name: str) -> Set[torch.dtype]:
166165

167166

168167
def _load_edge_dialect_info() -> Dict[str, Dict[str, Any]]:
169-
# pyre-ignore
170168
yaml = YAML(typ="safe")
171169
edge_yaml = resources.read_text(edge_package, "edge.yaml", encoding="utf-8")
172170
edge_dialect_yaml_info = yaml.load(edge_yaml)

exir/dialects/edge/spec/gen.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
op.aten_name if op.aten_name is not None else op.name: op for op in op_db
3535
}
3636

37-
# pyre-ignore
3837
yaml = ruamel.yaml.YAML()
3938

4039
dtr = DtypeRunner()

0 commit comments

Comments
 (0)