mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-01 09:27:43 +00:00
change only model codes in model coder (#707)
This commit is contained in:
@@ -87,6 +87,10 @@ class ModelMultiProcessEvolvingStrategy(MultiProcessEvolvingStrategy):
|
||||
)
|
||||
)
|
||||
|
||||
if not all(i.startswith("model_") for i in batch_edit.keys()):
|
||||
user_prompt += "\nYou should only update model codes!"
|
||||
continue
|
||||
|
||||
# 3. post process to align file name to the task name
|
||||
# we assumpt batch_edit only contains one model file update.
|
||||
batch_edit = {
|
||||
|
||||
Reference in New Issue
Block a user