Repository navigation
Conversation
fegin
left a comment
There was a problem hiding this comment.
left some comments, stamp to unblock critical fix
|
|
||
| from torchtitan.experiments import _supported_experiments | ||
| from torchtitan.models import _supported_models | ||
|
|
There was a problem hiding this comment.
We should do a sanity check here.
assert _supported_models. isdisjoint(_supported_experiments)
This allows us to avoid having duplicated name. You can change _supported_models and _supported_experiments to be set.
|
Both tests failure are real. |
wwwjn
left a comment
There was a problem hiding this comment.
Need to fix model name here:
|
hmmm get a question for this PR: I'm trying to import either deepseek_simple_fsdp or llama_simple_fsdp from Wonder if there is a way that I could specific one of the two model(deepseek or llama) |
which handles import more efficiently and avoids accidental failure. After this PR, each new model or experiment need to define a `get_train_spec` function in their `__init__.py` file.
My bad that forgot to update qwen3.
which handles import more efficiently and avoids accidental failure. After this PR, each new model or experiment need to define a `get_train_spec` function in their `__init__.py` file.
My bad that forgot to update qwen3.
which handles import more efficiently and avoids accidental failure.
After this PR, each new model or experiment need to define a
get_train_specfunction in their__init__.pyfile.