Skip to content

Fix one-liner install by fetching PicoLM sources automatically#18

Open
dipeshbabu wants to merge 1 commit intoRightNow-AI:mainfrom
dipeshbabu:fix/installer-fetch-source
Open

Fix one-liner install by fetching PicoLM sources automatically#18
dipeshbabu wants to merge 1 commit intoRightNow-AI:mainfrom
dipeshbabu:fix/installer-fetch-source

Conversation

@dipeshbabu
Copy link

Problem: curl ... | bash runs install.sh without a local checkout, so Step 3 can’t find picolm/ and the build is skipped.

Fix: if picolm/picolm.c is not present next to the script, fetch sources from GitHub (git clone if available, otherwise tarball via curl+tar) into ~/.picolm/src, then build normally.

Tests:

  • Ran bash install.sh from a temp directory (no repo checkout) and verified ~/.picolm/bin/picolm --help works.
  • Verified model download + quick test path still works.

Closes: #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug: low priority] One liner build reporting

1 participant