Skip to content

Remove dead CUDA test cases from CPU-only TensorToStringTest#2016

Closed
lilyjanjigian wants to merge 3 commits intometa-pytorch:mainfrom
lilyjanjigian:export-D100182679
Closed

Remove dead CUDA test cases from CPU-only TensorToStringTest#2016
lilyjanjigian wants to merge 3 commits intometa-pytorch:mainfrom
lilyjanjigian:export-D100182679

Conversation

@lilyjanjigian
Copy link
Copy Markdown
Contributor

Summary:
These 5 CUDA test cases always skip because the target is built as
cpp_unittest with torch-cpp-cpu dep (no GPU). The formatting logic
they test is already covered by the CPU test cases.

Differential Revision: D100182679

…orch#2012)

Summary:

The NCCL_RUNTIME_CONNECT CVAR default was changed to 1 (true), but
the NoHintsCreatesDefaults test still expected false. Update the
assertion to match the current default.

Reviewed By: MogicianWu

Differential Revision: D100182677
…eta-pytorch#2015)

Summary:

The forkserver child process can fail with ImportError (not just
ModuleNotFoundError) due to numpy circular import issues in the PAR
environment. Catch the broader ImportError to handle both cases.

Differential Revision: D100205289
Summary:
These 5 CUDA test cases always skip because the target is built as
cpp_unittest with torch-cpp-cpu dep (no GPU). The formatting logic
they test is already covered by the CPU test cases.

Differential Revision: D100182679
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 9, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Apr 9, 2026

@lilyjanjigian has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100182679.

@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Apr 10, 2026

This pull request has been merged in 7550303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant