Skip to content

Commit 1ba98fd

Browse files
authored
Merge branch 'main' into sycl_extension/zzq
2 parents 7fec717 + ef98a6b commit 1ba98fd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.jenkins/validate_tutorials_built.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"intermediate_source/text_to_speech_with_torchaudio",
5151
"intermediate_source/tensorboard_profiler_tutorial", # reenable after 2.0 release.
5252
"advanced_source/semi_structured_sparse", # reenable after 3303 is fixed.
53+
"intermediate_source/torchrec_intro_tutorial.py", #failing with 2.8 reenable after 3498
5354
]
5455

5556
def tutorial_source_dirs() -> List[Path]:

intermediate_source/per_sample_grads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def compute_loss(params, buffers, sample, target):
169169
# results of hand processing each one individually:
170170

171171
for per_sample_grad, ft_per_sample_grad in zip(per_sample_grads, ft_per_sample_grads.values()):
172-
assert torch.allclose(per_sample_grad, ft_per_sample_grad, atol=3e-3, rtol=1e-5)
172+
assert torch.allclose(per_sample_grad, ft_per_sample_grad, atol=1.2e-1, rtol=1e-5)
173173

174174
######################################################################
175175
# A quick note: there are limitations around what types of functions can be

0 commit comments

Comments
 (0)