Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ollama): init #218

Merged
merged 1 commit into from
Jun 12, 2024
Merged

feat(ollama): init #218

merged 1 commit into from
Jun 12, 2024

Conversation

shivaraj-bh
Copy link
Member

@shivaraj-bh shivaraj-bh commented Jun 11, 2024

ported from https://github.com/shivaraj-bh/ollama-flake/blob/main/services/ollama.nix

TODO

  • Add documentation that includes examples for using accelerators like cuda and rocm

@shivaraj-bh shivaraj-bh mentioned this pull request Jun 11, 2024
2 tasks
@shivaraj-bh shivaraj-bh marked this pull request as ready for review June 12, 2024 10:31
@shivaraj-bh shivaraj-bh merged commit d84efa4 into main Jun 12, 2024
4 checks passed
@shivaraj-bh shivaraj-bh deleted the ollama branch June 12, 2024 10:39
@srid
Copy link
Member

srid commented Jun 12, 2024

@shivaraj-bh

https://x.com/nixos_asia/status/1800855562072322052

Is there a nix run one-liner I can use to try out the demo in the tweet without having to hand-roll a flake? Perhaps an ./example/llm is useful. I wanted to retweet that to my profile giving the nix run ... invocation for readers.

shivaraj-bh added a commit that referenced this pull request Jun 13, 2024
@shivaraj-bh
Copy link
Member Author

@srid here you go: 82ff0e9

@srid
Copy link
Member

srid commented Jun 13, 2024

This is what I see when trying to run it (cf. #222):

❯ nix run "github:juspay/services-flake?dir=example/llm"
error:
       … while updating the lock file of flake 'github:juspay/services-flake/76f6081f51d8884b7d3196dbb45e8f8a11417a53?dir=example/llm'

       error: cannot write modified lock file of flake 'github:juspay/services-flake?dir=example/llm' (use '--no-write-lock-file' to ignore)

Also, we should build all examples in CI. See #221

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.

2 participants