Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added recipes for neuraloperators and configmypy #28667

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions recipes/configmypy/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "configmypy" %}
{% set version = "0.2.0" %}
{% set python_min = "3.8" %}
sarthakpati marked this conversation as resolved.
Show resolved Hide resolved
sarthakpati marked this conversation as resolved.
Show resolved Hide resolved

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/configmypy-{{ version }}.tar.gz
sha256: a517921d18656844dae6831665cbf7718f153876b9cbc526f8bca6a6fb8cd28a

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- setuptools
- pip
run:
- python >={{ python_min }}
- pytest
- pytest-mock
- ruamel.yaml

test:
imports:
- configmypy
commands:
- pip check
requires:
- python {{ python_min }}
- pip

about:
home: https://github.com/JeanKossaifi/configmypy
summary: Fast and easy configuration of Python projects.
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- sarthakpati
54 changes: 54 additions & 0 deletions recipes/neuraloperator/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{% set name = "neuraloperator" %}
{% set version = "1.0.1" %}
{% set python_min = "3.9" %}
sarthakpati marked this conversation as resolved.
Show resolved Hide resolved

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/neuraloperator-{{ version }}.tar.gz
sha256: caac44f3f83d58cd630fff249e465ad87ee8241e17daa75f0f1d6000c1989b84

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- setuptools >=64
- pip
run:
- python >={{ python_min }}
- wandb
- ruamel_yaml
- configmypy
- tensorly
- tensorly-torch
- torch-harmonics ==0.7.3
- matplotlib-base
- numpy >=1.25
- opt-einsum
- h5py
- zarr

test:
# imports:
# - neuralop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you are not doing the import test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the import test was not working correctly (see 61114c5), hence I have left it commented. I will discuss this with the package authors and suggest a couple of changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plaease re-add it here so we can see the logs and how it fails.

sarthakpati marked this conversation as resolved.
Show resolved Hide resolved
commands:
- pip check
requires:
- python {{ python_min }}
- pip

about:
home: https://github.com/neuraloperator/neuraloperator
summary: 'NeuralOperator: Learning in Infinite Dimensions'
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- sarthakpati
Loading