Skip to content

Commit 85870ef

Browse files
committed
feat: update devcontainer
1 parent 7961969 commit 85870ef

File tree

3 files changed

+6
-59
lines changed

3 files changed

+6
-59
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 23 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,5 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2-
// README at: https://github.com/devcontainers/templates/tree/main/src/rust-postgres
31
{
4-
"name": "Rust GPU PyTorch",
52
"features": {
6-
"ghcr.io/devcontainers/features/nvidia-cuda:1": {
7-
"installCudnn": true
8-
},
9-
"ghcr.io/devcontainers/features/rust:1": {},
10-
"ghcr.io/eitsupi/devcontainer-features/mdbook:1.0.0": {},
11-
"ghcr.io/guiyomh/features/vim:0": {}
12-
},
13-
14-
// Features to add to the dev container. More info: https://containers.dev/features.
15-
// "features": {},
16-
17-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18-
// "forwardPorts": [5432],
19-
20-
// Use 'postCreateCommand' to run commands after the container is created.
21-
"postCreateCommand": "bash setup.sh",
22-
"customizations": {
23-
"vscode": {
24-
"extensions": [
25-
"GitHub.copilot-labs",
26-
"GitHub.copilot-nightly",
27-
"ms-azuretools.vscode-docker",
28-
"technosophos.vscode-make",
29-
"ms-vscode.makefile-tools"
30-
]
31-
}
3+
"ghcr.io/rapidsai/devcontainers/features/rust:25.4.0": {}
324
}
33-
// Configure tool-specific properties.
34-
// "customizations": {},
35-
36-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37-
// "remoteUser": "root"
385
}

src/stochastic/noise/fgn.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,12 @@ mod tests {
246246
}
247247

248248
#[test]
249+
#[tracing_test::traced_test]
249250
fn fgn_plot() {
250-
let fbm = FGN::new(0.7, N, Some(1.0), None);
251-
plot_1d!(fbm.sample(), "Fractional Brownian Motion (H = 0.7)");
251+
let fgn = FGN::new(0.7, 100, Some(1.0), None);
252+
let fgn = fgn.sample();
253+
tracing::info!("{:?}", fgn);
254+
// plot_1d!(fgn, "Fractional Brownian Motion (H = 0.7)");
252255
}
253256

254257
#[test]

0 commit comments

Comments
 (0)