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

Create temporary directory using uuid #2868

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lamttic
Copy link

@lamttic lamttic commented Dec 23, 2023

Description

I suggest creating a temporary directory using a unique hash(UUID) for robustness.
There was an issue where the build didn't complete successfully when storing artifacts in the /tmp/{model_name} path and building the archive.
So, upon reviewing the code, I found that the folder was being deleted by the model_packaging_utils. To address this issue, I'm looking to uniquely designate the temporary folder path for the archive.
Furthermore, As mentioned previously in this issue, accessing the temporary path simultaneously by multiple accounts can lead to permission issues. I also hope that it will be resolved along with this PR.

@agunapal
Copy link
Collaborator

@lamttic Could you please attach the logs of an example directory that is created.

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.

None yet

4 participants