Antoine Chauvin

Antoine Chauvin

Platform Engineer

Paris, France

Joined April 8, 2024

Karma 23

Antoine Chauvin

3

Posted by antoine

Thank you for helping us spot this bug! Here is how you can load the FI dataset:
dataset = FIDataset(dataset_type, ".aqora/data/data")
We will update soon the use-case sources so it can be more easily used in the future!
Antoine Chauvin

2

Posted by antoine

Hello @peterys!
It seems that torch v2.4.1 supports Python 3.8-3.12 on Windows (amd64 only), Linux (both amd64 and arm64), and macOS (arm64 only).
You can find your Python version and platform using these commands:
$ python3 -V
Python 3.12.8
$ python3 -m platform
macOS-15.2-arm64-arm-64bit
I can attest this install works well with the quantum-signals-lob use-case.
You may have a too recent Python installed, fortunately you can easily install whichever Python of your choosing using uv python install X.Y.X.
Please let me know if you need further help!
Antoine Chauvin

2

Posted by antoine

Yes exactly 😉 I also highly recommend you subscribe to our newsletter in order to follow our latest development on the platform!
Antoine Chauvin

2

Posted by antoine

We do not currently support running submission notebooks directly from Visual Studio Code. Please run your submission using aqora test for now. We are currently working on integrating aqora test with python notebook runners, but for now you will have to use aqora test.
ValueError: Found input variables with inconsistent numbers of samples: [1, 32]
This error is thrown by sklearn as part of their function check_consistent_length. Have you tried to return different output in your notebook?
Antoine Chauvin

2

Posted by antoine

Hi there, I am getting below error when running the notebook.
Are you running the notebook with aqora test as expected? Or do you run it using Visual Studio Code?
Anyways I tried to change that part and run aqora test but got another error.
Can you quote the full error trace in the topic please?
Antoine Chauvin

1

Posted by antoine

Hello @yev !
You can drop these lines into your pyproject.toml in order to include all txt files for example:
[tool.setuptools.package-data]
# this is a list of glob patterns that will include matching files into your submission
submission = ["*.txt"]
You can find here some more documentation on how this feature work.
Let me know if you need further assistance :-)
Antoine Chauvin

2

Posted by antoine

Hello @quantotto! We deployed a fix during lunch which should resolve the issue. Can you confirm it is working for you now?
Antoine Chauvin

3

Posted by antoine

Hello @quantotto !
We are currently investigating the problem, I'll get back to you ASAP when it's fixed :-)
Antoine Chauvin

2

Posted by antoine

I'm glad I could be of help! Let me know if you need anything else ;-)
Antoine Chauvin

3

Posted by antoine (edited)

Hello @quantotto !
Thank you for bringing this to our attention! I understand you're experiencing issues with the synthesis function in Aqora notebooks.
I'd like to clarify that Aqora notebooks process cells asynchronously by design, which requires the use of async-compatible functions throughout your code. For your specific case, instead of classiq.synthesis(test_qmod), you'll want to use await classiq.synthesis_async(test_qmod), which is specifically designed for this asynchronous environment.
For a deeper understanding of how Python's asyncio works in this context, I recommend reviewing this tutorial on the subject. This should help you better understand the underlying principles.
Please don't hesitate to reach out if you need any further clarification or run into other questions during the competition. We're here to help ensure your success.
Antoine – Senior Software Engineer @ Aqora