A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

ocp

Use AI to model and discover new catalysts for use in renewable energy storage to help in addressing climate change.
https://github.com/fair-chem/fairchem

Keywords from Contributors

measur archiving transforms optimize animals generic projection compose observation convolutional-neural-networks

Last synced: 15 days ago
JSON representation

Acceptance Criteria

Repository metadata

FAIR Chemistry's library of machine learning methods for chemistry

README.md

tests
documentation
PyPI - Version
Static Badge

Open in GitHub Codespaces

fairchem is the FAIR Chemistry's centralized repository of all its data, models, demos, and application efforts for materials science and quantum chemistry.

⚠️ If you cloned the repo before January 17, 2025 and are actively developing, please read this announcement.

Documentation

If you are looking for Open-Catalyst-Project/ocp, it can now be found at fairchem.core. Visit its corresponding documentation here.

Contents

The repository is organized into several directories to help you find what you are looking for:

Installation

Packages can be installed in your environment by the following:

pip install -e packages/fairchem-{fairchem-package-name}

fairchem.core requires you to first create your environment

Quick Start

Pretrained models can be used directly with ASE through our OCPCalculator interface:

from ase.build import fcc100, add_adsorbate, molecule
from ase.optimize import LBFGS
from fairchem.core import OCPCalculator

# Set up your system as an ASE atoms object
slab = fcc100("Cu", (3, 3, 3), vacuum=8)
adsorbate = molecule("CO")
add_adsorbate(slab, adsorbate, 2.0, "bridge")

calc = OCPCalculator(
    model_name="EquiformerV2-31M-S2EF-OC20-All+MD",
    local_cache="pretrained_models",
    cpu=False,
)
slab.calc = calc

# Set up LBFGS dynamics object
dyn = LBFGS(slab)
dyn.run(0.05, 100)

If you are interested in training your own models or fine-tuning on your datasets, visit the documentation for more details and examples.

Why a single repository?

Since many of our repositories rely heavily on our other repositories, a single repository makes it really easy to test and ensure consistency across repositories. This should also help simplify the installation process for users who are interested in integrating many of the efforts into one place.

LICENSE

fairchem is available under a MIT License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 21 days ago

Total Commits: 911
Total Committers: 49
Avg Commits per committer: 18.592
Development Distribution Score (DDS): 0.745

Commits in past year: 250
Committers in past year: 23
Avg Commits per committer in past year: 10.87
Development Distribution Score (DDS) in past year: 0.768

Name Email Commits
Abhishek Das d****k@g****m 232
Muhammed Shuaibi 4****i 218
anuroopsriram a****s@f****m 82
Misko m****o@m****m 62
Luis Barroso-Luque l****e 51
rayg1234 7****4 49
Siddharth Goyal s****l@f****m 28
zulissimeta 1****a 22
Brandon Wood b****d@b****u 19
Tian Xie t****e@g****m 13
Brook Wander 7****r 12
Adeesh Kolluru 4****u 12
junwoony j****n@g****m 11
dependabot[bot] 4****] 10
Richard Barnes r****s@u****u 10
Nima Shoghi n****i@f****m 10
Ethan Sunshine 9****e 8
Kevin Tran k****1@g****m 7
Johannes Klicpera j****a@m****g 6
Daniel Levine l****s@m****m 5
Nima Shoghi n****i@g****m 4
Xiang 3****x 4
Ilias Chair 8****r 3
Janice Lan j****n@f****m 3
Kyle Michel 5****l 2
Weihua Hu w****6@g****m 2
clz55 5****5 2
jmusiel 7****l 2
nianhant n****t@a****u 2
willis w****c@g****m 1
and 19 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 16 days ago

Total issues: 198
Total pull requests: 521
Average time to close issues: about 1 month
Average time to close pull requests: 10 days
Total issue authors: 94
Total pull request authors: 34
Average comments per issue: 2.9
Average comments per pull request: 1.24
Merged pull request: 374
Bot issues: 0
Bot pull requests: 39

Past year issues: 187
Past year pull requests: 416
Past year average time to close issues: 26 days
Past year average time to close pull requests: 10 days
Past year issue authors: 89
Past year pull request authors: 27
Past year average comments per issue: 2.73
Past year average comments per pull request: 1.2
Past year merged pull request: 288
Past year bot issues: 0
Past year bot pull requests: 39

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/fair-chem/fairchem

Top Issue Authors

  • zulissimeta (14)
  • lbluque (12)
  • yxwang1215 (7)
  • yang-lin430 (5)
  • Seunghyo-Noh (5)
  • IliasChair (4)
  • SaltyLemonWHU (4)
  • zhoufy20 (4)
  • MSJavaScript (4)
  • GoosMulder (4)
  • Scriberrrr (4)
  • maurijr1 (3)
  • benrhodes26 (3)
  • mingyue605 (3)
  • Project-M-ZQ (3)

Top Pull Request Authors

  • misko (87)
  • mshuaibii (83)
  • rayg1234 (76)
  • lbluque (69)
  • dependabot[bot] (39)
  • zulissimeta (36)
  • abhshkdz (35)
  • anuroopsriram (16)
  • brookwander (15)
  • kyonofx (10)
  • ktran9891 (6)
  • wood-b (5)
  • levineds (5)
  • EricZQu (5)
  • IliasChair (4)

Top Issue Labels

  • stale (48)
  • bug (29)
  • enhancement (16)
  • question (11)
  • dont-close (5)
  • documentation (4)
  • good first issue (4)
  • patch (3)
  • test (2)

Top Pull Request Labels

  • patch (147)
  • enhancement (134)
  • minor (90)
  • dependencies (62)
  • bug (56)
  • python (34)
  • documentation (28)
  • stale (23)
  • major (14)
  • cla signed (14)
  • test (7)
  • dont-close (7)
  • github_actions (6)
  • deprecation (5)
  • do not merge (2)
  • help wanted (1)

Package metadata

pypi.org: fairchem-data-oc

Code for generating adsorbate-catalyst input configurations

  • Homepage:
  • Documentation: https://fairchem-data-oc.readthedocs.io/
  • Licenses: MIT License
  • Latest release: 0.2.0 (published 5 months ago)
  • Last Synced: 2025-04-10T00:48:49.415Z (18 days ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 398 Last month
  • Rankings:
    • Dependent packages count: 9.376%
    • Average: 35.613%
    • Dependent repos count: 61.849%
  • Maintainers (1)
pypi.org: fairchem-demo-ocpapi

Python client library for the Open Catalyst API

  • Homepage:
  • Documentation: https://fairchem-demo-ocpapi.readthedocs.io/
  • Licenses: MIT License
  • Latest release: 0.2.0 (published 6 months ago)
  • Last Synced: 2025-04-10T00:48:50.447Z (18 days ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 259 Last month
  • Rankings:
    • Dependent packages count: 9.376%
    • Average: 35.613%
    • Dependent repos count: 61.849%
  • Maintainers (1)
pypi.org: fairchem-core

Machine learning models for chemistry and materials science by the FAIR Chemistry team

  • Homepage:
  • Documentation: https://fairchem-core.readthedocs.io/
  • Licenses: MIT License
  • Latest release: 1.9.0 (published about 1 month ago)
  • Last Synced: 2025-04-10T00:48:52.536Z (18 days ago)
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,726 Last month
  • Rankings:
    • Dependent packages count: 9.415%
    • Average: 35.762%
    • Dependent repos count: 62.109%
  • Maintainers (1)

Dependencies

.github/workflows/test-release.yml actions
  • actions/download-artifact v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
packages/fairchem-applications-cattsunami/pyproject.toml pypi
  • ase *
  • fairchem-core *
  • fairchem-data-oc *
  • networkx *
  • numpy >=1.25.0
  • scipy *
  • torch >=2.2
.github/workflows/stale.yml actions
  • actions/stale v8.0.0 composite
.github/workflows/build.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
.github/workflows/lint.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/release.yml actions
  • actions/download-artifact v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/test.yml actions
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • codecov/codecov-action v4 composite
packages/fairchem-applications-AdsorbML/pyproject.toml pypi
packages/fairchem-core/pyproject.toml pypi
  • ase *
  • e3nn >=0.5
  • lmdb *
  • numba *
  • numpy >=1.25.0
  • orjson *
  • pymatgen >=2023.10.3
  • pyyaml *
  • submitit *
  • tensorboard *
  • torch >=2.2
  • tqdm *
  • urllib3 *
  • wandb *
packages/fairchem-data-oc/pyproject.toml pypi
packages/fairchem-data-om/pyproject.toml pypi
  • ase @git+https://gitlab.com/ase/ase.git@dc86a19a280741aa2b42a08d0fa63a8d0348e225
  • quacc [sella]>=0.7.6
  • sella ==2.3.3
packages/fairchem-demo-ocpapi/pyproject.toml pypi
  • dataclasses-json == 0.6.0
  • inquirer == 3.1.3
  • requests == 2.31.0
  • responses == 0.23.2
  • tenacity == 8.2.3
  • tqdm == 4.66.1
packages/requirements-optional.txt pypi
  • torch_cluster ==1.6.3
  • torch_geometric ==2.3.0
  • torch_scatter ==2.1.2
  • torch_sparse ==0.6.18
packages/requirements.txt pypi
  • ase ==3.22.1
  • numpy ==1.23.5
  • torch ==2.2.0
.github/workflows/build_docs.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
.github/workflows/deploy_docs.yml actions
  • actions/download-artifact v4 composite
  • peaceiris/actions-gh-pages v3 composite
  • peaceiris/actions-gh-pages v4 composite
.github/workflows/integration-test.yml actions
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/label_checker.yml actions
  • actions/checkout v4 composite
.github/workflows/release-drafter-applications_cattsunami.yml actions
  • release-drafter/release-drafter v6 composite
.github/workflows/release-drafter-core.yml actions
  • release-drafter/release-drafter v6 composite
.github/workflows/release-drafter-data_oc.yml actions
  • release-drafter/release-drafter v6 composite
.github/workflows/release-drafter-demo_ocpapi.yml actions
  • release-drafter/release-drafter v6 composite

Score: 19.443354898536498