Skip to content

Commit 9960992

Browse files
Venkata-Durga-Raokiriti-pendyala
authored andcommitted
[ZENTORCH INFRA] Update ZenDNN tag to v4.2
-- Update ZenDNN and BLIS links in README.md -- Update default value of ZENDNN_PT_USE_LOCAL_ZENDNN to 0 from 1 -- Update ZenDNN tag to 4.2 from 4.1 -- Add THIRD-PARTY-NOTICES Signed-off-by: Venkata Durga Rao <[email protected]> Change-Id: Ie850ec7dd2e222df0eb03c52f947d8bf1b01169f Signed-off-by: Venkata Durga Rao <[email protected]> (cherry picked from commit 7f154f7)
1 parent fc0a0d9 commit 9960992

File tree

4 files changed

+77
-8
lines changed

4 files changed

+77
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ Build setup downloads the AOCL BLIS and ZenDNN repos into `third_party` folder.
155155
|------><ZenDNN_PyTorch_Plugin>
156156
```
157157
>NOTE:
158-
> 1. The recommended values of `ZENDNN_PT_USE_LOCAL_ZENDNN` , `ZENDNN_PT_USE_LOCAL_BLIS` and `ZENDNN_PT_USE_LOCAL_FBGEMM` are 1 , 0 and 0 respectively. Default values are the same as recommended values.
158+
> 1. The recommended values of `ZENDNN_PT_USE_LOCAL_ZENDNN` , `ZENDNN_PT_USE_LOCAL_BLIS` and `ZENDNN_PT_USE_LOCAL_FBGEMM` are 0 , 0 and 0 respectively. Default values are the same as recommended values.
159159
>```bash
160-
>export ZENDNN_PT_USE_LOCAL_ZENDNN=1
160+
>export ZENDNN_PT_USE_LOCAL_ZENDNN=0
161161
>export ZENDNN_PT_USE_LOCAL_BLIS=0
162162
>export ZENDNN_PT_USE_LOCAL_FBGEMM=0
163163
>```
164-
> 2. ZenDNN repository can be cloned using command<br> `git clone "ssh://gerritgit/amd/ec/ZenDNN"`
165-
> 3. AOCL BLIS can be cloned using command<br> `git clone "ssh://gerritgit/cpulibraries/er/blis"`
164+
> 2. ZenDNN repository can be cloned using command<br> `git clone https://github.com/amd/ZenDNN.git`
165+
> 3. AOCL BLIS can be cloned using command<br> `git clone https://github.com/amd/blis.git`
166166
> 4. FBGEMM can be cloned using command<br> `git clone https://github.com/pytorch/FBGEMM.git`
167167
168168
### 2.2.2. Linux build

THIRD-PARTY-NOTICES

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
Third Party Notices for PyTorch v2.x + ZenDNN v4.2
2+
3+
This summary and the license information provided below is for reference purposes and is not intended to be a comprehensive list of all copyright notices or license terms and conditions applicable to the Software.
4+
5+
With respect to any license that requires AMD to make available to recipients of object code distributed by AMD pursuant to such license the corresponding source code, and if you desire to receive such source code from AMD, then AMD hereby offers (which offer is valid for as long as required by the applicable license; and we may charge you the cost thereof unless prohibited by the license) to provide you with a copy of such source code; and to accept such offer send a letter requesting such source code (please be specific by identifying the particular Software you are inquiring about (name and version number), to: Advanced Micro Devices, Inc., Legal Department, Attention: Software Compliance Officer, 2485 Augustine Drive, Santa Clara, CA U.S.A. 95054.
6+
7+
8+
PyTorch-pytorch v-u (BSD-3-Clause)
9+
Attribution Statements
10+
Copyright (c) 2016-present, Facebook Inc. All rights reserved.
11+
All contributions by Facebook:
12+
Copyright (c) 2016 Facebook Inc.
13+
All contributions by Google:
14+
Copyright (c) 2015 Google Inc.
15+
All rights reserved.
16+
All contributions by Yangqing Jia:
17+
Copyright (c) 2015 Yangqing Jia
18+
All rights reserved.
19+
All contributions by Kakao Brain:
20+
Copyright 2019-2020 Kakao Brain
21+
All contributions by Cruise LLC:
22+
Copyright (c) 2022 Cruise LLC.
23+
All rights reserved.
24+
All contributions from Caffe:
25+
Copyright(c) 2013, 2014, 2015, the respective contributors
26+
All rights reserved.
27+
All other contributions:
28+
Copyright(c) 2015, 2016 the respective contributors
29+
All rights reserved.
30+
Caffe2 uses a copyright model similar to Caffe: each contributor holds
31+
copyright over their contributions to Caffe2. The project versioning records
32+
all such contribution and copyright details. If a contributor wants to further
33+
mark their specific copyright on a particular contribution, they should
34+
indicate their copyright solely in the commit message of the change when it is
35+
committed.
36+
37+
Copyright Statements
38+
Copyright (c) 2016- Facebook, Inc (Adam Paszke)
39+
Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
40+
Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
41+
Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
42+
Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
43+
Copyright (c) 2011-2013 NYU (Clement Farabet)
44+
Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
45+
Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
46+
Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
47+
License Text https://fedoraproject.org/wiki/Licensing:BSD?rd=Licensing/BSD
48+
All rights reserved.
49+
Redistribution and use in source and binary forms, with or without
50+
modification, are permitted provided that the following conditions are met:
51+
1. Redistributions of source code must retain the above copyright
52+
notice, this list of conditions and the following disclaimer.
53+
2. Redistributions in binary form must reproduce the above copyright
54+
notice, this list of conditions and the following disclaimer in the
55+
documentation and/or other materials provided with the distribution.
56+
3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America
57+
and IDIAP Research Institute nor the names of its contributors may be
58+
used to endorse or promote products derived from this software without
59+
specific prior written permission.
60+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
61+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
62+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
63+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
64+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
65+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
66+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
67+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
68+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
69+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
70+
POSSIBILITY OF SUCH DAMAGE.
71+

cmake/modules/FindZENDNN.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ endif()
118118
IF("$ENV{ZENDNN_PT_USE_LOCAL_ZENDNN}" EQUAL 0)
119119
FetchContent_Declare(ZenDNN
120120
GIT_REPOSITORY https://github.com/amd/ZenDNN.git
121-
GIT_TAG v4.1
121+
GIT_TAG v4.2
122122
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/ZenDNN"
123123
)
124124
FetchContent_GetProperties(ZenDNN)

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ def run(self) -> None:
1717
Invoke the CMAKE compilation commands.
1818
"""
1919
# Env variables set to copy ZenDNN/BLIS from local
20-
# After ZenDNN4.1 release ZENDNN_PT_USE_LOCAL_ZENDNN should be set to 0
21-
2220
# if variables not set: then use default values
2321
if "ZENDNN_PT_USE_LOCAL_BLIS" not in os.environ:
2422
os.environ["ZENDNN_PT_USE_LOCAL_BLIS"] = "0"
2523
if "ZENDNN_PT_USE_LOCAL_ZENDNN" not in os.environ:
26-
os.environ["ZENDNN_PT_USE_LOCAL_ZENDNN"] = "1"
24+
os.environ["ZENDNN_PT_USE_LOCAL_ZENDNN"] = "0"
2725
if "ZENDNN_PT_USE_LOCAL_FBGEMM" not in os.environ:
2826
os.environ["ZENDNN_PT_USE_LOCAL_FBGEMM"] = "0"
2927

0 commit comments

Comments
 (0)