# SmartRedis **Repository Path**: wangyue0426/SmartRedis ## Basic Information - **Project Name**: SmartRedis - **Description**: SmartRedis is a collection of Redis clients that support RedisAI capabilities and include additional features for high performance computing (HPC) applications. - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-09 - **Last Updated**: 2025-01-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README


Home    Install    Documentation    Slack    Cray Labs   


[![License](https://img.shields.io/github/license/CrayLabs/SmartSim)](https://github.com/CrayLabs/SmartRedis/blob/master/LICENSE.md) ![GitHub last commit](https://img.shields.io/github/last-commit/CrayLabs/SmartRedis) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/smartredis) ![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/CrayLabs/SmartRedis) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/smartredis) ![Language](https://img.shields.io/github/languages/top/CrayLabs/SmartRedis) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![codecov](https://codecov.io/gh/CrayLabs/SmartRedis/branch/develop/graph/badge.svg?token=XSS8CCJ2KR)](https://codecov.io/gh/CrayLabs/SmartRedis) ---------- # SmartRedis SmartRedis is a collection of Redis clients that support RedisAI capabilities and include additional features for high performance computing (HPC) applications. SmartRedis provides clients in the following languages: | Language | Version/Standard | |------------|:----------------------------------------------:| | Python | 3.9, 3.10, 3.11 | | C++ | C++17 | | C | C99 | | Fortran | Fortran 2018 (GNU/Intel), 2003 (PGI/Nvidia) | SmartRedis is used in the [SmartSim library](https://github.com/CrayLabs/SmartSim). SmartSim makes it easier to use common Machine Learning (ML) libraries like PyTorch and TensorFlow in numerical simulations at scale. SmartRedis connects these simulations to a Redis database or Redis database cluster for data storage, script execution, and model evaluation. While SmartRedis contains features for simulation workflows on supercomputers, SmartRedis is fully functional as a RedisAI client library and can be used without SmartSim in any Python, C++, C, or Fortran project. ## Using SmartRedis SmartRedis installation instructions are currently hosted as part of the [SmartSim library installation instructions](https://www.craylabs.org/docs/installation_instructions/basic.html#) Additionally, detailed [API documents](https://www.craylabs.org/docs/api/smartredis_api.html) are also available as part of the SmartSim documentation. ## Dependencies SmartRedis utilizes the following libraries: - [NumPy](https://github.com/numpy/numpy) - [Hiredis](https://github.com/redis/hiredis) - [Redis-plus-plus](https://github.com/sewenew/redis-plus-plus) ## Publications The following are public presentations or publications using SmartRedis - [Collaboration with NCAR - CGD Seminar](https://www.youtube.com/watch?v=2e-5j427AS0) - [Using Machine Learning in HPC Simulations - paper](https://www.sciencedirect.com/science/article/pii/S1877750322001065) - [Relexi — A scalable open source reinforcement learning framework for high-performance computing - paper](https://www.sciencedirect.com/science/article/pii/S2665963822001063) ## Cite Please use the following citation when referencing SmartSim, SmartRedis, or any SmartSim related work: Partee et al., "Using Machine Learning at scale in numerical simulations with SmartSim: An application to ocean climate modeling", Journal of Computational Science, Volume 62, 2022, 101707, ISSN 1877-7503. Open Access: https://doi.org/10.1016/j.jocs.2022.101707. ### bibtex @article{PARTEE2022101707, title = {Using Machine Learning at scale in numerical simulations with SmartSim: An application to ocean climate modeling}, journal = {Journal of Computational Science}, volume = {62}, pages = {101707}, year = {2022}, issn = {1877-7503}, doi = {https://doi.org/10.1016/j.jocs.2022.101707}, url = {https://www.sciencedirect.com/science/article/pii/S1877750322001065}, author = {Sam Partee and Matthew Ellis and Alessandro Rigazzi and Andrew E. Shao and Scott Bachman and Gustavo Marques and Benjamin Robbins}, keywords = {Deep learning, Numerical simulation, Climate modeling, High performance computing, SmartSim}, }