This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUBMARINE-588. [SDK] Fix checkstyle error in core.py
### What is this PR for? Fix checkstyle error in submarine/ml/pytorch/model/ctr/ https://github.com/apache/submarine/runs/923503735 ```bash Run ./submarine-sdk/pysubmarine/github-actions/lint.sh +++ dirname ./submarine-sdk/pysubmarine/github-actions/lint.sh ++ cd ./submarine-sdk/pysubmarine/github-actions ++ pwd + FWDIR=/home/runner/work/submarine/submarine/submarine-sdk/pysubmarine/github-actions + cd /home/runner/work/submarine/submarine/submarine-sdk/pysubmarine/github-actions + cd .. + pycodestyle --max-line-length=100 -- submarine tests + pylint --ignore experiment '--msg-template={path} ({line},{column}): [{msg_id} {symbol}] {msg}' --rcfile=pylintrc -- submarine tests ************* Module submarine.ml.pytorch.model.ctr.afm submarine/ml/pytorch/model/ctr/afm.py (30,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden submarine/ml/pytorch/model/ctr/afm.py (57,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden submarine/ml/pytorch/model/ctr/afm.py (81,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden ************* Module submarine.ml.pytorch.model.ctr.deepfm submarine/ml/pytorch/model/ctr/deepfm.py (32,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden ************* Module submarine.ml.pytorch.layers.core submarine/ml/pytorch/layers/core.py (20,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden submarine/ml/pytorch/layers/core.py (42,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden submarine/ml/pytorch/layers/core.py (57,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden submarine/ml/pytorch/layers/core.py (72,0): [W0223 abstract-method] Method '_forward_unimplemented' is abstract in class 'Module' but is not overridden ``` ### What type of PR is it? [Hot Fix] ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-588 ### How should this be tested? https://travis-ci.org/github/pingsutw/hadoop-submarine/builds/712952549 ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Kevin Su <[email protected]> Closes #365 from pingsutw/SUBMARINE-588 and squashes the following commits: 857bdfe [Kevin Su] Add apt update 5cb18cf [Kevin Su] Update torch version 4ff4458 [Kevin Su] Update pip e3f4511 [Kevin Su] SUBMARINE-588. [SDK] Fix checkstyle error in core.py
- Loading branch information