Haaris Rahman

Results 11 issues of Haaris Rahman

* A minimal code snippet that reproduces the bug. ``` uv pip install --python 3.12 pre-commit Resolved 10 packages in 44ms error: Failed to install: cfgv-3.4.0-py2.py3-none-any.whl (cfgv==3.4.0) Caused by: failed...

compatibility

Currently, eveytime the extend method is called a new table is added to listeners. This PR makes it so that only one table is maintained and the keys are the...

This issue arises from v3.1. On 3.0.1 I can generate map bindings for python. From 3.1 onwards, I can only generate map bindings for cpp and not python ``` ERROR:...

An idl file with a multi dimensional array creates a wrong size in the python generated bindings ``` struct Foo{ long example[3][4]; }; ``` The above creates a single dimensional...

### 🚀 The feature `TorchSnapshotSaver` saves all stateful modules in the train unit. This increases the snapshot size by a great amount. By filtering/selecting only the required modules, the snapshot...

Summary: `sock.getsockname` currently expects the address to always be IPV6. An IPv4 address returns two arguments instead of four. This PR fixes that. Test plan: Not sure how to test...

CLA Signed

https://github.com/pytorch/torchsnapshot/blob/e8a1fc097b4138493f05e5cac986730d116d0063/torchsnapshot/dist_store.py#L69 ``` master_addr, master_port, _, _ = sock.getsockname() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: not enough values to unpack (expected 4, got 2) ```

```bash uv init bird echo "import bird\n print(bird.hello())" > bird/main.py uv run bird/main.py ``` ```console Traceback (most recent call last): File "/home/dev/bird/main.py", line 3, in print(bird.hello()) AttributeError: module 'bird' has...

question

## Why are these changes needed? Add generic support for `queue`. This allows the `queue` to be templated over any type allowing for type checkers to work better. ## Checks...

P1
core