chore: import upstream snapshot with attribution
Lint test / lint (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:58 +08:00
commit a203934033
1368 changed files with 175001 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Copyright (c) ModelScope Contributors. All rights reserved.
import torch
from typing import TYPE_CHECKING
from .base import PeftTuner
if TYPE_CHECKING:
from swift.arguments import SftArguments
class DummyTuner(PeftTuner):
@staticmethod
def prepare_model(args: 'SftArguments', model: torch.nn.Module) -> torch.nn.Module:
return model