generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
raucha
committed
Sep 23, 2023
1 parent
612dbc5
commit dacbcb5
Showing
4 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
# pythoch feature |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Pytorch", | ||
"id": "pytorch", | ||
"version": "1.0.0", | ||
"description": "pytorch feature", | ||
"options": { | ||
}, | ||
"installsAfter": [ | ||
"ghcr.io/devcontainers/features/common-utils", | ||
"ghcr.io/devcontainers/features/python" | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
# check_packages() { | ||
# if ! dpkg -s "$@" > /dev/null 2>&1; then | ||
# if [ "$(find /var/lib/apt/lists/* | wc -l)" = "0" ]; then | ||
# echo "Running apt-get update..." | ||
# apt-get update -y | ||
# fi | ||
# apt-get -y install --no-install-recommends "$@" | ||
# fi | ||
# } | ||
|
||
echo "Activating feature 'pytorch'" | ||
|
||
pip install pytorch | ||
|
||
echo "pytorch installed! " |