2 Nvideia GPU A100 with 40 Gb capacity which supports MIG
command
nvidia-smi -L| #!/bin/zsh | |
| # ____ _ _ _ | |
| # / ___|| |__ (_)_ ____ _ _ __ ___| |__ _ _ | |
| # \___ \| '_ \| \ \ / / _` | '_ \/ __| '_ \| | | | | |
| # ___) | | | | |\ V / (_| | | | \__ \ | | | |_| | | |
| # |____/|_| |_|_| \_/ \__,_|_| |_|___/_| |_|\__,_| | |
| # | |
| # 💰 Shivanshu's Personal Zsh Configuration 💰 | |
| # _╓▄▄▄▄▄▄,_ {╦ | |
| # _,▄▓▓▓▓▓▓╬╣█▓▓██▓▓╬≈░,H _ |
| 2023-03-06T11:43:58.165346Z info envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1148 wasm log istio-system.swimlane-headers-propagate: srs cluster inbound|9080|| thread=23 | |
| 2023-03-06T11:43:58.165510Z info envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1148 wasm log istio-system.swimlane-headers-propagate: srs plugin name thread=23 | |
| 2023-03-06T11:43:58.165938Z info envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1148 wasm log istio-system.swimlane-headers-propagate: srs inbound header x-swimlane alpha thread=23 | |
| 2023-03-06T11:43:58.166006Z info envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1148 wasm log istio-system.swimlane-headers-propagate: srs inbound header x-swimlane-service-index %!s(T=0) thread=23 | |
| 2023-03-06T11:43:58.166055Z info envoy wasm external/envoy/source/extensions/common/wasm/context.cc:1148 wasm log istio-system.swimlane-headers-propagate: request header --> :authority: 34.83.143.178 thread=23 | |
| 2023-03-06T11:43:58. |
| // Copyright 2020-2021 Tetrate | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "sync" | |
| "time" | |
| ) |
| /* | |
| Copyright 2021 The Kubernetes Authors. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
| /* | |
| Copyright 2018 The Kubernetes Authors. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and |
| #!/usr/bin/env bash | |
| # Copyright 2021 The Kubernetes Authors. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
This gist contains the solution for Chaincode Labs LN Seminar task 1. LND Note: The updated test file lnd_single_hop_invoice_test.go is added below.
Problem Statement:
In https://github.com/lightningnetwork/lnd/blob/6d661334599ffa2a409ad6b0942328f9fd213d09/lntest/itest/lnd_single_hop_invoice_test.go#L24-L33 Alice sends payment to Bob. Add a new node (Carol), open a channel from Bob to Carol and then send a payment from Alice to Bob to Carol. Create a gist and please include the modifications you made and an output of the test you created.
Steps to run the test:
git clone https://github.com/lightningnetwork/lndInstall venv:
sudo apt install -y python3-venv
Create a Virtual Environment:
python3 -m venv my_env
Activate Virtual Environment:
source my_env/bin/activate
Deactivate Virtual Environment: