summarylogtreecommitdiffstats
path: root/setup.install
blob: 7d5432f878e5590e0f5e6608a4119ac0ba2ce519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install() {
	echo ""
	echo "  ┌─────────────────────────────────────────────────────┐"
	echo "  │  Unsloth Studio — first-time setup required         │"
	echo "  └─────────────────────────────────────────────────────┘"
	echo ""
	echo "  Unsloth Studio needs a per-user Python environment with"
	echo "  PyTorch and other heavy ML dependencies. Run as your"
	echo "  regular user:"
	echo ""
	echo "    unsloth-setup"
	echo ""
	echo "  This creates ~/.unsloth/studio/unsloth_studio with PyTorch,"
	echo "  llama.cpp, and all required dependencies."
	echo ""
	echo "  Once complete, launch the Studio with:"
	echo ""
	echo "    unsloth studio -p 8888"
	echo ""
}

post_upgrade() {
	echo ""
	echo "  Unsloth has been upgraded. Update the Studio environment with:"
	echo ""
	echo "    unsloth-setup"
	echo ""
}