Skip to content

windows compatibility? #2

Closed
Closed

Description

@anm5704

I'm a beginner , is this program compatible with windows? what are the neccessary steps. I have the alpaca.cpp already installed on my laptop

Activity

  1. mudler commented on Mar 21, 2023

    @mudler
    Owner

    Hi!

    I don't have a windows machine to double check, but I don't think there should be anything specific preventing it to work there.

    Just install docker and start in API mode https://github.com/go-skynet/llama-cli#advanced-usage, or I guess WSL should work too.

  2. anm5704 commented on Mar 21, 2023

    @anm5704
    Author

    Thank you, I ran it after installing docker
    docker run -ti --rm quay.io/go-skynet/llama-cli:v0.1 --instruction "What's an alpaca?" --topk 10000
    I ran this command but it seems to start the process for 5-6 seconds and ends it without displaying any output,
    the same thing happens in API, the localhost site doesnt even load and the process stops are 5-6 without output. Any idea what might be causing this

  3. stasadance commented on Mar 22, 2023

    @stasadance

    Thank you, I ran it after installing docker docker run -ti --rm quay.io/go-skynet/llama-cli:v0.1 --instruction "What's an alpaca?" --topk 10000 I ran this command but it seems to start the process for 5-6 seconds and ends it without displaying any output, the same thing happens in API, the localhost site doesnt even load and the process stops are 5-6 without output. Any idea what might be causing this

    I was able to fix this by allocating more memory in Docker Desktop settings:

    image

  4. anm5704 commented on Mar 23, 2023

    @anm5704
    Author

    hello! thanks, it seems in windows you have to create a .wslconfig in order to increase the limits. But its working now.
    II'm confused tho, the API is for LLaMa right? and not the fine-tuned alpaca models (trained on gpt-3 data).

  5. mudler commented on Mar 23, 2023

    @mudler
    Owner

    the api should work for both, although I've tested only alpaca models. The new version 0.3 has an --alpaca boolean flag too.

  6. mudler commented on Apr 4, 2023

    @mudler
    Owner

    I guess we can close this now? Thanks @stasadance for pointing us in the right direction!

  7. added a commit that references this issue on Apr 6, 2024
  8. GeorgeS2019 commented on Nov 2, 2024

    @GeorgeS2019

    we need easy windows installation documentation

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions