[tool.poetry] name = "timesfm" packages = [ { include = "*", from = "src" }, ] description = "Open weights time-series foundation model from Google Research." version = "0.0.12" authors = [ "Rajat Sen ", "Yichen Zhou ", "Abhimanyu Das ", "Petros Mol ", "Justin Güse ", ] readme = "README.md" keywords = ["time series", "timesfm", "forecast", "time series model"] homepage = "https://github.com/google-research/timesfm" repository = "https://github.com/google-research/timesfm" classifiers = [ "Environment :: Console", "Framework :: Flake8", "Operating System :: OS Independent", "Topic :: Software Development :: Documentation", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", ] include = [ "LICENSE", ] [tool.poetry.dependencies] python = ">=3.10,<3.11" einshape = ">=1.0.0" numpy = ">=1.26.4" pandas = ">=2.1.4" paxml = "1.4.0" utilsforecast = "^0.1.10" jax = {version = "0.4.26", extras = ["cuda12"]} # unfortunately we have to solve it using https://stackoverflow.com/questions/72037181/how-to-add-optional-dependencies-of-a-library-as-extra-in-poetry-and-pyproject Jax = {version = "0.4.26", extras = ["cpu"], optional = true} [tool.poetry.extras] cpu = ['Jax'] [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"