-
Notifications
You must be signed in to change notification settings - Fork 248
Add torchao #1182
Add torchao #1182
Changes from all commits
7c5e6e8
97606b4
d1fc4fc
3237f27
ffc09c6
23b285d
088cc06
7114449
ca95554
2856674
c5ce896
871ce4a
5f4f1d1
667d78a
5ab3f26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 63cb7a9857654784f726fec75c0dc36167094d8a |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/bin/bash | ||
| # Copyright (c) Meta Platforms, Inc. and affiliates. | ||
| # All rights reserved. | ||
| # | ||
| # This source code is licensed under the BSD-style license found in the | ||
| # LICENSE file in the root directory of this source tree. | ||
|
|
||
|
|
||
|
|
||
| source "$(dirname "${BASH_SOURCE[0]}")/install_utils.sh" | ||
|
|
||
| pushd ${TORCHCHAT_ROOT} | ||
| find_cmake_prefix_path | ||
| clone_torchao | ||
| install_torchao_aten_ops | ||
| popd |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,10 +19,4 @@ pushd ${TORCHCHAT_ROOT} | |
| find_cmake_prefix_path | ||
| clone_executorch | ||
| install_executorch_libs $ENABLE_ET_PYBIND | ||
| install_executorch_python_libs $ENABLE_ET_PYBIND | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move this to install_exeuctorch_python_libs because on the non-cache path in the CI, having it here doesn't work. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we remove this line: Where is this being called? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is called inside install_executorch_libs (which installs both c++ and python), so it was redundant |
||
| # TODO: figure out the root cause of 'AttributeError: module 'evaluate' | ||
| # has no attribute 'utils'' error from evaluate CI jobs and remove | ||
| # `import lm_eval` from torchchat.py since it requires a specific version | ||
| # of numpy. | ||
| pip install numpy=='1.26.4' | ||
| popd | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take pass at adding rich elements to this in a separate PR; Content looks good here