Emma Smith

Results 305 comments of Emma Smith

To be clear, the build requires two stages. First, we build a Python for your machine, which is required to set up a second Python build for WASM. Your issue...

> [the script] does both the builds, as per the documentation. Yep, but it was incorrectly using the incorrect CC variable, probably because your configure cache was incorrect AIUI. I'm...

This will be annoying on Windows. Windows (and Rust) use handles to describe files, but Python seems to use the Windows compatibility layer around file descriptors.

@thedrow I'm not really sure what the best path is for Windows. There is an API to convert file descriptors to handles, but I think it will make lifetimes difficult:...

Actually, it looks like [`FromRawHandle`](https://doc.rust-lang.org/std/os/windows/io/trait.FromRawHandle.html) requires ownership of a handle, which seems impossible to make work since Python's `io.BaseIO.fileno` is a file descriptor. :/

Yeah it seems that it may be good to have an API (there may be one I'm unaware of) to interface with `FILE*` descriptors on Windows with Rust.

Hi! I'd be interested in working on this. I've spent some time thinking about a rough plan after reading through the code: 1. Move `candle-kernels` to `candle-cuda` or `candle-cuda-kernels` (the...

re wgpu-rs, I certainly agree that native backends are the best, I only bring up Vulkan/Metal as bonuses. I was suggesting wgpu-rs because it is the major WebGPU library for...

> Basically yes. Tensor is Send+Sync Good news there, WebAssembly doesn't have OS-style threads! The webworkers-based "threads" *might* require things to be Send/Sync, but I will have to look closer...

I agree a prefix of `ts.pkg` or `typeshed.pkg` make much more sense here. In #4164, and in PEP 561, the idea was to make the stubs package a related package...