Skip to content

Commit a8fdbf2

Browse files
Copybaraseanprime7
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: e2dbd9f87a8c5c077a962d90fa73bd6286e30c89
0 parents  commit a8fdbf2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+11914
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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/docker-existing-dockerfile
3+
{
4+
"name": "Jaxpp Latest",
5+
"image": "gitlab-master.nvidia.com:5005/cml/jaxpp_dev/jaxpp:main",
6+
// "build": {
7+
// // Sets the run context to one level up instead of the .devcontainer folder.
8+
// "context": "..",
9+
// // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
10+
// "dockerfile": "../benchmarks/paxml/Dockerfile",
11+
// },
12+
"runArgs": [
13+
"--gpus=all",
14+
"--env=NVIDIA_DISABLE_REQUIRE=1", // NOTE comment out if host has correct cuda driver
15+
"--shm-size=10.24gb"
16+
],
17+
// NOTE(shadow): devcontainer.json doesn't allow shadowing an existing folder
18+
// in the container (e.g. /workdir/jaxpp).
19+
// While it may seem a good idea to mount it with `-v` in `runArgs` above
20+
// that doesn't work with vscode's git integration.
21+
"containerUser": "jaxpp-dev",
22+
"containerEnv": {"EDITOR": "code -w"},
23+
// Features to add to the dev container. More info: https://containers.dev/features.
24+
// "features": {},
25+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
26+
// "forwardPorts": [],
27+
// NOTE(shadow): Since we cannot shadow /workdir/jaxpp we update the editable
28+
// version of jaxpp to the workspace one
29+
"postCreateCommand": "sudo rm -rf /workdir/jaxpp && pip install -e '/workspaces/${localWorkspaceFolderBasename}[dev]' --no-deps",
30+
// Configure tool-specific properties.
31+
"customizations": {
32+
"vscode": {
33+
"extensions": [
34+
"ms-python.python",
35+
"ms-python.vscode-pylance",
36+
"charliermarsh.ruff",
37+
"tamasfe.even-better-toml"
38+
],
39+
"settings": {
40+
"terminal.integrated.defaultProfile.linux": "bash",
41+
"terminal.integrated.profiles.linux": {
42+
"zsh": {
43+
"path": "/bin/bash"
44+
}
45+
},
46+
"python.defaultInterpreterPath": "/home/jaxpp-dev/dev-env/bin/python3"
47+
}
48+
}
49+
}
50+
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
51+
// "remoteUser": "devcontainer"
52+
}

.github/ISSUE_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
* JaxPP version:
2+
* Jax version:
3+
* cuDNN version:
4+
* cuBLAS version:
5+
* NCCL version:
6+
* Python version:
7+
* Operating System:
8+
9+
### Description
10+
11+
Describe what you were trying to get done.
12+
Tell us what happened, what went wrong, and what you expected to happen.
13+
14+
### What I Did
15+
16+
```
17+
Paste the command(s) you ran and the output.
18+
If there was a crash, please include the traceback here.
19+
```

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "basic.py",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/benchmarks/basic.py",
12+
"console": "integratedTerminal",
13+
"justMyCode": false,
14+
"args": [
15+
"--dtype=float16"
16+
],
17+
"env": {
18+
"RAY_ADDRESS": "local"
19+
}
20+
}
21+
]
22+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.analysis.typeCheckingMode": "basic"
3+
}

0 commit comments

Comments
 (0)