CrazyboyQCD

Results 21 comments of CrazyboyQCD

> PyTorch is likely to use mkl by default so you probably want to enable it on the candle side too if you haven't done so already. Ops, forgot to...

Tested on https://github.com/rust-phf/rust-phf/pull/321/commits/b6bba7216937ad4808c1a7097017aa88551a4463 with `ENTITIES` from [here](https://github.com/pulldown-cmark/pulldown-cmark/blob/517d59bb7227f2ff8c382bd96d365fdb53bf1ff5/pulldown-cmark/src/entities.rs#L25) and found many keys return `None` and only 2 of them return value("icirc" and "nvHarr"). ```rust for k in ENTITIES_MAP.entries() { println!("{:?}", ENTITIES_MAP.get(k.0));...

@orlp My config is here, but with your config it works as expected, which is weird for me: ```toml [dependencies] phf = { git = "https://github.com/conradludgate/rust-phf" , rev = "b6bba7216937ad4808c1a7097017aa88551a4463",...

文件预览,定位服务之类的声明,应该在这个路径下DevEco Studio\sdk\default\hms\ets

@LysandreJik I had the same error with 2080Ti(22GB memory), is there any solution? Command: ```shell docker run --net=host --gpus all --shm-size 1g -e HF_HUB_DISABLE_PROGRESS_BARS=1 -e HF_HUB_ENABLE_HF_TRANSFER=0 -p 0.0.0.0:8080:80 -v data:/data...

@HalidOdat, one more thing is that I used `realloc` instead of `alloc` before and found `alloc` has a better performance, since I can't test on other machine, you could test...

@HalidOdat My OS is **Windows11**, and seems `realloc` doesn't work much better for me, what is your OS? And do you think I should change into `realloc`? ```shell Benchmark 1:...

> Yes, there is no drawback to using realloc and even on windows (from the results you posted) there is still a small `~7%` increase in performance. Ok

@ids1024 After overview, I found a auto-convert trait argument will increase code complexity and make product bloaty, thought callers need to deal with this, it is more flexible for callers...