Merge branch 'main' into nightly
This commit is contained in:
commit
710735652d
2 changed files with 3 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ name = "unsloth"
|
|||
dynamic = ["version"]
|
||||
description = "2-5X faster LLM finetuning"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9,<=3.12"
|
||||
requires-python = ">=3.9,<3.13"
|
||||
license = {file = "LICENSE"}
|
||||
keywords = ["ai", "llm",]
|
||||
authors = [
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
__version__ = "2025.3.4"
|
||||
__version__ = "2025.3.5"
|
||||
|
||||
__all__ = [
|
||||
"SUPPORTS_BFLOAT16",
|
||||
|
|
@ -1248,8 +1248,7 @@ LOGITS_ERROR_STRING = \
|
|||
'set the environment variable `UNSLOTH_RETURN_LOGITS` to `"1" BEFORE starting to train ie before `trainer.train()`. For example:\n\n'\
|
||||
"import os\n"\
|
||||
"os.environ['UNSLOTH_RETURN_LOGITS'] = '1'\n"\
|
||||
"... trainer.train() ...\n"\
|
||||
"No need to restart training - just add this before trainer.train() and re-run it!"
|
||||
"... trainer.train() ..."
|
||||
|
||||
def raise_logits_error(*args, **kwargs): raise NotImplementedError(LOGITS_ERROR_STRING)
|
||||
def return_none(*args, **kwargs): return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue