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

Feature Request: Add compatibility interface for checkpoint v0.4.x #309

Open
ckarrasalithya opened this issue Sep 13, 2021 · 0 comments
Open

Comments

@ckarrasalithya
Copy link

I'm trying to build a Docker image for AzureML with R 4.0. However, it seems that AzureML's scripts try to use the checkpoint library and fail because they are installing checkpoint version 1.0, but are trying to invoke functions from version 0.4.x (getValidSnapshots, setSnapshot) and fail because the functions can't be found. (If I configure the AzureML Docker image to use R 3.6 instead, then checkpoint 0.4.x is installed instead)

I implemented a hack/workaround to force it to use checkpoint version 0.4.x, but it really is a fragile hack that might break on future AzureML versions.

I believe it is critical for a "time travel" library like checkpoint to have a stable interface, otherwise it defeats the purpose if it's not possible to travel between some times because the time travelling library's interface has changed.

Therefore, I suggest adding a compatibility layer that would translate v0.4.x method calls and return values into the equivalent calls for v1.

Note that I already reported the issue to the AzureML team and they suggested that I report the issue here.

Thanks

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

No branches or pull requests

1 participant