mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[ci, 3.13] update tensorboard version for 3.13 to fix broken tests (#141572)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/141572 Approved by: https://github.com/StrongerXi, https://github.com/atalman ghstack dependencies: #141409, #142003
This commit is contained in:
committed by
PyTorch MergeBot
parent
c93dd531d3
commit
9459952175
@ -1,7 +1,9 @@
|
||||
# Owner(s): ["oncall: r2p"]
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
import unittest
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
@ -129,6 +131,10 @@ class TestMonitorTensorboard(TestCase):
|
||||
for temp_dir in self.temp_dirs:
|
||||
temp_dir.cleanup()
|
||||
|
||||
@unittest.skipIf(
|
||||
sys.version_info >= (3, 13),
|
||||
"numpy failure, likely caused by old tensorboard version",
|
||||
)
|
||||
def test_event_handler(self):
|
||||
with self.create_summary_writer() as w:
|
||||
handle = register_event_handler(TensorboardEventHandler(w))
|
||||
|
Reference in New Issue
Block a user