Skip to content

Commit 8e38f9d

Browse files
Pyre Bot Jr.meta-codesync[bot]
authored andcommitted
Remove Pyre mode headers in fbcode/spdl
Summary: Remove standalone `# pyre-strict` and `# pyre-unsafe` mode headers from Python files under `fbcode/spdl`. Pyrefly type-checks all files in one consistent mode, so these legacy per-file mode headers no longer have an effect. Other Pyre directives and generated files are left unchanged.Pyrefly is now the default type checker across FBCode so this diff introduces no functional changes. #pyreupgrade Differential Revision: D117256028
1 parent 214a757 commit 8e38f9d

184 files changed

Lines changed: 0 additions & 228 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/scripts/install_cuda_toolkit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""
1110
Download and extract CUDA components.

examples/benchmark_arena_transport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Targeted benchmark: arena transport throughput (regular IPC vs ring vs pool).
1110

examples/benchmark_arena_transport_plot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Plot results from :py:mod:`benchmark_arena_transport`.
1110

examples/benchmark_ipc_dataloader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Targeted benchmark: the cost of shipping a dataset to DataLoader workers.
1110

examples/benchmark_ipc_dataloader_plot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Plot results from :py:mod:`benchmark_ipc_dataloader`.
1110

examples/benchmark_numpy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"BenchmarkConfig",
3333
]
3434

35-
# pyre-strict
3635

3736
import argparse
3837
import os

examples/benchmark_numpy_plot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Plot benchmark results from data format loading benchmarks.
1110

examples/benchmark_tarfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Benchmark script for :py:func:`spdl.io.iter_tarfile` function.
1110

examples/benchmark_tarfile_plot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# pyre-strict
98

109
"""Plot benchmark results from TAR file parsing benchmarks.
1110

examples/benchmark_thread_output_queue.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7-
# pyre-strict
87

98
"""Benchmark: SPDL pipeline handoff latency with and without thread output queue.
109

0 commit comments

Comments
 (0)