Skip to content

Fix CI and open telemetry API usage (#305)#306

Closed
H-Huang wants to merge 1 commit intometa-pytorch:mainfrom
H-Huang:export-D89743414
Closed

Fix CI and open telemetry API usage (#305)#306
H-Huang wants to merge 1 commit intometa-pytorch:mainfrom
H-Huang:export-D89743414

Conversation

@H-Huang
Copy link
Contributor

@H-Huang H-Huang commented Dec 26, 2025

Re-exported this PR: #305

Summary:
TorchFT CI is installing the latest opentelemetry-sdk, which caused breakages in some of the APIs in otel.py. This PR updates otel.py to use the correct APIs.

This PR also fixes TorchFT lint (pyre check was failing).

This should resolve the failing TorchFT CI failures:
https://github.com/meta-pytorch/torchft/actions/runs/19983176027/job/57313269930

This is also causing downstream CI failures in in torchtitan: https://github.com/pytorch/torchtitan/actions/workflows/integration_test_8gpu_torchft.yaml

Reviewed By: tianyu-l

Differential Revision: D89743414

Pulled By: H-Huang

Summary:
TorchFT CI is installing the latest `opentelemetry-sdk`, which caused breakages in some of the APIs in otel.py. This PR updates `otel.py` to use the correct APIs.

This PR also fixes TorchFT lint (pyre check was failing).

This should resolve the failing TorchFT CI failures:
https://github.com/meta-pytorch/torchft/actions/runs/19983176027/job/57313269930

This is also causing downstream CI failures in in torchtitan: https://github.com/pytorch/torchtitan/actions/workflows/integration_test_8gpu_torchft.yaml


Reviewed By: tianyu-l

Differential Revision: D89743414

Pulled By: H-Huang
@meta-codesync
Copy link

meta-codesync bot commented Dec 26, 2025

@H-Huang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89743414.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 26, 2025
@meta-codesync meta-codesync bot closed this in 86c4291 Dec 26, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 26, 2025

@H-Huang merged this pull request in 86c4291.

AnantGulati pushed a commit to AnantGulati/torchft that referenced this pull request Jan 2, 2026
Summary:
Pull Request resolved: meta-pytorch#306

TorchFT CI is installing the latest `opentelemetry-sdk`, which caused breakages in some of the APIs in otel.py. This PR updates `otel.py` to use the correct APIs.

This PR also fixes TorchFT lint (pyre check was failing).

This should resolve the failing TorchFT CI failures:
https://github.com/meta-pytorch/torchft/actions/runs/19983176027/job/57313269930

This is also causing downstream CI failures in in torchtitan: https://github.com/pytorch/torchtitan/actions/workflows/integration_test_8gpu_torchft.yaml

Pull Request resolved: meta-pytorch#305

Reviewed By: tianyu-l

Differential Revision: D89743414

Pulled By: H-Huang

fbshipit-source-id: c066fe535b332ba94b918f5b684595c8de8b6740
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.

2 participants