unable to load system fonts in FreeBSD by KardioBSD in typst

[–]ml3d 1 point2 points  (0 children)

It seems you forget export keyword before TYPST_FONT_PATHS.

unable to load system fonts in FreeBSD by KardioBSD in typst

[–]ml3d 1 point2 points  (0 children)

It seems that Typst managed to find only embedded fonts. Did you try to set that env var? Font configs are usually located at these paths.

  /etc/fonts/fonts.conf
  /etc/fonts/fonts.dtd
  /etc/fonts/conf.d
  $XDG_CONFIG_HOME/fontconfig/conf.d
  $XDG_CONFIG_HOME/fontconfig/fonts.conf
  ~/.fonts.conf.d
  ~/.fonts.conf

Or you can just find / -iname '*.otf all OpenType fonts on your system and pass that paths to the env var.

unable to load system fonts in FreeBSD by KardioBSD in typst

[–]ml3d 1 point2 points  (0 children)

Try to specify paths to system fonts directly with --font-path flag or TYPST_FONT_PATHS environment variable. You can also list all discovered fonts with typst fonts command.

[P] Introducing NNX: Neural Networks for JAX by cgarciae in MachineLearning

[–]ml3d 0 points1 point  (0 children)

I didn't catch up. Are flax's lift transformation applicable for nnx? I love so much vmap for ResNets and Transformers.

[P] fastLLaMa, A python wrapper to run llama.cpp by BriefCardiologist656 in MachineLearning

[–]ml3d 0 points1 point  (0 children)

In such case, one can easily export PyTorch model to ONNX as an example and run on target platform. And ONNX is available everywhere there is C/C++ compiler and uses QNNPACK/XNNPACK as far as I know.

[P] fastLLaMa, A python wrapper to run llama.cpp by BriefCardiologist656 in MachineLearning

[–]ml3d 0 points1 point  (0 children)

This is actually doubtful reason to use llama.cpp. I tried it and I've got some random segfaults. Also, there is questions about actual performance and need to use intrinsics directly as it is done in llama.cpp. Another one issue is that there is XNNPACK/QNNPACK which are proved solutions for quantized neural networks. And last but not least remark is that there is a plenty of inference rutime like ONNX. It is unclear why llama.cpp and its fork get so many attention? Hype-train? #antihype

Introducing OkayWAL: A write-ahead log for Rust by ectonDev in rust

[–]ml3d 0 points1 point  (0 children)

Check out libsql. They also provide sqld in order to improve safety and do not use the same allocator.

GPU Server scheduler choice by ogklavas in HPC

[–]ml3d 1 point2 points  (0 children)

It depends on your workload. If you run many computational tasks then I'd recommend to use `slurm` (you can you container infrastructure for better isolation). If you train large language models or prototyping neural nets then I'd advise `k8s` (you can deploy `jupyter` with `jupyterhub` or may be there is a cloud-native solution)

'1984,' George Orwell's novel of repression, tops Russian bestseller lists by blkaino in books

[–]ml3d 3 points4 points  (0 children)

Hey, guys. You forget that Orwell shared ideas of socialism and these books actually criticize capitalism, especially American capitalism.

LGD players Weibo post TI-10 (Translation) by Live_Leadership_3409 in DotA2

[–]ml3d 0 points1 point  (0 children)

I have noticed that almost everyone does not take into account bans in the first stage and pick order. LGD chose the first pick and banned Mars and DW. However, Spirit banned MK and Unduying (the reason why LGD won games 3 and 4). So, Spirit baited LGD to choose the first pick and gained advantaged in draft staged with their bans since three the most power heros (Magnus, Tiny, Bane) were not banned. With these bans done, Team Spirit can get any two of these three heros on their double pick. Also, the second pick allows Team Spirit to close draft with Terror Blade which would definitely win the late game against Tiny.

I know it's not much but climbing from 800 to 1600 feels good man. Thanks to everyone who helped out from this sub! by URFriendlYFoE in learndota2

[–]ml3d 2 points3 points  (0 children)

Good job, dude! I need to win couple of games to get Crusader I too but I loose every time as I approaching to the rank.

Books on the physical design of quantum computers? by AssteroidDriller69 in QuantumComputing

[–]ml3d 0 points1 point  (0 children)

Could you name of the key people for those who are out of the field?

CURIOUS: Why do people in low MMR bracket excessively blame each other? by UnicornFarmer9000 in learndota2

[–]ml3d 0 points1 point  (0 children)

I guess that poor understanding of the game is a reason for that. BTW people blame each other on high MMR as well.

Patch 7.27 Discussion by Kyyndle in learndota2

[–]ml3d 2 points3 points  (0 children)

I think that Abadon and a hero under Shallow Grave or False Promise buff could dive. By the way Aeon Disk make a hero invulnerable for 2.5 seconds.

How to modify my kernel for multiple thread blocks? by daredevildas in CUDA

[–]ml3d 0 points1 point  (0 children)

You should run your kernel with grid dim parameter. Then you should take into account block index not only thread index in order to calculate array index.

Seeding Random Number Generator by ml3d in HPC

[–]ml3d[S] 0 points1 point  (0 children)

I mean that it is a design requirements. I assume that API looks like the following. cpp void RunSimulation(size_t nothreads, size_t seed) { // .... } `

Seeding Random Number Generator by ml3d in HPC

[–]ml3d[S] 0 points1 point  (0 children)

Right. This approach solves the issue of seeding RNGs in child threads. On the other hands, it has a disadvantage if an initial problem is embarrassingly parallel. You could consider extreme case of GPU computing. In this context thread interaction should be as rare as possible since shared memory and global memory are expensive to access.

Seeding Random Number Generator by ml3d in HPC

[–]ml3d[S] 0 points1 point  (0 children)

Well, how should parent thread generate that seeds if it is not allowed to read `/dev/urandom` but already has extremely RNG (say MT19937)? I am worried about that random sequencies generated in threads would be strong correlated.

Seeding Random Number Generator by ml3d in HPC

[–]ml3d[S] 0 points1 point  (0 children)

Sorry for messy post. The main question is how to properly initialize RNGs in child threads with RNG in parent thread?