Hammad Ather
Hammad Ather
I am making an error bar plot using px.scatter. I want to set each error bar to the same color as the marker. Below is the code showing how I...
Fix broken fbcode//torchrec/distributed/tests:test_dynamic_sharding - test_dynamic_sharding_ebc_tw (
Differential Revision: D107365953
Summary: 9 tests in `test_quant_model_parallel.py` use `torch.cuda.device_count()` in `unittest.skipIf` guards. This returns 0 when NVML cannot initialize, causing false skips on GPU RE machines and a `bad_quality` TestX state. Fix:...
Summary: Replace broken pyrefly suppress comment (wrong error code `bad-argument-type`) with an assertion that narrows the type of `_last_stored_search_space` from `Optional[List[ShardingOption]]` to `List[ShardingOption]`. The assertion is always true: `_last_stored_search_space` is...
Summary: sync_bwd_out was only assigned inside an block, but Pyrefly flagged it as possibly-unbound at its usage site further down the function (inside the compile-backward block, which also guards on...