Run #5 surfaced 6 collection errors in unsloth_zoo's tests/ that import unsloth_zoo.saving_utils or unsloth_zoo.temporary_patches at module scope. unsloth_zoo/__init__.py:314 raises ImportError("Please install Unsloth via pip install unsloth!") unless UNSLOTH_IS_PRESENT is in os.environ. Normally unsloth.__init__ sets that env var when unsloth is imported first. In this job we go through the unsloth_zoo conftest device_type spoof first (which loads device_type standalone, never running unsloth_zoo.__init__), then later imports of unsloth_zoo.saving_utils trigger the real __init__ without the env var. Fix: set UNSLOTH_IS_PRESENT=1 at the job-level env block. Has no effect on unsloth itself. |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| CODEOWNERS | ||
| dependabot.yml | ||
| FUNDING.yml | ||