Skip to content

Commit

Permalink
update reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfulu committed Oct 24, 2023
1 parent f13389b commit 1b220ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pvnet_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@

# Huggingfacehub model repo and commit for PVNet (GSP-level model)
default_model_name = "openclimatefix/pvnet_v2"
default_model_version = "96ac8c67fa8663844ddcfa82aece51ef94f34453"
default_model_version = "ca621fcb8e275bdcdc586b1f971e82fc65e02735"

# Huggingfacehub model repo and commit for PVNet summation (GSP sum to national model)
# If summation_model_name is set to None, a simple sum is computed instead
default_summation_model_name = "openclimatefix/pvnet_v2_summation"
default_summation_model_version = "ead56528a7ac5681a1d4c9db40dabd2d07c7a55f"
default_summation_model_version = "01393d6e4a036103f9c7111cba6f03d5c19beb54"

model_name_ocf_db = "pvnet_v2"
use_adjuster = os.getenv("USE_ADJUSTER", "True").lower() == "true"
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
torch[cpu]>=2.0
PVNet-summation>=0.0.8
pvnet>=2.1.29
ocf_datapipes>=1.2.44
pvnet>=2.1.30
ocf_datapipes>=2.0.4
nowcasting_datamodel>=1.5.10
fsspec[s3]
xarray
Expand Down
2 changes: 0 additions & 2 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ def test_app(db_session, nwp_data, sat_data, gsp_yields_and_systems, me_latest):
store.close()

# Set model version
os.environ["APP_MODEL_VERSION"] = "96ac8c67fa8663844ddcfa82aece51ef94f34453"
os.environ["APP_SUMMATION_MODEL_VERSION"] = "4a145d74c725ffc72f482025d3418659a6869c94"
os.environ["SAVE_GSP_SUM"] = "True"

# Run prediction
Expand Down

0 comments on commit 1b220ff

Please sign in to comment.