This commit is contained in:
Dan Saunders
2025-10-01 16:18:40 -04:00
parent 00e0238501
commit ccd2f12335

View File

@@ -27,13 +27,13 @@ UNINSTALL_PREFIX = ""
if cce_spec:
if not importlib.util.find_spec("cut_cross_entropy.transformers"):
if USE_UV:
UNINSTALL_PREFIX = "uv pip uninstall --system --yes cut-cross-entropy && "
UNINSTALL_PREFIX = "uv pip uninstall --yes cut-cross-entropy && "
else:
UNINSTALL_PREFIX = "pip uninstall -y cut-cross-entropy && "
installer = "uv pip --system" if USE_UV else "pip"
installer = "uv pip install --system" if USE_UV else "pip install"
command = (
f"{installer} install "
f"{installer} "
'"cut-cross-entropy[transformers] '
'@ git+https://github.com/axolotl-ai-cloud/ml-cross-entropy.git@147ea28"'
)