Brandon Ros

Results 284 comments of Brandon Ros

https://github.com/stm32-rs/stm32f4xx-hal/blob/master/src/timer/pwm_input.rs#L9 I think this is the offending line, based on the comment above it. ![image](https://user-images.githubusercontent.com/8949910/167272333-a78cafc3-19d1-41bb-880a-38dff0e0374b.png) How do we expand pwm_input to support TIM8_CH3 instead of only TIM8_CH1?

@burrbull wondering if you can lend a hand, trying to use PwmInput with a TIM8 channel other than 1?

```rust $ cargo expand timer::pins --features stm32f407 Checking stm32f4xx-hal v0.13.1 (/Users/brandonros/Desktop/stm32f4xx-hal) Finished dev [unoptimized + debuginfo] target(s) in 0.43s #[cfg(feature = "device-selected")] mod pins { use crate::gpio::{self, Alternate}; pub trait...

How far off is what I have below? ```rust impl BleLink { fn serial_write(&mut self, bytes: &[u8]) { rprintln!("serial_write: {:02x?}", bytes); for i in 0..bytes.len() { block!(self.ble_serial.write(bytes[i])).unwrap(); } block!(self.ble_serial.flush()).unwrap(); }...

```rust fn main() { println!("{:?}", tch::Device::cuda_if_available()); } ``` ``` $ cargo run Compiling quant v0.1.0 (/Users/brandonros/Desktop/quant) Finished dev [unoptimized + debuginfo] target(s) in 0.26s Running `target/debug/quant` Cpu ``` looks like...

option 1. libtorch from brew does not come with `MPS` support from what I can tell, despite offering `arm64` binary option 2. https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip is x86_64, not arm64 option 3. `pip3...

``` $ pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If...

https://github.com/pytorch/pytorch/pull/68625#issuecomment-1112470400 Looks like max_unpool2d_backward was removed?

probably a separate issue of trying to use `__version__ = '1.13.0.dev20220623'` libtorch and this library only support v1.11.0?

``` export LIBTORCH=/opt/homebrew/Cellar/libtorch/1.11.0_1 export LD_LIBRARY_PATH=${LIBTORCH}/lib:$LD_LIBRARY_PATH ``` from ``` brew ls --verbose libtorch | grep dylib ``` works great. Do we know if the version of libtorch from brew on arm64...