Skip to content

Remove obsolete TorchVis class#772

Merged
lanpa merged 2 commits into
masterfrom
remove-torchvis
Apr 8, 2026
Merged

Remove obsolete TorchVis class#772
lanpa merged 2 commits into
masterfrom
remove-torchvis

Conversation

@lanpa
Copy link
Copy Markdown
Owner

@lanpa lanpa commented Apr 8, 2026

Description

This PR removes the obsolete TorchVis class and its associated file tensorboardX/torchvis.py.

Reasons for removal:

  • Redundancy: TorchVis was a thin wrapper intended to support both TensorBoard and Visdom. With Visdom support removed, it became redundant over SummaryWriter.
  • Code Coverage: Removing this low-coverage (31%) file has increased the total project coverage from 76% to 77%.
  • Maintenance: Simplifies the codebase by removing unused abstractions.

Changes:

  • Deleted tensorboardX/torchvis.py.
  • Removed TorchVis export from tensorboardX/__init__.py.
  • Removed TorchVis documentation from docs/tensorboard.rst.

Verification Results:

  • ✅ Local Verification: All 94 tests passed successfully.
  • ✅ Documentation: Verified that docs/tensorboard.rst is updated.

@lanpa lanpa merged commit 69a0971 into master Apr 8, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant