зеркало из https://github.com/microsoft/archai.git
chore(root): Bumps version for release.
This commit is contained in:
Родитель
98801d9e89
Коммит
9c65ca9ae4
3
.flake8
3
.flake8
|
@ -1,3 +0,0 @@
|
|||
[flake8]
|
||||
ignore = E111,E402,E722,W503,W504,F405,F403
|
||||
max-line-length = 120
|
|
@ -37,6 +37,6 @@ jobs:
|
|||
.
|
||||
- name: Publishes to PyPI
|
||||
# Publishes the builded package to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
name: CodeQL Checker
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check-codeql:
|
||||
name: Checks and analyzes with CodeQL
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Pulls the repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Initializes CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: python
|
||||
queries: security-extended
|
||||
- name: Runs CodeQL
|
||||
uses: github/codeql-action/analyze@v2
|
|
@ -0,0 +1,34 @@
|
|||
name: DevSkim Checker
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check-devskim:
|
||||
name: Checks and analyzes with DevSkim
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Pulls the repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Runs DevSkim
|
||||
uses: microsoft/devskim-action@v1
|
||||
with:
|
||||
should-scan-archives: false
|
||||
output-filename: devskim-results.sarif
|
||||
- name: Uploads scanning results
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
with:
|
||||
sarif_file: devskim-results.sarif
|
|
@ -1,45 +0,0 @@
|
|||
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'python' ]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
|
||||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
queries: security-extended
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
|
@ -1,33 +0,0 @@
|
|||
|
||||
name: "DevSkim"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: DevSkim
|
||||
uses: microsoft/devskim-action@v1
|
||||
with:
|
||||
should-scan-archives: false
|
||||
output-filename: devskim-results.sarif
|
||||
|
||||
- name: Upload scanning results
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
with:
|
||||
sarif_file: devskim-results.sarif
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
# Archai: Platform for Neural Architecture Search
|
||||
|
||||
[![License](https://img.shields.io/github/license/microsoft/archai)](https://github.com/microsoft/archai/blob/main/LICENSE)
|
||||
[![Issues](https://img.shields.io/github/issues/microsoft/archai)](https://github.com/microsoft/archai/issues)
|
||||
[![Latest release](https://img.shields.io/github/release/microsoft/archai)](https://github.com/microsoft/archai/releases)
|
||||
[![Latest release](https://img.shields.io/github/release/microsoft/archai?color=0E8A16)](https://github.com/microsoft/archai/releases)
|
||||
[![Commits since latest release](https://img.shields.io/github/commits-since/microsoft/archai/latest?color=FBCA04)](https://github.com/microsoft/archai/commits/master)
|
||||
[![Issues](https://img.shields.io/github/issues/microsoft/archai?color=FEF2C0)](https://github.com/microsoft/archai/issues)
|
||||
[![License](https://img.shields.io/github/license/microsoft/archai?color=EEEEEE)](https://github.com/microsoft/archai/blob/main/LICENSE)
|
||||
|
||||
**Archai** is a platform for Neural Network Search (NAS) that allows you to generate efficient deep networks for your applications. It offers the following advantages:
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT license.
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
10
setup.cfg
10
setup.cfg
|
@ -1,2 +1,12 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT license.
|
||||
|
||||
[flake8]
|
||||
max-line-length = 120
|
||||
extend-ignore = E111, E203, E402, E501, E722, F401, F403, F405, F407, W503, W504
|
||||
|
||||
[isort]
|
||||
profile = black
|
||||
|
||||
[metadata]
|
||||
description-file = README.md
|
21
setup.py
21
setup.py
|
@ -3,10 +3,22 @@
|
|||
|
||||
import setuptools
|
||||
|
||||
with open("README.md", "r", encoding='utf_8') as fh:
|
||||
long_description = fh.read()
|
||||
with open("README.md", "r", encoding="utf_8") as f:
|
||||
long_description = f.read()
|
||||
|
||||
install_requires=[
|
||||
'pystopwatch2',
|
||||
'hyperopt',
|
||||
'tensorwatch>=0.9.1', 'tensorboard',
|
||||
'pretrainedmodels', 'tqdm', 'sklearn', 'matplotlib', 'psutil',
|
||||
'requests', 'seaborn', 'h5py', 'rarfile',
|
||||
'gorilla', 'pyyaml', 'overrides==3.1.0', 'runstats', 'psutil', 'statopt',
|
||||
'pyunpack', 'patool', 'ray>=1.0.0', 'Send2Trash',
|
||||
'transformers', 'pytorch_lightning', 'tokenizers', 'datasets',
|
||||
'ftfy', # needed for text scoring, fixes text for you
|
||||
# nvidia transformer-xl
|
||||
'nv-dllogger' # same as dllogger, but PyPI installabled
|
||||
'pytorch-transformers', 'sacremoses', 'pynvml',
|
||||
'hyperopt', 'gorilla', 'ray>=1.0.0', 'sklearn',
|
||||
'tensorboard', 'tensorwatch>=0.9.1', 'tqdm',
|
||||
'kaleido', 'matplotlib', 'plotly', 'seaborn',
|
||||
|
@ -15,14 +27,11 @@ install_requires=[
|
|||
'datasets', 'sacremoses', 'tokenizers>=0.10.3', 'transformers>=4.20.1',
|
||||
'onnx==1.10.2', 'onnxruntime==1.10.0',
|
||||
'coloredlogs', 'sympy', 'ftfy', # needed for text predict, fixes text for you
|
||||
'dllogger @ git+https://github.com/NVIDIA/dllogger.git',
|
||||
]
|
||||
|
||||
setuptools.setup(
|
||||
name="archai",
|
||||
version="0.6.0",
|
||||
author="Shital Shah, Debadeepta Dey",
|
||||
author_email="shitals@microsoft.com, dedey@microsoft.com",
|
||||
version="0.6.5",
|
||||
description="Research platform for Neural Architecture Search",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
|
|
Загрузка…
Ссылка в новой задаче