Skip to content

Commit 4f4b594

Browse files
authored
Add Code of Conduct page (#1936)
* Add Code of Conduct page Signed-off-by: Chris Abraham <[email protected]> * format Signed-off-by: Chris Abraham <[email protected]> * format Signed-off-by: Chris Abraham <[email protected]> * f Signed-off-by: Chris Abraham <[email protected]> * f Signed-off-by: Chris Abraham <[email protected]> * link Signed-off-by: Chris Abraham <[email protected]> * f Signed-off-by: Chris Abraham <[email protected]> * f Signed-off-by: Chris Abraham <[email protected]> * f Signed-off-by: Chris Abraham <[email protected]> --------- Signed-off-by: Chris Abraham <[email protected]>
1 parent 9b444bd commit 4f4b594

File tree

2 files changed

+225
-1
lines changed

2 files changed

+225
-1
lines changed

announcement.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ <h2>Associate Members</h2>
207207
<h2>Our Governance</h2>
208208
<span></span>
209209
<p class="lead">
210-
The PyTorch Foundation’s Governing Board oversees the Foundation’s activities according to its Guiding Principles and the <a href="/assets/pytorch-foundation-charter-04052023.pdf" target="_blank">PyTorch Foundation Charter</a>.
210+
The PyTorch Foundation’s Governing Board oversees the Foundation’s activities according to its Guiding Principles, the <a href="/assets/pytorch-foundation-charter-04052023.pdf" target="_blank">PyTorch Foundation Charter</a>, and the <a href="/code-of-conduct">PyTorch Foundation Code of Conduct</a>.
211211
<br />
212212
<br />
213213
The technical governance structure for the PyTorch open source project is defined by the PyTorch maintainers and is available on our <a href="https://pytorch.org/docs/main/community/governance.html">PyTorch Technical Governance page</a>.

code-of-conduct.html

+224
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
---
2+
layout: default
3+
title: PyTorch Foundation Code of Conduct
4+
body-class: announcement
5+
background-class: announcement-background
6+
permalink: /code-of-conduct
7+
---
8+
{% assign cards = site.board_info %}
9+
10+
<div class="container">
11+
<div class="row hero-content">
12+
<div class="col-md-10">
13+
<h1>PyTorch Foundation<br />Code of Conduct</h1>
14+
</div>
15+
</div>
16+
</div>
17+
18+
<div class="container-fluid light-background-section">
19+
<div class="container">
20+
<div class="row content">
21+
<div class="col-md-10 body-side-text">
22+
23+
24+
<h2>Our Commitment</h2>
25+
26+
27+
<p class="lead">
28+
The PyTorch Foundation is committed to fostering an inclusive, welcoming, and safe environment for everyone involved in the PyTorch Foundation community. This commitment extends across all Foundation activities, including but not limited to our technical projects, events, communication channels, and social media presence. We pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
29+
</p>
30+
<h2 class="mt-5">Scope</h2>
31+
32+
33+
<p class="lead">
34+
This code of conduct applies to Governing Board meetings, Technical Advisory Council meetings and outreach programs (such as the Ambassador Program) of the PyTorch Foundation and any other activity of the PyTorch Foundation that is not otherwise covered by a code of conduct of either The Linux Foundation or an applicable technical project.
35+
</p>
36+
<h3 class="mt-4">PyTorch Foundation Events</h3>
37+
<p class="lead">
38+
PyTorch Foundation events that are produced by the Linux Foundation with professional events staff are governed by the Linux Foundation Events Code of Conduct available on the event page, which is designed to be used in conjunction with this PyTorch Foundation Code of Conduct.
39+
</p>
40+
<h3 class="mt-4">Technical Projects in the PyTorch Foundation Umbrella </h3>
41+
<p class="lead">
42+
Technical projects supported by the PyTorch Foundation are organized as separate projects and each maintains a code of conduct that applies to participants in those projects.
43+
</p>
44+
<h2 class="mt-5">Expected Behavior</h2>
45+
46+
47+
<p class="lead">
48+
Community members are expected to:
49+
</p>
50+
<ul>
51+
52+
<li>Use welcoming and inclusive language </li>
53+
54+
<li>Respect differing viewpoints and experiences </li>
55+
56+
<li>Accept constructive criticism gracefully </li>
57+
58+
<li>Prioritize what benefits the community as a whole </li>
59+
60+
<li>Show empathy and kindness toward others </li>
61+
62+
<li>Be professional and responsible in all interactions </li>
63+
64+
<li>Follow health and safety requirements at in-person events </li>
65+
66+
<li>Exercise consideration and respect in speech and actions </li>
67+
68+
<li>Collaborate with other community members in a constructive manner</li>
69+
</ul>
70+
<h2 class="mt-5">Unacceptable Behavior</h2>
71+
72+
73+
<p class="lead">
74+
The following behaviors are considered unacceptable within our community:
75+
</p>
76+
<h3 class="mt-4">Harassment and Discrimination</h3>
77+
78+
79+
<ul>
80+
81+
<li>Harassment of any kind, whether verbal, physical, or visual</li>
82+
83+
<li>Discrimination based on protected characteristics</li>
84+
85+
<li>Sexual harassment or unwelcome sexual attention</li>
86+
87+
<li>Deliberate intimidation, stalking, or following</li>
88+
89+
<li>Sustained disruption of talks, events, or online discussions</li>
90+
91+
<li>Inappropriate physical contact </li>
92+
</ul>
93+
<h3 class="mt-4">Communication and Content</h3>
94+
95+
96+
<ul>
97+
98+
<li>Use of sexualized language or imagery</li>
99+
100+
<li>Violent or threatening language or imagery</li>
101+
102+
<li>Trolling, insulting/derogatory comments, or personal attacks</li>
103+
104+
<li>Public or private harassment</li>
105+
106+
<li>Publishing others’ private information without permission</li>
107+
108+
<li>Using Foundation platforms for political campaigning or promotion of political causes that are unrelated to technology</li>
109+
110+
<li>Other conduct which could reasonably be considered inappropriate in a professional setting</li>
111+
</ul>
112+
<h3 class="mt-4">Online and Social Media Behavior</h3>
113+
114+
115+
<ul>
116+
117+
<li>Harassment or bullying through social media platforms</li>
118+
119+
<li>Spreading misinformation about the Foundation or its members</li>
120+
121+
<li>Using Foundation channels for commercial promotion without permission</li>
122+
123+
<li>Creating multiple accounts to evade moderation</li>
124+
125+
<li>Impersonating Foundation members or officials</li>
126+
</ul>
127+
<h3 class="mt-4">Behavior During Investigations</h3>
128+
129+
130+
<ul>
131+
132+
<li>Providing knowingly false or misleading information in connection with a Code of Conduct investigation or otherwise intentionally tampering with an investigation.</li>
133+
134+
<li>Retaliating against a person because they reported an incident or provided information about an incident as a witness.</li>
135+
</ul>
136+
<h2 class="mt-5">Enforcement</h2>
137+
138+
139+
<h3 class="mt-4">Reporting Violations</h3>
140+
141+
142+
<p class="lead">
143+
Violations can be reported to <a href="mailto:[email protected]">[email protected]</a>. All reports will be:
144+
</p>
145+
<ul>
146+
147+
<li>Reviewed promptly and thoroughly </li>
148+
149+
<li>Treated with strict confidentiality </li>
150+
151+
<li>Investigated and addressed appropriately </li>
152+
153+
<li>Documented for future reference</li>
154+
</ul>
155+
<h3 class="mt-4">Consequences</h3>
156+
157+
158+
<p class="lead">
159+
Violations may result in:
160+
</p>
161+
<ul>
162+
163+
<li>Warning to the offending individual </li>
164+
165+
<li>Temporary or permanent ban from Foundation spaces </li>
166+
167+
<li>Removal from leadership or contributory roles </li>
168+
169+
<li>Expulsion from events without refund </li>
170+
171+
<li>Reporting to appropriate authorities if necessary</li>
172+
173+
<li>Other consequences</li>
174+
</ul>
175+
<h3 class="mt-4">Appeals Process</h3>
176+
177+
178+
<ul>
179+
180+
<li>Individuals may appeal enforcement decisions</li>
181+
182+
<li>Appeals must be submitted in writing within 30 days to the PyTorch Foundation via email to [email protected]</li>
183+
184+
<li>Decisions on appeals are final</li>
185+
</ul>
186+
<h2 class="mt-5">Pre-Event Concerns</h2>
187+
188+
189+
<p class="lead">
190+
If you have concerns about attending an upcoming event where specific individuals may be present:
191+
</p>
192+
<ul>
193+
194+
<li>Contact <a href="mailto:[email protected]">[email protected]</a> in advance </li>
195+
196+
<li>Arrangements can be made for your safety and comfort </li>
197+
198+
<li>Precautions may include providing security escorts and notifying staff</li>
199+
</ul>
200+
<h2 class="mt-5">Amendments</h2>
201+
202+
203+
<p class="lead">
204+
This Code of Conduct may be amended by the PyTorch Foundation as needed. Changes will be communicated to the community, and continued participation in the community indicates agreement to the current version.
205+
</p>
206+
<h2 class="mt-5">Questions and Reporting - Contact</h2>
207+
208+
209+
<p class="lead">
210+
For questions, concerns, or reports:
211+
<br />
212+
Email: <a href="mailto:[email protected]">[email protected]</a>
213+
</p>
214+
<h2 class="mt-5">​​Acknowledgements</h2>
215+
<p class="lead">
216+
This Code of Conduct is adapted from the <a href="http://contributor-covenant.org">Contributor Covenant</a>, version 2.0 available <a href="http://contributor-covenant.org/version/2/0/code_of_conduct/">here</a>.
217+
</p>
218+
219+
220+
221+
</div>
222+
</div>
223+
</div>
224+
</div>

0 commit comments

Comments
 (0)