wip
This commit is contained in:
@@ -23,7 +23,8 @@ cce_spec = importlib.util.find_spec("cut_cross_entropy")
|
||||
UNINSTALL_PREFIX = ""
|
||||
if cce_spec:
|
||||
if not importlib.util.find_spec("cut_cross_entropy.transformers"):
|
||||
UNINSTALL_PREFIX = "pip uninstall -y cut-cross-entropy && "
|
||||
uninstall_cmd = "uv pip uninstall" if USE_UV else "pip"
|
||||
UNINSTALL_PREFIX = f"{uninstall_cmd} uninstall -y cut-cross-entropy && "
|
||||
|
||||
UV_PREFIX = "uv " if USE_UV else ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user