Skip to content

Commit a54d1ed

Browse files
authored
Rearrange files and projects to match #16 (#17)
πŸŽ‰
1 parent 634242d commit a54d1ed

29 files changed

+128
-93
lines changed

β€Ž.github/ISSUE_TEMPLATE.md

-16
This file was deleted.

β€Ž.github/PULL_REQUEST_TEMPLATE.md

-6
This file was deleted.

β€ŽCODEOWNERS

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SIG Leads are default for PRs unless a specific owner is listed below
2+
* @angerson @perfinion
3+
4+
# These should match the Maintainer: line in your README.md
5+
# Please sort them in alphabetical order.
6+
/directory_template @angerson @perfinion
7+
/manylinux_2014_docker_images @sub-mod
8+
/ppc64le @wdirons
9+
/tekton @perfinion

β€ŽCONTRIBUTING.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
# How to Contribute
22

3-
We'd love to accept your patches and contributions to this project. There are
4-
just a few small guidelines you need to follow.
3+
To add your own project to our showcase, you can:
4+
5+
* Add a link and a short description to [README.md](README.md) in the same
6+
format as the other links, and then file a PR, or,
7+
* Copy the [Directory Template](directory_template) into a new folder, fill in
8+
the template, and add it to the showcase. Make sure to update
9+
[CODEOWNERS](CODEOWNERS) as well.
10+
11+
This repo is a good place for small additions, but if the project is a big one,
12+
it may be better to maintain it in your own repository for better encapsulation
13+
of responsibility (and so you can make your own rules for further
14+
contributions).
15+
16+
There are just a few small standard guidelines you need to follow as well:
517

618
## Contributor License Agreement
719

β€ŽREADME.md

+33-6
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,49 @@
77
[![Gitter chat](https://img.shields.io/badge/chat-on%20gitter-46bc99.svg)](https://gitter.im/tensorflow/sig-build)
88
[![SIG Build Forum](https://img.shields.io/badge/discuss-on%20tensorflow.org-orange)](https://groups.google.com/a/tensorflow.org/g/build)
99

10-
**TensorFlow SIG Build** is a community group dedicated to improving all aspects
11-
of the TensorFlow build process.
10+
**TensorFlow SIG Build** is a community group dedicated to the TensorFlow build
11+
process. This repository is a showcase of resources, guides, tools, and builds
12+
contributed by the community, for the community.
1213

13-
## Contributing
14+
## Group
1415

15-
SIG Build is a community led open source project. As such, the project
16+
### Contributing
17+
18+
SIG Build is a community-led open source project. As such, the project
1619
depends on public contributions, bug-fixes, and documentation. Please
1720
see [contribution guidelines](CONTRIBUTING.md) for a guide on how to
1821
contribute. This project adheres to [TensorFlow's code of conduct](CODE_OF_CONDUCT.md).
1922
By participating, you are expected to uphold this code.
2023

21-
## Community
24+
### Community
2225

2326
* [Public Mailing List](https://groups.google.com/a/tensorflow.org/forum/#!forum/build)
2427
* [SIG Monthly Meeting Notes](https://docs.google.com/document/d/10_3IQ5aF-88ADJNLF0WOpb09bZ15x-sBnRSnDHNCNr8/edit)
2528
* Join our mailing list and receive calendar invites to the meeting.
2629

27-
## License
30+
### License
2831
[Apache License 2.0](LICENSE)
32+
33+
## Project Showcase
34+
35+
Want to add your own project to this list? It's easy: check out
36+
[CONTRIBUTING.md](CONTRIBUTING.md).
37+
38+
### Docker
39+
40+
* [**Manylinux 2014 Docker Images**](manylinux_2014_docker_images):
41+
`manylinux2014` build environment for TensorFlow packages.
42+
* [**Distroless Dockerfiles**](https://github.com/uvarc/rivanna-docker):
43+
Distroless ([info](https://github.com/GoogleContainerTools)) TensorFlow
44+
images, which are smaller than TensorFlow's official images.
45+
46+
### Platforms
47+
48+
* [**ppc64le Builds**](ppc64le_builds): Dockerfiles and wheel build scripts for
49+
building TF on ppc64le.
50+
51+
### WIP / Other
52+
53+
* [**Tekton CI**](tekton): perfinion's experimental directory for using Tekton
54+
CI with TensorFlow
55+
* [**Directory Template**](directory_template): Example short description.

β€Ždirectory_template/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Directory Template
2+
3+
Example short description.
4+
5+
Maintainer: @angerson (TensorFlow, SIG Build)
6+
7+
* * *
8+
9+
This is is a sample of a new directory for showcasing a local project. Anything
10+
goes, just please follow these rules to keep things straightforward:
11+
12+
- Name the directory the same as the title `in_snake_case` (all lowercase, with
13+
underscores, no hyphens).
14+
- Your directory should have a README.md with a header:
15+
- Title identical to the one added on the root README.md
16+
- Short description identical to the one added on the root README.md
17+
- Maintainer: `<your email(s)> (<your organization(s)>)`. If you have no
18+
organization or not acting on behalf of one, write "Independent".
19+
- You can add this directory to the root README.md list under any Showcase
20+
section. If it doesn't fit under any section, just put it at the top under
21+
"Showcase."

β€Žimages/Dockerfile.linux.cpu

-26
This file was deleted.

β€Žimages/README.md

-37
This file was deleted.
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Manylinux2014 Docker Images
2+
3+
`manylinux2014` build environment for TensorFlow packages.
4+
5+
Maintainer: @sub-mod (Red Hat)
6+
7+
* * *
8+
9+
Run the below commands to create a manylinux2014 build environment.
10+
```
11+
docker build -t build/manylinux2014 -f Dockerfile.manylinux2014.cpu .
12+
docker run -it build/manylinux2014:latest /bin/bash
13+
```
14+
15+
Run the below commands to build TF.
16+
```
17+
source scl_source enable devtoolset-7 rh-python36
18+
git clone --branch=r2.1 --depth=1 https://github.com/tensorflow/tensorflow.git
19+
cd tensorflow/
20+
./configure
21+
bazel build -c opt --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --verbose_failures //tensorflow/tools/pip_package:build_pip_package
22+
```
23+

β€Žppc64le_builds/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# ppc64le Builds
2+
3+
Dockerfiles and wheel build scripts for building TF on ppc64le.
4+
5+
Maintainer: @wdirons (IBM)
6+
7+
* * *
8+
9+
`cpu/Dockerfile.manylinux_2014` extends from the
10+
quay.io/pypa/manylinux2014_ppc64le docker image and installs java, bazel (from
11+
source), and the minimal required pip packages to build TensorFlow. It also adds
12+
the jenkins userid necessary to work with Oregon State University's Open Source
13+
Lab jenkins environment. `gpu/Dockerfile.manylinux_2014.cuda10_1` extends from
14+
the cpu image and adds CUDA 10.1 and cuDNN 7.6.
15+
16+
The bash scripts are the equivalent of what is run in the TensorFlow builds done
17+
with Jenkins (everything except the remote cache server). They can also be run
18+
manually by cloning tensorflow and copying the script into the root of the
19+
workspace.

β€Žtekton/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Tekton CI
2+
3+
perfinion's experimental directory for using Tekton CI with TensorFlow.
4+
5+
Maintainer: @perfinion (SIG Build)
6+
7+
* * *
8+
9+
T.B.D.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)