Environment Setup
Configure your local development environment for ML workflows.
Virtual Environment
We recommend using a virtual environment to manage dependencies:
python -m venv .venv
source .venv/bin/activate # Linux/Mac
.venv\Scripts\activate # WindowsGPU Configuration
For GPU acceleration, ensure CUDA drivers are installed:
nvidia-smi # Verify GPU is detected
oneml gpu check # Verify 1.ML can access GPUConfiguration File
Create a oneml.yaml in your project root:
project: my-ml-project
version: "1.0.0"
compute:
gpu: true
memory: "16GB"
storage:
data_dir: "./data"
models_dir: "./models"