Skip to content

MAINT: Upgrade to anaconda=2024.02 and cuda=12.3.1 - #388

Merged
mmcky merged 12 commits into
mainfrom
anaconda=2024.02
Apr 29, 2024
Merged

mmcky merged 12 commits into
mainfrom
anaconda=2024.02

Conversation

@mmcky

@mmcky mmcky commented Mar 7, 2024 •

Copy link
Copy Markdown
Contributor

This PR

  • upgrades to anaconda=2024.02
  • upgrades to CUDA=12.3.1

this PR is part of QuantEcon/meta#130

requires: #387

  • this PR is waiting on interpolations to be updated for numba>=0.59

@mmcky mmcky mentioned this pull request Mar 7, 2024
1 task done
@mmcky

mmcky commented Mar 7, 2024 •

Copy link
Copy Markdown
Contributor Author
  • the broken link is to BK19 as a reference but that doesn't seem to be in our quant-con.bib file
You can read  about Dynamic Mode Decomposition here {cite}`DMD_book` and here [[BK19](https://python.quantecon.org/zreferences.html#id25)] (section 7.2).

@jstac or @thomassargent30 do you know what BK19 would refer to and I can add it as a proper reference using bibtex

@jstac

jstac commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

@mmcky , it refers to this one:
https://www.databookuw.com/

@mmcky

mmcky commented Mar 8, 2024 •

Copy link
Copy Markdown
Contributor Author

@mmcky

mmcky commented Mar 12, 2024 •

Copy link
Copy Markdown
Contributor Author
  • this cannot be merged until interpolations is updated or there is a substitute for mlinterp that is suitable for the odu lecture (cc @kp992)
ImportError�[0m: cannot import name 'generated_jit' from 'numba' (/opt/conda/envs/quantecon/lib/python3.11/site-packages/numba/__init__.py)

@kp992

kp992 commented Mar 12, 2024

Copy link
Copy Markdown
Contributor

I see, from numba 0.60, generated_jit will fail.

@mmcky

mmcky commented Mar 13, 2024

Copy link
Copy Markdown
Contributor Author

I see, from numba 0.60, generated_jit will fail.

@kp992 I think from numba>=0.59 it will fail -- so that is why we will need to fix interpolation as we use it for minterp and some splines support. From my discussion with Pablo, the generated_jit will need to be replaced with an alternative (overload?) EconForge/interpolation.py#110

@kp992

kp992 commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

From my discussion with Pablo, the generated_jit will need to be replaced with an alternative (overload?)

I have tried fixing that locally but that's throwing some error. I followed the examples of moving from generated_jit to overload, but didn't work. Let's pin numba < 0.59 until we find and do robust a fix for this issue.

@mmcky

mmcky commented Mar 21, 2024 •

Copy link
Copy Markdown
Contributor Author

@github-actions

github-actions Bot commented Mar 22, 2024 •

Copy link
Copy Markdown

Comment thread lectures/odu.md Outdated
tags: [hide-output]
---
!pip install interpolation
!pip install git+https://github.com/EconForge/interpolation.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jstac this installs interpolation package in the odu lecture from the main branch of the repo as it isn't released to pypi yet. Are you happy to run with this until pypi is updated?

@mmcky

mmcky commented Mar 22, 2024 •

Copy link
Copy Markdown
Contributor Author
  • re-enable build cache
  • open an issue to update pip install from main branch of interpolation repo to pypi once released

Comment thread lectures/odu.md Resolved
reverts to pypi version which is currently `2.2.6`
@mmcky

mmcky commented Apr 26, 2024

Copy link
Copy Markdown
Contributor Author
  • reverted to install interpolation from pypi which is currently 2.2.6

@mmcky
mmcky merged commit ca57701 into main Apr 29, 2024
@mmcky
mmcky deleted the anaconda=2024.02 branch April 29, 2024 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants