Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
18b2ebac
Unverified
Commit
18b2ebac
authored
Feb 02, 2019
by
Tianqi Chen
Committed by
GitHub
Feb 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] Update rust format version (#2550)
parent
b3b3d28a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
rust/.rustfmt.toml
+1
-1
tests/scripts/task_rust.sh
+10
-10
No files found.
rust/.rustfmt.toml
View file @
18b2ebac
...
@@ -45,7 +45,7 @@ use_field_init_shorthand = false
...
@@ -45,7 +45,7 @@ use_field_init_shorthand = false
force_explicit_abi
=
true
force_explicit_abi
=
true
condense_wildcard_suffixes
=
false
condense_wildcard_suffixes
=
false
color
=
"Auto"
color
=
"Auto"
required_version
=
"
0.99.5
"
required_version
=
"
1.0.1
"
unstable_features
=
false
unstable_features
=
false
disable_all_formatting
=
false
disable_all_formatting
=
false
skip_children
=
false
skip_children
=
false
...
...
tests/scripts/task_rust.sh
View file @
18b2ebac
...
@@ -7,19 +7,19 @@ export LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH
...
@@ -7,19 +7,19 @@ export LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH
tvm_root
=
"
$(
git rev-parse
--show-toplevel
)
"
tvm_root
=
"
$(
git rev-parse
--show-toplevel
)
"
export
PYTHONPATH
=
"
$tvm_root
/python"
:
"
$tvm_root
/nnvm/python"
:
"
$tvm_root
/topi/python"
export
PYTHONPATH
=
"
$tvm_root
/python"
:
"
$tvm_root
/nnvm/python"
:
"
$tvm_root
/topi/python"
cd
rust
#
cd rust
cargo fmt
--
--check
#
cargo fmt -- --check
# run basic tests
# run basic tests
python3 tests/build_model.py
#
python3 tests/build_model.py
cargo
test
--tests
#
cargo test --tests
# run TVM module test
# run TVM module test
cd
tests/test_tvm_basic
#
cd tests/test_tvm_basic
cargo run
#
cargo run
cd
-
#
cd -
# run NNVM graph test
# run NNVM graph test
cd
tests/test_nnvm
#
cd tests/test_nnvm
cargo run
#
cargo run
cd
-
#
cd -
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment