Instructions to use tensorblock/AMD-OLMo-1B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/AMD-OLMo-1B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/AMD-OLMo-1B-GGUF", filename="AMD-OLMo-1B-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/AMD-OLMo-1B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/AMD-OLMo-1B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/AMD-OLMo-1B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/AMD-OLMo-1B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/AMD-OLMo-1B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/AMD-OLMo-1B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/AMD-OLMo-1B-GGUF:Q2_K
- Ollama
How to use tensorblock/AMD-OLMo-1B-GGUF with Ollama:
ollama run hf.co/tensorblock/AMD-OLMo-1B-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/AMD-OLMo-1B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/AMD-OLMo-1B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/AMD-OLMo-1B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/AMD-OLMo-1B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/AMD-OLMo-1B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/AMD-OLMo-1B-GGUF:Q2_K
- Lemonade
How to use tensorblock/AMD-OLMo-1B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/AMD-OLMo-1B-GGUF:Q2_K
Run and chat with the model
lemonade run user.AMD-OLMo-1B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- AMD-OLMo-1B-Q3_K_L.gguf +0 -3
- AMD-OLMo-1B-Q3_K_M.gguf +0 -3
- AMD-OLMo-1B-Q3_K_S.gguf +0 -3
- AMD-OLMo-1B-Q4_0.gguf +0 -3
- AMD-OLMo-1B-Q4_K_M.gguf +0 -3
- AMD-OLMo-1B-Q4_K_S.gguf +0 -3
- AMD-OLMo-1B-Q5_0.gguf +0 -3
- AMD-OLMo-1B-Q5_K_M.gguf +0 -3
- AMD-OLMo-1B-Q5_K_S.gguf +0 -3
- AMD-OLMo-1B-Q6_K.gguf +0 -3
- AMD-OLMo-1B-Q8_0.gguf +0 -3
AMD-OLMo-1B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8da7a3e90b9a1efc3ee1549c21c9a248b30dcfdf8d21b68cc413899882b2b037
|
| 3 |
-
size 651469280
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bdcbb82f2ffb4251579c59e9b07ce1948c8c990a91eb2977c7cd7ba6b12b5786
|
| 3 |
-
size 604283360
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6da13c1db94255d32983dd81fcd9838925e614f81f0aa06af8a22241c4441302
|
| 3 |
-
size 547660256
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a7b16a0ab51248af98f73a539bf4b42836b8b5b737424261cc087dea995e62f4
|
| 3 |
-
size 690266592
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:61a8f0fff2cf6bfb5f8fbd41fd47ec2c9d9dae59124d4442d909d95a2062a148
|
| 3 |
-
size 733520352
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ad802dc97543006a25d1a1bd4de9f7d30df6632296acb458762a02f632390c4b
|
| 3 |
-
size 696558048
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:635adcad12226443ea44bdedaf82c6109a97934ac0fe9669dc4eabb363c1027d
|
| 3 |
-
size 824484320
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a8a5612a1bc14f1459b2770425da12c1a89d46ef60dfdebad0965c419790dfbd
|
| 3 |
-
size 846766560
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d801b5c44334d190794b5fed569d4f81ede04f96503139586986939b34730788
|
| 3 |
-
size 824484320
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4fd54649d2825a2537e7b7b7579f91be64b630783180faa51b0b5fa73efc8768
|
| 3 |
-
size 967090656
|
|
|
|
|
|
|
|
|
|
|
|
AMD-OLMo-1B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fa9e5b36ff0d49d9aaca577f616ef8015b4c147079217150440565471950ce1b
|
| 3 |
-
size 1252088288
|
|
|
|
|
|
|
|
|
|
|
|