Michael Schmidt

Results 309 comments of Michael Schmidt

I just looked at the code gen for imported JS function and wondered whether binding them as `typeof fn == 'function' ? fn : notDefined('fn');` would cause problems. So I...

> For the short term, please look for `bad docstring` errors in the pydoctor output. Thank you! This has the error message 👍 I didn't find these until now, because...

@simolg If I understand this correctly, you basically want this, right? ![image](https://github.com/chaiNNer-org/chaiNNer/assets/20878432/7c0f07b9-b960-4aeb-9248-4066f610f4df)

> > 2. Add a new option, e.g. `js_symbol`, separate from `js_name` for symbols. I don't think this is a good idea. A symbol is intended to be a unique...

I think you can use [`js_class`](https://rustwasm.github.io/wasm-bindgen/reference/attributes/on-rust-exports/js_class.html) to fix this. That said, wasm bindgen should still be better here IMO.

CI fails because CI uses the latest stable compiler (Rust 1.82 now), which uses multi-value returns by default. This means that the generated WASM and JS code will be different...

> Chainner says "TypeError: Failed to fetch". This simply means that the UI couldn't connect to the backend. So the backend likely crashed because chainner doesn't support Rocm.

> I think as a more general solution, it would be best if we start by support defining `Symbol`s on `wasm-bindgen` exported structs That's a good point. Is there already...

Wonderful! Thank you for the quick response! About the transferring the repo: I made the mistake of committing large files into it. The `.git` folder is currently at 35MB... I...

> It should be possible to rewrite the git history to eliminate the large files while retaining the rest of the commits Rewrite history it is then. I'll try to...