Skip to content

Commit

Permalink
Support for step zero
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Feb 12, 2024
1 parent 6ac12b3 commit e472e7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ai_models_panguweather/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.

__version__ = "0.0.3"
__version__ = "0.0.4"
2 changes: 2 additions & 0 deletions ai_models_panguweather/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def run(self):
providers=self.providers,
)

self.write_input_fields(fields_pl + fields_sfc)

input_24, input_surface_24 = input, input_surface

with self.stepper(6) as stepper:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def has_gpu():

setuptools.setup(
name="ai-models-panguweather",
python_requires="<3.11", # For now, does not support Python 3.11
# python_requires="<3.11", # For now, does not support Python 3.11
version=version,
description="An ai-models plugin to run PanguWeather",
long_description=read("README.md"),
Expand All @@ -74,7 +74,7 @@ def has_gpu():
include_package_data=True,
setup_requires=["GPUtil"],
install_requires=[
"ai-models",
"ai-models>=0.3.6",
"onnx",
os.environ.get("ONNXRUNTIME", onnxruntime),
],
Expand Down

0 comments on commit e472e7d

Please sign in to comment.