google / jetstream-pytorch

PyTorch/XLA integration with JetStream (https://github.com/google/JetStream) for LLM inference"
Apache License 2.0
33 stars 14 forks source link

Fix test quantization lint check #51

Closed FanhaiLu1 closed 4 months ago

FanhaiLu1 commented 4 months ago

After this PR: Your code has been rated at 10.00/10

Before this PR: Your code has been rated at 8.00/10 ***** Module tests.test_quantization test_quantization.py:24:0: C0115: Missing class docstring (missing-class-docstring) test_quantization.py:30:2: C0116: Missing function or method docstring (missing-function-docstring) test_quantization.py:16:0: C0411: standard import "unittest" should be placed before third party import "jax" (wrong-import-order) test_quantization.py:21:0: C0412: Imports from package jax are not grouped (ungrouped-imports) test_quantization.py:18:0: W0611: Unused quantize imported from jetstream_pt (unused-import)