Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbouh committed Nov 30, 2023
1 parent 6c8e6bb commit 2585d49
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# A (mostly) pure cosmos container image

To build and start a shell for this container, you can use the docker command:
To try out a container built by this repo (without needing to do a git clone), you can:
```
docker run --rm -it ghcr.io/ajbouh/cosmos:3.1.1
docker run --rm -it ghcr.io/ajbouh/cosmos:python-cosmo-3.1.1
docker run --rm -it ghcr.io/ajbouh/cosmos:lua-cosmo-3.1.1
docker run --rm -it ghcr.io/ajbouh/cosmos:sqlite3-cosmo-3.1.1
docker run --rm -it ghcr.io/ajbouh/cosmos:qjs-cosmo-3.1.1
docker run --rm -it ghcr.io/ajbouh/cosmos:mistral-7b-instruct-v0.1-q4_k_m-cosmo-3.1.1
docker run --rm -it ghcr.io/ajbouh/cosmos:llava-v1.5-7b-q4_k-cosmo-3.1.1
```

If you have a GPU and your docker daemon has been configured to make use of it, try one of these commands:
```
docker run --rm -it --gpus all ghcr.io/ajbouh/cosmos:mistral-7b-instruct-v0.1-q4_k_m-cuda-12.1.1-cosmo-3.1.1
docker run --rm -it --gpus all ghcr.io/ajbouh/cosmos:llava-v1.5-7b-q4_k-cuda-12.1.1-cosmo-3.1.1
```

To build and run one of these, first cloen the project and then try one of these docker commands:
```
docker compose run --build --rm -it cosmos
docker compose run --build --rm -it python
Expand All @@ -10,4 +26,7 @@ docker compose run --build --rm -it sqlite3
docker compose run --build --rm -it qjs
docker compose run --build --rm -it mistral-7b-instruct-v0.1-q4_k_m-cuda
docker compose run --build --rm -it mistral-7b-instruct-v0.1-q4_k_m
docker compose run --build --rm -it llava-v1.5-7b-q4_k-cuda
docker compose run --build --rm -it llava-v1.5-7b-q4_k
```

0 comments on commit 2585d49

Please sign in to comment.