llama-stack-mirror/llama_stack/templates
Rashmi Pawar 1a73f8305b
feat: Add nemo customizer (#1448)
# What does this PR do?

This PR adds support for NVIDIA's NeMo Customizer API to the Llama Stack
post-training module. The integration enables users to fine-tune models
using NVIDIA's cloud-based customization service through a consistent
Llama Stack interface.


[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])

## Test Plan
[Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.*]
Yet to be done

Things pending under this PR:

- [x] Integration of fine-tuned model(new checkpoint) for inference with
nvidia llm distribution
- [x] distribution integration of API
- [x] Add test cases for customizer(In Progress)
- [x] Documentation

```

LLAMA_STACK_BASE_URL=http://localhost:5002 pytest -v tests/client-sdk/post_training/test_supervised_fine_tuning.py 

============================================================================================================================================================================ test session starts =============================================================================================================================================================================
platform linux -- Python 3.10.0, pytest-8.3.4, pluggy-1.5.0 -- /home/ubuntu/llama-stack/.venv/bin/python
cachedir: .pytest_cache
metadata: {'Python': '3.10.0', 'Platform': 'Linux-6.8.0-1021-gcp-x86_64-with-glibc2.35', 'Packages': {'pytest': '8.3.4', 'pluggy': '1.5.0'}, 'Plugins': {'nbval': '0.11.0', 'metadata': '3.1.1', 'anyio': '4.8.0', 'html': '4.1.1', 'asyncio': '0.25.3'}}
rootdir: /home/ubuntu/llama-stack
configfile: pyproject.toml
plugins: nbval-0.11.0, metadata-3.1.1, anyio-4.8.0, html-4.1.1, asyncio-0.25.3
asyncio: mode=strict, asyncio_default_fixture_loop_scope=None
collected 2 items                                                                                                                                                                                                                                                                                                                                                            

tests/client-sdk/post_training/test_supervised_fine_tuning.py::test_post_training_provider_registration[txt=8B] PASSED                                                                                                                                                                                                                                                 [ 50%]
tests/client-sdk/post_training/test_supervised_fine_tuning.py::test_list_training_jobs[txt=8B] PASSED                                                                                                                                                                                                                                                                  [100%]

======================================================================================================================================================================== 2 passed, 1 warning in 0.10s ========================================================================================================================================================================
```
cc: @mattf @dglogo @sumitb

---------

Co-authored-by: Ubuntu <ubuntu@llama-stack-customizer-dev-inst-2tx95fyisatvlic4we8hidx5tfj.us-central1-a.c.brevdevprod.internal>
2025-03-25 11:01:10 -07:00
..
bedrock chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
cerebras chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
ci-tests chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
dell chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
dev chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
experimental-post-training fix: fix experimental-post-training template (#1740) 2025-03-20 23:07:19 -07:00
fireworks chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
groq chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
hf-endpoint chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
hf-serverless chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
meta-reference-gpu chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
meta-reference-quantized-gpu chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
nvidia feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
ollama chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
open-benchmark chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
passthrough chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
remote-vllm chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
sambanova chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
tgi chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
together chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
vllm-gpu chore(telemetry): remove service_name entirely (#1755) 2025-03-21 15:11:56 -07:00
__init__.py Auto-generate distro yamls + docs (#468) 2024-11-18 14:57:06 -08:00
template.py feat(api): (1/n) datasets api clean up (#1573) 2025-03-17 16:55:45 -07:00