Giovanni Canali

Results 10 issues of Giovanni Canali

**Is your feature request related to a problem? Please describe.** Python 3.8 is no longer supported. I suggest to remove tests and support for this version.

enhancement
low priority
maintenance

Fixes #440: add a type checker to be used for debugging. If the debugging level is set to `DEBUG`, the `enforce_type` decorator will enforce the type hints both for the...

enhancement
pr-to-review

**Describe the bug** PyTorch does not support `torch.compile` on Python 3.14+. This is clearly stated here https://github.com/pytorch/pytorch/blob/main/torch/__init__.py#L2608: ```python if sys.version_info >= (3, 14): raise RuntimeError("torch.compile is not supported on Python...

bug

**Describe the bug** The attributes of any class inheriting from `Equation` are not automatically moved to the correct training device.

bug

**Describe the bug** The classes `HelmholtzProblem` and `Advection` contain unintended self references, which result in unexpected behavior during execution. **Details** - In `HelmholtzProblem`, the method signature includes an extra self...

bug

**Is your feature request related to a problem? Please describe.** Each domain in PINA should have a method which automatically identifies the boundaries of the domain itself.

enhancement

Currently, there are no tests that guarantee solver convergence. Defining a benchmark and running convergence tests on a rolling basis would help ensure that solver behavior remains consistent with expectations....

enhancement

**Describe the bug** After upgrading to PyTorch 2.8.0, compilation involving `LabelTensor` fails due to incorrect inference of `runtime_type` in the torch compilation pipeline. This results in a `RuntimeError` during the...

bug
high priority

**Is your feature request related to a problem? Please describe.** SOAP is a quasi-second-order optimization algorithm that runs AdamW in the eigenbasis provided by Shampoo. **Additional context** The code is...

enhancement