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

D6.9: Shared persistent Memoisation Library for Python / Sage #143

Closed
minrk opened this issue Sep 8, 2015 · 9 comments
Closed

D6.9: Shared persistent Memoisation Library for Python / Sage #143

minrk opened this issue Sep 8, 2015 · 9 comments

Comments

@minrk
Copy link
Contributor

minrk commented Sep 8, 2015

Persistent memoisation is the computational process of storing a program's outputs and retrieving them later, instead of re-running programs that are guaranteed to return the same answer. This approach may be useful in a wide range of fields but is particularly relevant to mathematicians: indeed, it's common for them to face compute intensive exact problems with small inputs and small outputs.

Results can be stored for future calls to a function in the present program session, in later sessions, or even for other users in different parts of the world. Beside the advantages of recalling old results instead of repeating work, a human-readable cache could also be used by researchers to create a reproducible record of computed results that can be used outside the context of the memoisation system itself.

The aim of D6.9 is to establish a persistent memoisation framework to cache results in Python and GAP across sessions, in a way that is easy to deploy and configure, and allows for results to be shared reliably between different researchers. D6.9 requires a "shared persistent memoisation library for Python/Sage", which is fulfilled by pypersist, a new Python library written by the current author. A corresponding GAP package, Memoisation, was also written, featuring similar features and with a certain level of interoperability between the two systems. This is a step in the general effort of WP6 toward bridging together Data, Knowledge, and Software notably for Virtual Research Environments.

In this report, we present a review of some existing tools for memoisation, describe the two new packages, show an example of their use together, and give an overview of the future direction of this project.

@minrk minrk added this to the D6.9 milestone Sep 8, 2015
@nthiery nthiery modified the milestones: Month 36: 2018-08-31, D6.9 Mar 22, 2016
@nthiery nthiery self-assigned this Sep 2, 2018
@nthiery nthiery added the PS label Sep 2, 2018
@IzabelaFaguet IzabelaFaguet added the FormatCheck Checked the format of the issue description label Dec 4, 2018
@mtorpey mtorpey self-assigned this Mar 27, 2019
@mtorpey
Copy link
Contributor

mtorpey commented Mar 27, 2019

I have just edited the top comment in this thread with an abstract for the deliverable.

@nthiery
Copy link
Contributor

nthiery commented Mar 28, 2019 via email

@mtorpey
Copy link
Contributor

mtorpey commented Apr 1, 2019

There are actually a few things you suggested that I haven't added yet – I was away ill on Thursday and Friday. However, I should finish those today, and I'll comment here when I have!

@mtorpey
Copy link
Contributor

mtorpey commented Apr 1, 2019

Okay, I believe this is now ready to submit, and includes all the feedback I got from @nthiery. Thanks for all the help! :)

@nthiery
Copy link
Contributor

nthiery commented Apr 2, 2019

Thanks for all the good work @mtorpey! The report is now submitted after some tiny touches of polishing.

@nthiery
Copy link
Contributor

nthiery commented Aug 23, 2019

After discussion in Cernay: since this report has not yet been evaluated, @mtorpey will make soon some minor updates to report on the GAP implementation and the improvements to the Python implementation.
We will then resubmit before August 31st.

@mtorpey
Copy link
Contributor

mtorpey commented Aug 30, 2019

@nthiery I've made the updates, and I've modified the abstract at the top of this issue. I'm happy to resubmit now.

@nthiery
Copy link
Contributor

nthiery commented Aug 30, 2019

Great, thanks a lot! I proofread the changes and they are very informative.

I'll ask or PO to "reject" the previous one so that I can resubmit this one.

@nthiery
Copy link
Contributor

nthiery commented Aug 30, 2019

Final version submitted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants