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

Tasks have no default unique id/name #66

Closed
romilbhardwaj opened this issue Nov 26, 2021 · 2 comments
Closed

Tasks have no default unique id/name #66

romilbhardwaj opened this issue Nov 26, 2021 · 2 comments

Comments

@romilbhardwaj
Copy link
Collaborator

romilbhardwaj commented Nov 26, 2021

In sky.Task, we do not have any unique identifier for a task. The name field is perhaps intended to be an identifier, but if it is not specified by the user, it defaults to None.

The LocalDockerBackend requires a unique identifier for each task so it can assign container names and track associated volume mounts assigned during build time.

Possible solution: Randomly generate a task name if it is not specified by the user.

https://github.com/concretevitamin/sky-experiments/blob/517b97d102108f7a8cb2a0dbd1061f5b790f8af2/prototype/sky/task.py#L28-L44

@romilbhardwaj romilbhardwaj changed the title Tasks have no default id/name Tasks have no default unique id/name Nov 26, 2021
@concretevitamin
Copy link
Collaborator

Can we close this as won't-get-to-in-the-near-term?

@romilbhardwaj
Copy link
Collaborator Author

Closing for now.

@romilbhardwaj romilbhardwaj closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants