Sam Gross

Results 20 issues of Sam Gross

In PyTorch, we'd like to use Sleef's vectorized implementation of elementary functions as building blocks. For example, we'd like to implement a vectorized [`sigmoid()`](https://en.wikipedia.org/wiki/Sigmoid_function) function using `exp`. However, calling into...

Here is the generated code: ```c++ std::tuple CPUFloatType::btrifact(const Tensor & info, bool pivot, const Tensor & self) { auto result_ = new CPUFloatTensor(context); auto result = Tensor(result_,false); auto pivots_ =...

The following crashes in a debug build of Python: ```python import gc import pycld2 gc.collect() ``` ``` Modules/gcmodule.c:114: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small Enable tracemalloc...

Starting with the version 3.13 alpha releases, CPython can optionally be configured to run without the global interpreter lock. This build configuration ("free-threaded") is not compatible with `abi3` wheels. Additionally,...

bug

# Feature or enhancement The steering council has [accepted](https://discuss.python.org/t/pep-703-making-the-global-interpreter-lock-optional-in-cpython-acceptance/37075) [PEP 703](https://peps.python.org/pep-0703/). This is intended as a top-level issue to keep track of integration status. The "up for grabs" list contains...

type-feature
interpreter-core
3.13
topic-free-threading

# Feature or enhancement This issue is to track the remaining bugs that prevent the Python test suite from passing with the GIL disabled, as well as the PRs under...

type-feature
topic-free-threading

# Feature or enhancement In the free-threaded build, we should use a stop-the-world call to make `fork()` [^1] and shutdown (i.e, [`Py_FinalizeEx`](https://github.com/python/cpython/blob/c951e25c24910064a4c8b7959e2f0f7c0d4d0a63/Python/pylifecycle.c#L1866)) thread-safe. The two operations are similar in that...

type-feature
topic-free-threading

[`rr`](https://github.com/rr-debugger/rr) is a record & replay debugging tool. I've found it particularly helpful for debugging multiprocessing issues, free-threading bugs, and non-deterministic crashes. @ericsnowcurrently suggested adding a devguide entry for how...

enhancement

## Summary * OS: cross-platform * Bug fix: no * Type: wheels * Fixes: #2401 ## Description The `--disable-gil` configuration of CPython 3.13 does not currently support the limited API....