llama-stack/llama_stack/providers/remote/inference
Aidan Do 21fb92d7cf
Add 3.3 70B to Ollama inference provider (#681)
# What does this PR do?

Adds 3.3 70B support to Ollama inference provider

## Test Plan

<details>
<summary>Manual</summary>

```bash
# 42GB to download
ollama pull llama3.3:70b

ollama run llama3.3:70b --keepalive 60m

export LLAMA_STACK_PORT=5000
pip install -e . \
  && llama stack build --template ollama --image-type conda \
  && llama stack run ./distributions/ollama/run.yaml \
  --port $LLAMA_STACK_PORT \
  --env INFERENCE_MODEL=Llama3.3-70B-Instruct \
  --env OLLAMA_URL=http://localhost:11434

export LLAMA_STACK_PORT=5000
llama-stack-client --endpoint http://localhost:$LLAMA_STACK_PORT \
  inference chat-completion \
  --model-id Llama3.3-70B-Instruct \
  --message "hello, what model are you?"
```

<img width="1221" alt="image"
src="https://github.com/user-attachments/assets/dcffbdd9-94c8-4d47-9f95-4ef6c3756294"
/>

</details>

## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [x] Ran pre-commit to handle lint / formatting issues.
- [x] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2024-12-25 22:15:58 -08:00
..
bedrock Dont include 3B / 1B models for bedrock since they arent ondemand 2024-12-18 06:30:02 -08:00
cerebras Update Cerebras from Llama 3.1 to 3.3 (#645) 2024-12-17 16:28:24 -08:00
databricks Update the "InterleavedTextMedia" type (#635) 2024-12-17 11:18:31 -08:00
fireworks Add Llama 70B 3.3 to fireworks (#654) 2024-12-19 17:32:49 -08:00
nvidia Fixed imports for inference (#661) 2024-12-19 14:19:36 -08:00
ollama Add 3.3 70B to Ollama inference provider (#681) 2024-12-25 22:15:58 -08:00
sample migrate model to Resource and new registration signature (#410) 2024-11-08 16:12:57 -08:00
tgi Fix conversion to RawMessage everywhere 2024-12-17 14:00:43 -08:00
together Fix conversion to RawMessage everywhere 2024-12-17 14:00:43 -08:00
vllm Fix conversion to RawMessage everywhere 2024-12-17 14:00:43 -08:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00