-
Notifications
You must be signed in to change notification settings - Fork 109
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
[torchx][api] Deprecate Torchx Session Name #227
Comments
It's useful in certain contexts I think. With schedulers where the name is provided in metadata it's not useful but for things like Volcano jobs having that can be beneficial since there's not an easy way to view metadata via vcctl. However, I don't think that really needs to be on the runner level and could be decided on the scheduler specific level. We don't include the session name or user name currently in the Volcano scheduler so that's a bit of a moot point regardless. Removing username seems fine, not a big deal, if users want it they can override. If we remove session name entirely might be a bit of a pain point for tracking. |
Summary: Pull Request resolved: pytorch#215 The diff makes a default torchx session name as `torchx` instead of `torchx-$username` RFC: pytorch#227 Differential Revision: D31348341 fbshipit-source-id: 1a204a2766cd5def128547cd32ad07b3f6a23ae6
Summary: Pull Request resolved: pytorch#215 The diff makes a default torchx session name as `torchx` instead of `torchx-$username` RFC: pytorch#227 Differential Revision: D31348341 fbshipit-source-id: b1a8c18467cc51ecdb886342088ecb626a94ffa6
Summary: Pull Request resolved: pytorch#215 The diff makes a default torchx session name as `torchx` instead of `torchx-$username` RFC: pytorch#227 Reviewed By: d4l3k Differential Revision: D31348341 fbshipit-source-id: 9c9f759a34420ddc4b7ef211b477b98057fed7fe
Summary: Pull Request resolved: pytorch#215 The diff makes a default torchx session name as `torchx` instead of `torchx-$username` RFC: pytorch#227 Reviewed By: d4l3k Differential Revision: D31348341 fbshipit-source-id: dc164139bc693378cf4f15b93f6e4c0324de1fce
... I believe it was closed in #215 |
lets just add a deprecation warning + docs |
Torchx Runner has a concept of
session_name
. When user creates a Runner, he/she may providesession_name
. If no argument provided, thesession_name
will be set to:torchx_$user
.This parameter is then used to create a full job name as:
session_name-$app_der.name
.The problem is that the default session name
torchx_$user
is not bound by the max length, and in theory can be very long. This may affect user jobs without them understanding the root cause.In order to solve this, we can make default session name as
torchx_
instead, and omit$user
part.The text was updated successfully, but these errors were encountered: