Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude some file or dir #303

Open
Japson0 opened this issue Nov 27, 2024 · 1 comment
Open

exclude some file or dir #303

Japson0 opened this issue Nov 27, 2024 · 1 comment

Comments

@Japson0
Copy link

Japson0 commented Nov 27, 2024

/feature

When I train the model, the output to a path, in addition to valid model files, there are a lot of invalid run logs, can the current directory through the regular matching and other ignore the corresponding file or directory.
For some reason I can't save the files I don't need to another directory

just like

  • models
    • model.safetensors
    • runs-log-1 (exclude)
    • runs-log2 (exculde)
@unexge
Copy link
Contributor

unexge commented Nov 27, 2024

The CSI Driver uses Mountpoint for the filesystem operations. This is probably a feature request on Mountpoint itself.

Maybe you can use a helper tool like rsync to achieve the desired outcome? It seems to support --exclude. There are some recommended options here to use rsync with Mountpoint: awslabs/mountpoint-s3#1095 (comment), though, since Mountpoint is not fully POSIX-compliant it might not support all operations.

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

No branches or pull requests

2 participants