• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pytorch / opacus / 13119785874
80%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2025 06:04PM UTC
Jobs 3
Files 119
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Feb 2025 05:57PM UTC coverage: 85.489%. First build
13119785874

push

github

facebook-github-bot
Fix failing Github tests (#726)

Summary:
Pull Request resolved: https://github.com/pytorch/opacus/pull/726

(1) CIFAR10 cuda tests were failing with the following message. [Example](https://github.com/pytorch/opacus/actions/runs/13079011269/job/36498002040#step:7:757).

> _pickle.UnpicklingError: Weights only load failed [...] In PyTorch 2.6, we changed the default value of the `weights_only` argument in `torch.load` from `False` to `True`. Re-running `torch.load` with `weights_only` set to `False` will likely succeed, but it can result in arbitrary code execution. Do it only if you got the file from a trusted source.

Specified weights_only=False in torch.load() and tests are passing.

(2) A similar issue was happening with multiple unit tests due to the change in behavior of `weights_only`. [Example](https://github.com/pytorch/opacus/actions/runs/13080274224/job/36502044189). Changed the `weights_only` setting where necessary.

(3) Black was requesting addition of commas when listing mutliple variable types. (Locally there were no issues, appeared only GithubActions). [Example](https://github.com/pytorch/opacus/actions/runs/13080274224/job/36502043210).

Reviewed By: EnayatUllah

Differential Revision: D68973109

fbshipit-source-id: 7fbe9702d

2 of 2 new or added lines in 2 files covered. (100.0%)

5143 of 6016 relevant lines covered (85.49%)

1.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-1 - 13119785874.1 03 Feb 2025 06:16PM UTC 118
85.06
GitHub Action Run
2 run-2 - 13119785874.2 03 Feb 2025 06:17PM UTC 118
85.3
GitHub Action Run
3 run-3 - 13119785874.3 03 Feb 2025 06:04PM UTC 65
48.82
GitHub Action Run
Source Files on build 13119785874
  • Tree
  • List 119
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13119785874
  • c7225a26 on github
  • Prev Build on main (#13095439338)
  • Next Build on main (#13123053632)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc