Conversation
… in localprovider modal
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Review SummaryThis branch simplifies the installer by splitting the API's Must Fix (blocks merge)[Correctness]
# Current (broken on systems without rg):
if ! conda env list | awk '{print $1}' | rg -Fq "${ENV_DIR}"; then
# ...
elif [ -r /etc/dgx-release ] && rg -iq 'DGX Spark' /etc/dgx-release; thenFix — use if ! conda env list | awk '{print $1}' | grep -Fq "${ENV_DIR}"; then
# ...
elif [ -r /etc/dgx-release ] && grep -iq 'DGX Spark' /etc/dgx-release; then[Correctness] File handle leak in Fix: # After proc = subprocess.Popen(...):
stdout_log.close()
stderr_log.close()Or even better, close them in a Should Fix (important but not blocking)[Correctness] Silently swallowed exception in background setup — except Exception:
import logging
logging.getLogger(__name__).warning("Background local provider setup failed", exc_info=True)[Correctness] CI workflow no longer installs torch — In [Security] Consider Improving
What's Working Well
|
fixed all of these |
To try:
./install.sh multiuser_setup~/.transformerlabalso has a lab-sdk dir now~/.transformerlab/envs/general-uv