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

Relax python version restrictions #832

Closed

Conversation

jdmarsh
Copy link
Contributor

@jdmarsh jdmarsh commented Aug 6, 2024

I have a client/server setup where we use the via_mlir flag to save/load the circuit. When the server.zip is generated with a different python version to what the server is running, this python version restriction prevents us from continuing. As long as the concrete/concrete-ml versions are identical, I don't see why the python version should restrict us from loading the MLIR in server side (Or why it should apply as a restriction even when not using via_mlir?). I've made a change to relax the python version restriction server side for MLIR cases.

Please let me know if there is a good reason for this restriction to apply when sending an MLIR server.zip generated with a different python version. In that case I will find another way forward.

@jdmarsh jdmarsh requested a review from a team as a code owner August 6, 2024 14:33
@cla-bot cla-bot bot added the cla-signed label Aug 6, 2024
@bcm-at-zama
Copy link
Collaborator

Thanks, we'll have a look

Copy link
Collaborator

@andrei-stoian-zama andrei-stoian-zama left a comment

Choose a reason for hiding this comment

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

I think this looks like a good approach. @jfrery , @umut-sahin what do you think ?

Copy link

@umut-sahin umut-sahin left a comment

Choose a reason for hiding this comment

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

Looks good IMO.

@andrei-stoian-zama
Copy link
Collaborator

I re-created this PR with my account to let the CI run: #853

Closing this one

@andrei-stoian-zama
Copy link
Collaborator

Big thanks to @jdmarsh for this contribution !

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

Successfully merging this pull request may close these issues.

4 participants