LMFuser 0.0.6__tar.gz → 0.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lmfuser-0.0.6 → lmfuser-0.0.7}/PKG-INFO +1 -1
- {lmfuser-0.0.6 → lmfuser-0.0.7}/pyproject.toml +1 -1
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/task.py +3 -3
- {lmfuser-0.0.6 → lmfuser-0.0.7}/.github/workflows/python-publish.yml +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/.gitignore +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/.vscode/settings.json +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/LICENSE +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/README.md +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/__init__.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/model_loader.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/optimizers.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/runners/__init__.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/runners/ddp_runner.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/runners/runner.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/schedulers.py +0 -0
- {lmfuser-0.0.6 → lmfuser-0.0.7}/src/lmfuser/utils.py +0 -0
|
@@ -257,11 +257,11 @@ class Tasks(Conf):
|
|
|
257
257
|
|
|
258
258
|
if len(self.tasks) > num:
|
|
259
259
|
self.tasks = self.tasks[:num]
|
|
260
|
-
self.
|
|
260
|
+
self.task_weights = self.task_weights[:num]
|
|
261
261
|
elif len(self.tasks) < num:
|
|
262
262
|
self.tasks += [TaskSelector() for _ in range(num - len(self.tasks))]
|
|
263
|
-
self.
|
|
264
|
-
FloatArg(1.0, min_value=0.0, max_value=1.0) for _ in range(num - len(self.
|
|
263
|
+
self.task_weights += [
|
|
264
|
+
FloatArg(1.0, min_value=0.0, max_value=1.0) for _ in range(num - len(self.task_weights))
|
|
265
265
|
]
|
|
266
266
|
|
|
267
267
|
def get_train_dataloaders(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|