Closed marcorossi5 closed 11 months ago
Another quick comment, I think we should call TIIProvider instead of TIIQProvider because the package name is qibo-tii-provider
.
Thanks @marcorossi5, I have quick tested this and it seems to work with some minor issues.
could you please apply to all files the convention of calling this package "qibo-tii-provider" (no tiiq), rename the class TIIProvider
(capital TII, no Q). Ideally we should also update the user in the cluster to tiiprovider
instead of tiiq
.
there is a docker image in the cluster, I believe this can be removed for the time being.
I have noted a substantial delay between the job execution and download, can we reduce this delay?
When executing a second circuit I get this crash:
I have noted a substantial delay between the job execution and download, can we reduce this delay? This is controlled by the intervals in seconds between daemon's checks and clients checks. This configuration can be changed of course.
When executing a second circuit I get this crash: It can be that the attributes do not get updated correctly when posting the second job. It can also be that the new directory download directory does not get created the second time. Let me check. In any case, we want the client to be able to post multiple circuits in sequence (synchronously with the server execution), right?
Thanks, yes, synchronously.
The error was given if trying to access the results even if the job exited with error as was in your case.
I fixed it by passing the job exit status in the headers of the get_result
request
@scarrazza, could you please check again your tests? They should run as expected now.
Thanks @, I am flying back this night, tomorrow I will review all your changes.
Thanks @marcorossi5, indeed now it does not crash. I will open a PR later with some changes and requests to you.
I have tried something very simple like:
however I am getting this: