-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat: support multiple models on autotune service #107
Conversation
@@ -37,6 +37,7 @@ class BaguaHyperparameter(BaseModel): | |||
""" | |||
|
|||
buckets: List[List[TensorDeclaration]] = [] | |||
bucket_size: int = 0 |
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.
Is this hyperparameter class only used in service?
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.
Yes, I put it here because this is the simplest and most intuitive way to achieve
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.
I mean the BaguaHyperparameter
class. If it is only used in service, we can move the whole class to service module
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.
Got it, but not exactly, new distributed hyperparameters should also be configured here, such as is_hierarchical_reduce
@@ -1,17 +1,30 @@ | |||
import unittest |
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.
let's include the autotune test in CI?
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.
Ok i think so too
one more thing, we also need test case for different datatypes (fp16 fp32 mixed precision case) |
No description provided.