openmemex icon indicating copy to clipboard operation
openmemex copied to clipboard

add nix env

Open GTrunSec opened this issue 2 years ago • 5 comments

  • The upstream of https://github.com/hasktorch/hasktorch has a recursion problem.
  • [TODO]using haskell.nix instead?
  • [TODO] packing openmemex to appimage
  • what do you like to replace the Makefile with justfile?

GTrunSec avatar Apr 18 '22 03:04 GTrunSec

@junjihashimoto

I have no idea how to solve it, any information for that? image

  • Command
nix build .\#"openmemex:exe:server" --print-build-logs

GTrunSec avatar Apr 18 '22 09:04 GTrunSec

@GTrunSec The version of libtorch that libtorch-ffi expects is different from the actual version of libtorch.

junjihashimoto avatar Apr 19 '22 20:04 junjihashimoto

https://github.com/pytorch/pytorch/pull/58248 It has changed to ORT instead of MSNPU.

junjihashimoto avatar Apr 19 '22 20:04 junjihashimoto

Is it better to use libtorch-1.9? If so, try "github:hasktorch/libtorch-nix?rev=62d80e76a02e2dc5670d128eb4375454ad3db43a" with flake.

junjihashimoto avatar Apr 19 '22 20:04 junjihashimoto

Is it better to use libtorch-1.9? If so, try "github:hasktorch/libtorch-nix?rev=62d80e76a02e2dc5670d128eb4375454ad3db43a" with flake.

I'm not sure that better or not, just to be consistent with lock. A lot of compiling would be a disaster without cache.

GTrunSec avatar Apr 19 '22 22:04 GTrunSec