-
Notifications
You must be signed in to change notification settings - Fork 310
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
Enabling absolute checkpoint dir #1283
base: main
Are you sure you want to change the base?
Enabling absolute checkpoint dir #1283
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Hi @lade-odoo - thanks for opening this pull request. I have a couple of questions that come to mind...
|
@kevin-bates Thank you for you questions:
|
Shoot - I'm sorry, I missed that piece.
I tend to agree. One caveat with an absolute checkpoint-dir would occur if users change their Hmm - I suppose for users that change their |
f6c0668
to
424d086
Compare
Sometimes, we don't want the checkpoints to be saved into our working directory. Instead, we may want to recreate the project structure inside a separate folder (e.g.: /home/{user}/.cache) like some software are doing.
424d086
to
f7dc7e9
Compare
@kevin-bates Is there any-news here ? |
Hi @lade-odoo - thank you for the ping and I apologize for my inactivity (new job outside of Jupyter OSS). I'm going to approve this PR, but I'm hoping someone closer to the Contents Service will take look prior to its merge. I'm just not sure if this might side-affect things in any non-obvious ways. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me - thank you @lade-odoo. I'm hoping someone closer to the Contents Service can take a look at this prior to its merge.
From a security standpoint, we only ever write to files that are contained withing the startup directory. This would have to be an opt-in feature, as a new traitlet on FileCheckpoints. |
Sometimes, we don't want the checkpoints to be saved into our working directory. Instead, we may want to recreate the project structure inside a separate folder (e.g.: /home/{user}/.cache) like some software are doing.