This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixpkgs on master on ☁️ | |
10% ❯ nix-build -E 'with import <nixpkgs> {}; bazel_7.override { enableNixHacks = true; }' | |
this derivation will be built: | |
/nix/store/abzdw0gb1lz10w5rc97y88l3glpfxy0y-bazel-7.4.1.drv | |
building '/nix/store/abzdw0gb1lz10w5rc97y88l3glpfxy0y-bazel-7.4.1.drv'... | |
Running phase: unpackPhase | |
unpacking source archive /nix/store/9dh7hw9x3jw35s0xjb2zinlkh3ckr0yw-bazel-7.4.1-dist.zip | |
source root is . | |
Running phase: patchPhase | |
applying patch /nix/store/bak52cz0p06vsjd6wn0v3k7d8r822nca-java_toolchain.patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"naersk": { | |
"inputs": { | |
"nixpkgs": "nixpkgs" | |
}, | |
"locked": { | |
"lastModified": 1698420672, | |
"narHash": "sha256-/TdeHMPRjjdJub7p7+w55vyABrsJlt5QkznPYy55vKA=", | |
"owner": "nix-community", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"nixpkgs": { | |
"locked": { | |
"lastModified": 1711624657, | |
"narHash": "sha256-IViG6BKCJY/I6oRNfAANf/QitYylepQSCzgam0TF+bs=", | |
"owner": "NixOS", | |
"repo": "nixpkgs", | |
"rev": "72c6ed328aa4e5d9151b1a512f6ad83aca7529fa", | |
"type": "github" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@6b49c5e222e1:/workspaces/sshenanigans# cargo build | |
Compiling openssl-sys v0.9.101 | |
Compiling anyhow v1.0.81 | |
Compiling clap_builder v4.5.2 | |
Compiling serde_json v1.0.114 | |
Compiling rustix v0.38.31 | |
Compiling sharded-slab v0.1.7 | |
Compiling lock_api v0.4.11 | |
Compiling tracing v0.1.40 | |
Compiling flate2 v1.0.28 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell -i python3 -p python3 python3Packages.boto3 | |
import boto3 | |
import json | |
def fetch_cloudtrail_events(): | |
# NOTE: this is us-west-2 specific! | |
client = boto3.client( | |
"cloudtrail", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@bitbop:~/nixpkgs$ NIXPKGS_ALLOW_UNFREE=1 nixglhost -- nix run --impure .#python3Packages.jax.passthru.test_cuda_jaxlibBin | |
warning: Git tree '/home/ubuntu/nixpkgs' is dirty | |
Traceback (most recent call last): | |
File "/nix/store/210z4yz9xpmch1fj7pzn83wdsbylmmlj-test_cuda/bin/test_cuda", line 7, in <module> | |
rng = random.PRNGKey(0) | |
^^^^^^^^^^^^^^^^^ | |
File "/nix/store/w48pp30vl0jk2wvwdqgb9zg06my5m7sy-python3-3.11.7-env/lib/python3.11/site-packages/jax/_src/random.py", line 240, in PRNGKey | |
return _return_prng_keys(True, _key('PRNGKey', seed, impl)) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/nix/store/w48pp30vl0jk2wvwdqgb9zg06my5m7sy-python3-3.11.7-env/lib/python3.11/site-packages/jax/_src/random.py", line 202, in _key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[12,484 / 13,096] Compiling stablehlo/dialect/StablehloOps.cpp; 32s local ... (4 actions running) | |
ERROR: /build/output/external/xla/xla/service/gpu/model/BUILD:316:11: Compiling xla/service/gpu/model/indexing_analysis.cc failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (from target @xla//xla/service/gpu/model:indexing_analysis) external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/external/xla/xla/service/gpu/model/_objs/indexing_analysis/indexing_analysis.pic.d ... (remaining 335 arguments skipped) | |
/build/output/execroot/__main__/external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc:44: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 | |
import pipes | |
In file included from external/xla/xla/hlo/ir/hlo_computation.h:31, | |
from external/xla/xla/hlo/ir/hlo_instructions.h:35, | |
from external/xla/xla/service/gpu/model/indexing_analysi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::collections::HashMap; | |
use std::sync::Arc; | |
use async_trait::async_trait; | |
use pty_process::OwnedWritePty; | |
use russh::server::{Auth, Msg, Session}; | |
use russh::*; | |
use russh_keys::*; | |
use tokio::io::{AsyncReadExt, AsyncWriteExt}; | |
use tokio::sync::Mutex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use async_trait::async_trait; | |
use core::panic; | |
use russh::server::{Msg, Session}; | |
use russh::{Channel, ChannelId, ChannelStream, CryptoVec, Sig}; | |
use std::collections::HashMap; | |
use std::io::Read; | |
use std::net::SocketAddr; | |
use std::sync::Arc; | |
use tokio::io::AsyncReadExt; | |
use tokio::sync::Mutex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use async_trait::async_trait; | |
use russh::server::{Msg, Session}; | |
use russh::*; | |
use russh_keys::*; | |
use std::net::SocketAddr; | |
use std::process::Stdio; | |
use std::sync::Arc; | |
use tokio::io::AsyncReadExt; | |
use tokio::io::BufReader; | |
use tokio::process::Command; |
NewerOlder