OneTrainer icon indicating copy to clipboard operation
OneTrainer copied to clipboard

[Bug]: Always-On Tensorboard create unwanted workspace directories

Open hyppyhyppo opened this issue 2 months ago • 7 comments

What happened?

Checked in Windows and easily reproducable:

  1. Clean up the workspace OT directory for better visualization
  2. Open OT with a default preset, set always-on Tensorboard off, Workspace is set in General tab to workspace/run.
  3. Enable always-on Tensorboard, it creates 3 directories under OneTrainer local directory named workspace/r, workspace/ru, workspace/run
  4. Change the workspace name in OT with still the always-on Tensorboard option on, ex workspace/thisistheissue.
Image

Not harming anything but annoying.

What did you expect would happen?

Not creating ghost directories when having the always-on Tensorboard option on and defining a new workspace directory in General.

Relevant log output


Generate and upload debug_report.log

No response

hyppyhyppo avatar Sep 29 '25 12:09 hyppyhyppo

could you have a look @O-J1 ?

dxqb avatar Oct 02 '25 16:10 dxqb

Ive tried replicating this and I cannot, can you retry @hyppyhyppo ?

O-J1 avatar Oct 13 '25 15:10 O-J1

I just did. Enable always-on then set a new workspace name, It will create the ghost directories.

hyppyhyppo avatar Oct 14 '25 05:10 hyppyhyppo

Strange, I followed the above steps exactly.

O-J1 avatar Oct 14 '25 05:10 O-J1

Steps to reproduce:

  • load Chroma 16 GB LoRA preset (probably not necessary, but to have a common baseline)
  • Switch on "Always-On-Tensorboard"
  • Type in "Workspace Directory"

with each keystroke, Tensorboard is restarted, and a new directory is created.

dxqb avatar Oct 29 '25 20:10 dxqb

3. Enable always-on Tensorboard, it creates 3 directories  under OneTrainer local directory named `workspace/r`, `workspace/ru`, `workspace/run`

I'm not sure I reproduced exactly the bug that was reported, because here is nothing about typing. But anyway, creating 1 directory per keystroke isn't great either and I guess it has the same root cause.

dxqb avatar Oct 29 '25 20:10 dxqb

Don’t worry, already recreated successfully the day after my last comment 2wks ago and discussed in discord. That’s why there’s a linked PR to close it

O-J1 avatar Oct 29 '25 20:10 O-J1