Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use image instead of dockerfile in dev container #11596

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3adade8
changes after force push (#11094)
RickSanchezStoic Feb 27, 2023
1f13717
ldexp experimental implementation (#11113)
pillarxyz Feb 27, 2023
cca7df1
let nested_map work with UserDict
mattbarrett98 Feb 27, 2023
75ff228
Added torch `hinge_embedding_loss (#11124)
ZiadAmerr Feb 27, 2023
3563d26
Added ifft function for numpy frontend (#11119)
CodeMaestro1000 Feb 27, 2023
38f1147
bincount experimental implementation (#11116)
pillarxyz Feb 27, 2023
9a48c3c
fix type hints for numpy bernoulli function
mattbarrett98 Feb 27, 2023
efd27c0
acos #10800 (#11103)
SSahas Feb 27, 2023
b8342a1
add dark-light theme class for logos in setup.py (#11133)
juliagsy Feb 27, 2023
8cdfaac
Update compiler
vaatsalya123 Feb 27, 2023
96413fe
small fix to the median of torch backend
Daniel4078 Feb 27, 2023
60434a3
add `@to_ivy_arrays_and_back` to `pad` frontend function in tf and ch…
sherry30 Feb 27, 2023
8383c4c
tf math sqrt, negative (#11118)
Sravanthgithub Feb 27, 2023
7628413
Update intelligent-tests.yml
RashulChutani Feb 28, 2023
632ea72
Added torch.linalg.eigvals to torch frontend#10848 (#11140)
Radu2k Feb 28, 2023
d95cb92
updated ivy pad to allow float constant_values and end_values
AnnaTz Feb 28, 2023
f76e252
Update test-ivy-core.yml
vedpatwardhan Feb 28, 2023
6d37e6b
Resolve Issue with Intelligent Tests Workflow
RashulChutani Feb 28, 2023
768b21e
Merge remote-tracking branch 'origin/master'
RashulChutani Feb 28, 2023
78a2613
Resolve Issue with Intelligent Tests Workflow
RashulChutani Feb 28, 2023
8b62531
Update test-ivy-core.yml
vedpatwardhan Feb 28, 2023
a06ad6f
Update test-ivy-core.yml
vedpatwardhan Feb 28, 2023
70c1d9b
Version unpinning (#11168)
RickSanchezStoic Feb 28, 2023
332ff34
Docker exploration multiversion (#11199)
RickSanchezStoic Feb 28, 2023
d07ea48
Added view and repeat to torch.Tensor
fspyridakos Feb 28, 2023
ea1f837
Use image instead of dockerfile
Dsantra92 Mar 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 11 additions & 21 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/docker-existing-dockerfile
{
"name": "Ivy Development Environment",

// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",

// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
// Swap in commented line below if using GPU codespace.
// "dockerFile": "../docker/DockerfileGPU",

"dockerFile": "../docker/Dockerfile",

// An array of extensions that should be installed into the container.
"extensions": ["ms-python.python"],

// Use unifyai/ivy:latest-gpu for gpu support
"image": "unifyai/ivy:latest",
"customizations": {
"extensions": [
"ms-python.python"
]
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Uncomment the next line to run commands after the container is created - for example installing curl.
"postCreateCommand": "bash .devcontainer/post_create_commands.sh"

// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],

// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"

// Uncomment if using GPU codespace
// "runArgs": ["--gpus","all"],

}

}
9 changes: 5 additions & 4 deletions .devcontainer/post_create_commands.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash

pip3 install black
pip3 install flake8

git submodule update --init --recursive

python3 -m pip install --user -e .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick note: this is used here to install Ivy as a local package, we should keep it.

python3 -m pip install pre-commit

git config --global --add safe.directory /workspaces/ivy

( cd /workspaces/ivy/ && pre-commit install)
Loading