From fba0bff2f49cb883a0be8143dce971e7c107ca1f Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 30 Jun 2025 23:11:57 -0700 Subject: [PATCH] Remove stale bot --- .github/workflows/stale.yml | 2 +- use_existing_torch.py | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 use_existing_torch.py diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d5ea2a3372..80cce7793b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -23,7 +23,7 @@ jobs: For faster response times, please post on our Reddit server - https://www.reddit.com/r/unsloth or our Discord - https://discord.com/invite/unsloth # The number of days of inactivity before an issue is considered stale. - days-before-issue-stale: 10 + days-before-issue-stale: 9999 # Set to -1 to never close stale issues. days-before-issue-close: -1 diff --git a/use_existing_torch.py b/use_existing_torch.py deleted file mode 100644 index 0f1fe66e91..0000000000 --- a/use_existing_torch.py +++ /dev/null @@ -1,22 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 -# SPDX-FileCopyrightText: Copyright contributors to the vLLM project and Unsloth project -# Copying from https://github.com/vllm-project/vllm/blob/main/use_existing_torch.py - -import glob - -requires_files = glob.glob('requirements/*.txt') -requires_files += ["pyproject.toml"] -for file in requires_files: - print(f">>> cleaning {file}") - with open(file) as f: - lines = f.readlines() - if "torch" in "".join(lines).lower(): - print("removed:") - with open(file, 'w') as f: - for line in lines: - if 'torch' not in line.lower(): - f.write(line) - else: - print(line.strip()) - print(f"<<< done cleaning {file}") - print()