Views
No views yet
⚠️ Proof-of-Concept DisclaimerThis repository implements a research-oriented Proof of Concept (PoC) of the SOLARIS pipeline, including when executed on Modal infrastructure.It is not a complete or production-optimized implementation of the full SOLARIS architecture as described in the paper. In particular, several components may be approximated, simplified, or lack low-level optimizations (e.g., custom kernels, fused operations, or hardware-specific tuning).As such, all reported results should be interpreted as algorithmic validation signals, not as definitive performance benchmarks.Do not treat current outputs as representative of final architecture-level performance, efficiency, or scaling behavior.The purpose of this repository is to validate conceptual correctness, modular integration, and reproducibility, serving as a foundation for future large-scale and fully optimized implementations.
TinyLlama/TinyLlama-1.1B-Chat-v1.0 by default).solaris_poc/modal_system.py: main end-to-end pipeline (env -> train -> evaluate -> bundle)solaris_poc/modal_fireproof.py: reproducible wrapper commands (prepare, manifest, pipeline)solaris_poc/modal_versus_report.py: generates detailed plots/tables for tinyllama_default vs solaris_systemsolaris_poc/attention/, moe/, compression/, continual/, world/: core PoC modulessolaris_poc/tests/: testsartifacts/: generated run outputs and runbook files1python -m venv .venv
2source .venv/bin/activate
3pip install -r requirements.txtpip install matplotlib numpyuv, these commands also work via uv run ... as shown below.1uv run python solaris_poc/modal_fireproof.py prepare
2uv run python solaris_poc/modal_fireproof.py pipelineartifacts/modal_runs/<run_id>/uv run python -m modal run -m solaris_poc.modal_system/runs/<run_id>/uv run python -m modal volume get solaris-modal-artifacts /runs/<run_id>/ ./artifacts/<run_id>/uv run python -m modal volume get solaris-modal-artifacts /runs/<run_id>/artifacts_bundle.tar.gz ./artifacts/<run_id>/artifacts_bundle.tar.gzmanifest.json, you will only get metadata. Use the full run directory or the bundle to get CSV/JSONL/SVG artifacts too.artifacts/modal_runs/<run_id>/ (local) or downloaded run dir:environment/: hardware/runtime checkstrain/summary/: train logs, train/eval CSV, metrics JSON, SVG chartsevaluate/: benchmark JSONL/CSV, summaries, comparison chartsmanifest.json: hash + size registry of recorded filesartifacts_bundle.tar.gz: packaged run artifactsevaluate/tinyllama_default_benchmark.csvevaluate/solaris_system_benchmark.csvevaluate/benchmark_slices.csvevaluate/comparison.csvpython solaris_poc/modal_versus_report.py --run-dir artifacts/modal_runs/<run_id>python solaris_poc/modal_versus_report.pyartifacts/modal_runs/<run_id>/evaluate/versus/*.png) + tabular summaries (prompt_level_versus.csv, aggregate_versus.csv)artifacts/modal_runs/<run_id>/evaluate/versus/aggregate_versus.csv:| metric | value |
|---|---|
| slice_count | 11 |
| tinyllama_latency_mean_s | 0.308945 |
| solaris_latency_mean_s | 1.642673 |
| latency_mean_delta_s | 1.333727 |
| tinyllama_tokens_mean | 21.818 |
| solaris_tokens_mean | 65.455 |
| token_mean_delta | 43.636 |
| tinyllama_keywords_total | 16 |
| solaris_keywords_total | 16 |
| keyword_total_delta | 0 |
| solaris_faster_prompt_count | 0 |
| solaris_higher_keyword_prompt_count | 0 |
ΔE ≈ 0) but still not add quality.SOLARIS_MODAL_MODEL_IDSOLARIS_MODAL_RUN_IDSOLARIS_MODAL_TRAINING_MAX_STEPSSOLARIS_MODAL_TRAINING_SEQ_LENSOLARIS_MODAL_TRAINING_GPUSOLARIS_MODAL_EVAL_GPUSOLARIS_MODAL_LORA_RANKSOLARIS_MODAL_DATASET_IDSOLARIS_MODAL_DATASET_MAX_SAMPLESSOLARIS_MODAL_SECRETS1SOLARIS_MODAL_TRAINING_GPU=A100-80GB \
2SOLARIS_MODAL_EVAL_GPU=A100-80GB \
3uv run python -m modal run -m solaris_poc.modal_systemmanifest.json.<run_id>/manifest.json for expected evaluate/*.csv entries.artifacts_bundle.tar.gz and inspect contents locally.SOLARIS_MODAL_SECRETS with your Modal secret name.uv run pytest -q