python312Packages.torch-geometric: skip failing test on darwin (#350200)
This commit is contained in:
commit
a6401ae234
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
stdenv,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
|
||||||
@ -153,7 +154,8 @@ buildPythonPackage rec {
|
|||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests =
|
||||||
|
[
|
||||||
# TODO: try to re-enable when triton will have been updated to 3.0
|
# TODO: try to re-enable when triton will have been updated to 3.0
|
||||||
# torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
|
# torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
|
||||||
# LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
|
# LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
|
||||||
@ -167,6 +169,11 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
# AttributeError: type object 'Any' has no attribute '_name'
|
# AttributeError: type object 'Any' has no attribute '_name'
|
||||||
"test_type_repr"
|
"test_type_repr"
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
# This test uses `torch.jit` which might not be working on darwin:
|
||||||
|
# RuntimeError: required keyword attribute 'value' has the wrong type
|
||||||
|
"test_traceable_my_conv_with_self_loops"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user