Closed drivanov closed 3 months ago
I've noticed that the tests with the withPackage test decorators
withPackage
@withPackage("torch>=2.1.0") def test_some_test(...): . . .
are not being executed, even though I have torch=2.4.0 installed on my machine.
torch=2.4.0
nn/models/test_compile.py::test_compile_graph_break[FTTransformer] SKIPPED (Package(s) {'torch>=2.1.0'} are not installed)
To be precise, I am using Torch version 2.4.0a0+f70bd71a48.nv24.06 which has an unexpected version ID format for the for pytorch-frame .
2.4.0a0+f70bd71a48.nv24.06
pytorch-frame
The proposed PR uses standard Python version handling, which covers the dev case previously treated separately.
dev
I've noticed that the tests with the
withPackage
test decoratorsare not being executed, even though I have
torch=2.4.0
installed on my machine.To be precise, I am using Torch version
2.4.0a0+f70bd71a48.nv24.06
which has an unexpected version ID format for the forpytorch-frame
.The proposed PR uses standard Python version handling, which covers the
dev
case previously treated separately.