| 20 Dec 2024 |
matthewcroughan | It appears it was WriteMemoryDenyExecute causing it | 14:35:34 |
matthewcroughan | https://github.com/pytorch/pytorch/issues/143651 | 14:54:06 |
matthewcroughan | Made an issue in pytorch anyway | 14:54:10 |
SomeoneSerge (back on matrix) | Nice. Maybe it's some kind of JIT stuff? | 14:54:41 |
matthewcroughan | Yeah, I disabled JIT I thought with a var | 14:54:52 |
matthewcroughan | who knows | 14:54:53 |
matthewcroughan | PYTORCH_JIT = "0"; | 14:55:08 |
matthewcroughan | I thought this had worked, maybe it had no impact for another reason | 14:55:15 |
matthewcroughan | it seems to completely work with this turned off though | 14:56:43 |
matthewcroughan | Oh this is *so good SomeoneSerge (utc+3) | 15:03:04 |
matthewcroughan | * Oh this is so good SomeoneSerge (utc+3) | 15:03:11 |
matthewcroughan |  Download image.png | 15:03:34 |
matthewcroughan | Stable Diffusion Comfyui Pytorch CPU based fast VMtest achieved | 15:03:49 |
matthewcroughan | Who wants to build this kitty? | 15:34:53 |
matthewcroughan | nix build github:nixified-ai/flake/comfyui-unwrapped#checks.x86_64-linux.comfyui -L | 15:35:08 |
matthewcroughan | build this kitty! | 15:35:10 |
matthewcroughan | @post yfw this works on aarch64 | 15:46:42 |
matthewcroughan | * post yfw this works on aarch64 | 15:46:45 |
Gaétan Lepage | #Reproduced | 17:52:23 |
Gaétan Lepage |  Download clipboard.png | 17:52:29 |
connor (he/him) | If you all wanted to run a NixOS VM test in which a VM actually ran nix build, how would you prepopulate the VM store so it has all the necessary build dependencies (sources, etc.).
Alternatively, if you wanted to run NixOS VM tests without the sandbox (so the test itself wouldn’t produce a store path on successful run) how would you do that? | 22:08:40 |
hacker1024 | In reply to @connorbaker:matrix.org If you all wanted to run a NixOS VM test in which a VM actually ran nix build, how would you prepopulate the VM store so it has all the necessary build dependencies (sources, etc.).
Alternatively, if you wanted to run NixOS VM tests without the sandbox (so the test itself wouldn’t produce a store path on successful run) how would you do that? 1. You can add the inputDerivation of whatever you want to build to the VM, IIRC there's an option to add paths to copy into the VM's Nix database
2. You can use the driverInteractive version and run run_tests() (or maybe there's even just driver?) | 22:11:49 |
hacker1024 | https://github.com/NixOS/nixpkgs/blob/316d2c82570270e90536e5a8a8947d5ac6159b5f/nixos/modules/virtualisation/qemu-vm.nix#L513 | 22:12:49 |
hacker1024 | https://nixos.org/manual/nixos/stable/#sec-running-nixos-tests-interactively | 22:13:36 |
SomeoneSerge (back on matrix) | This isn't all that pretty but it works https://github.com/sinanmohd/evanix/blob/master/nixos/tests/dsl.nix | 22:20:30 |
| 21 Dec 2024 |
| @stablejoy:matrix.org left the room. | 05:08:26 |
| @dmiskovic:matrix.org left the room. | 05:13:53 |
| @stablejoy:matrix.org joined the room. | 06:43:21 |
connor (he/him) | Anyone have any suggestions for benchmarking https://github.com/NixOS/nix/pull/12097? I mean, I expect it to be no slower than it is currently, but how do I show that…
Would running a nix eval in QEMU with -icount and reporting the wall time from within the VM be a good way to do that? | 06:52:04 |
matthewcroughan | SomeoneSerge (utc+3):
rocmlir-rock> [2830/2949] Building CXX object external/llvm-project/llvm/tools/mlir/lib/Dialect/Tosa/Transforms/CMakeFiles/obj.MLIRTosaTransforms.dir/TosaMakeBroadcastable.cpp.o
rocmlir-rock> [2831/2949] Building CXX object mlir/lib/Dialect/Rock/Transforms/CMakeFiles/obj.MLIRRockTransforms.dir/ViewToTransform.cpp.o
rocmlir-rock> FAILED: mlir/lib/Dialect/Rock/Transforms/CMakeFiles/obj.MLIRRockTransforms.dir/ViewToTransform.cpp.o
rocmlir-rock> /nix/store/imlsgdankmk7vxdrm49sx23bkmh37r1q-rocm-llvm-clang-wrapper-5.7.1/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/source/build/mlir/lib/Dialect/Rock/Transforms -I/build/source/mlir/lib/Dialect/Rock/Transforms -I/build/source/external/llvm-project/llvm/include -I/build/source/build/external/llvm-project/llvm/include -I/build/source/external/llvm-project/mlir/include -I/build/source/build/external/llvm-project/llvm/tools/mlir/include -I/build/source/mlir/include -I/build/source/build/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=global-constructors -O3 -DNDEBUG -std=gnu++17 -fno-exceptions -fno-rtti -UNDEBUG -MD -MT mlir/lib/Dialect/Rock/Transforms/CMakeFiles/obj.MLIRRockTransforms.dir/ViewToTransform.cpp.o -MF mlir/lib/Dialect/Rock/Transforms/CMakeFiles/obj.MLIRRockTransforms.dir/ViewToTransform.cpp.o.d -o mlir/lib/Dialect/Rock/Transforms/CMakeFiles/obj.MLIRRockTransforms.dir/ViewToTransform.cpp.o -c /build/source/mlir/lib/Dialect/Rock/Transforms/ViewToTransform.cpp
rocmlir-rock> In file included from /build/source/mlir/lib/Dialect/Rock/Transforms/ViewToTransform.cpp:14:
rocmlir-rock> /build/source/mlir/include/mlir/Conversion/TosaToRock/TosaToRock.h:21:10: fatal error: 'mlir/Conversion/RocMLIRPasses.h.inc' file not found
rocmlir-rock> #include "mlir/Conversion/RocMLIRPasses.h.inc"
rocmlir-rock> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rocmlir-rock> 1 error generated.
rocmlir-rock> [2832/2949] Building CXX object mlir/lib/Dialect/Rock/Transforms/CMakeFiles/obj.MLIRRockTransforms.dir/CleanMath.cpp.o
| 18:54:49 |