asyml / asyml/texar

Performance issues in the program

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.4k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

Hello,I found a performance issue in the definition of `test_make_chained_transformation` ,
asyml/texar/blob/master/tests/data/data/dataset_utils_test.py,
[dataset.map](https://github.com/asyml/texar/blob/a23f021dae289a3d768dc099b220952111da04fd/tests/data/data/dataset_utils_test.py#L37) was called without **num_parallel_calls**.
I think it will increase the efficiency of your program if you add this.

Here is [the documemtation of tensorflow](https://tensorflow.google.cn/api_docs/python/tf/data/Dataset?hl=en#map) to support this thing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in tests/data/data/dataset_utils_test.py at test_make_chained_transformation and inspect the dataset.map call around the referenced line. Add the requested num_parallel_calls argument, then run the relevant dataset utility tests. Done means the call includes the option and the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning, performance
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.