Merge remote-tracking branch 'origin/main' into feature/docker-studio-v0.1.3-beta
This commit is contained in:
commit
391130f365
78 changed files with 9748 additions and 1888 deletions
|
|
@ -110,7 +110,7 @@ def _stdout_supports_color() -> bool:
|
|||
try:
|
||||
if not sys.stdout.isatty():
|
||||
return False
|
||||
except Exception:
|
||||
except (AttributeError, OSError, ValueError):
|
||||
return False
|
||||
if IS_WINDOWS:
|
||||
try:
|
||||
|
|
@ -121,7 +121,7 @@ def _stdout_supports_color() -> bool:
|
|||
mode = ctypes.c_ulong()
|
||||
kernel32.GetConsoleMode(handle, ctypes.byref(mode))
|
||||
kernel32.SetConsoleMode(handle, mode.value | 0x0004)
|
||||
except Exception:
|
||||
except (ImportError, AttributeError, OSError):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
@ -529,7 +529,6 @@ def install_python_stack() -> int:
|
|||
# "unsloth-zoo",
|
||||
# req = REQ_ROOT / "base.txt",
|
||||
# )
|
||||
|
||||
# # 3. Extra dependencies
|
||||
# _progress("unsloth extras")
|
||||
# pip_install(
|
||||
|
|
@ -537,7 +536,6 @@ def install_python_stack() -> int:
|
|||
# "--no-cache-dir",
|
||||
# req = REQ_ROOT / "extras.txt",
|
||||
# )
|
||||
|
||||
# # 3b. Extra dependencies (no-deps) -- audio model support etc.
|
||||
# _progress("extra codecs")
|
||||
# pip_install(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue