Thomas Ip
Thomas Ip
We just re-enabled gitlint at Zulip and a lot of our new students (we are participating in Google Code-in) who aren't comfortable with regex are confused by our `^(.+:\ )?[A-Z].+\.$`...
The instruction accepts an `u64`: https://github.com/project-serum/serum-dex/blob/0c23a513403d20cc21e47f8ddde3eb90fbb302bb/dex/src/instruction.rs#L434 despite it being casted to a `NonZeroU64` internally: https://github.com/project-serum/serum-dex/blob/0c23a513403d20cc21e47f8ddde3eb90fbb302bb/dex/src/state.rs#L2127 which means that an order with client id of `0` can not be cancelled (raising...
This doesn't seem to be implemented https://github.com/project-serum/serum-dex/blob/0c23a513403d20cc21e47f8ddde3eb90fbb302bb/dex/src/state.rs#L2688-L2691 It would be great to have the feature to allow users to make taker trade without an open orders account or settling funds.
Fixes #208
Currently the `serum_dex` crate does not expose any public API to iterate over the order book. It is possible to do it by repeatedly calling `find_min/max()` and `remove_by_key()` on the...
Include @dj95's commit so it compiles on recent Rust versions.
This is a work in progress, just wanted to publish it early to gather some feedback. TODO: - [x] `git record` (calls `git commit` directly so signing already works in...
# What does this PR do? When saving a safetensors file with some metadata but no tensors, the JSON header is malformed. ```py from safetensors import safe_open from safetensors.torch import...
### System Info - `transformers` version: 4.39.3 - Platform: macOS-14.3.1-arm64-arm-64bit - Python version: 3.11.8 - Huggingface_hub version: 0.22.2 - Safetensors version: 0.4.3-dev.0 - Accelerate version: not installed - Accelerate config:...