Granite on Linux
Hardware requirements
Granite time series models are very small, the amount of memory you need will largely depend on the size of the dataset you have.
Setup
- Create a python virtual environment:
python -m venv granite-tsfm --update-deps
Granite time series components currently work with python versions 3.9 - 3.12.
- Activate the new environment you created:
source granite-tsfm/bin/activate
- Install necessary dependencies for Granite time series:
pip install "tsfm_public[notebooks] @ git+https://github.com/ibm-granite/granite-tsfm.git"
curl -O https://raw.githubusercontent.com/ibm-granite/granite-tsfm/main/notebooks/tutorial/ttm_tutorial.ipynb
- Run jupyter lab and open the notebook
jupyter lab ttm_tutorial.ipynb