Skip to content

Commit 8542e55

Browse files
Marvin182copybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 537247421
1 parent 46adc8e commit 8542e55

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

clu/profiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
1717
Where results are stored depends on the platform (e.g. TensorBoard).
1818
"""
19-
19+
from collections.abc import Callable, Sequence
2020
import threading
21-
from typing import Callable, Optional, Sequence
21+
from typing import Any, Optional
2222

2323
from absl import logging
2424

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
"tensorflow",
2828
"tensorflow_datasets",
2929
# Temporarily disabling torch-2.0.0 since this fails Github actions.
30-
"torch>=1.13.0,!=2.0.0",
31-
]
32-
pytorch_require = [
33-
"torch>=1.13.0",
30+
"torch>=1.13.0,<2.0.0",
3431
]
3532

3633
setup(
@@ -58,7 +55,7 @@
5855
"wrapt",
5956
],
6057
tests_require=tests_require,
61-
extras_require=dict(test=tests_require, pytorch=pytorch_require),
58+
extras_require=dict(test=tests_require),
6259
classifiers=[
6360
"Development Status :: 4 - Beta",
6461
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)