[Public release 26/04] Introducing Mega MoE, FP4 Indexer and other features/fixes (#304)
* Merge with private repo * Update README * Update README * Update README * Add PyTorch requirements * Fix sync scopes for MQA logits (#256) * Update README
This commit is contained in:
3
setup.py
3
setup.py
@@ -68,7 +68,7 @@ def get_package_version():
|
||||
|
||||
cmd = ['git', 'rev-parse', '--short', 'HEAD']
|
||||
revision = '+' + subprocess.check_output(cmd).decode('ascii').rstrip()
|
||||
except (subprocess.CalledProcessError, FileNotFoundError, OSError):
|
||||
except Exception:
|
||||
revision = '+local'
|
||||
return f'{public_version}{revision}'
|
||||
|
||||
@@ -172,6 +172,7 @@ class CachedWheelsCommand(_bdist_wheel):
|
||||
|
||||
wheel_url, wheel_filename = get_wheel_url()
|
||||
print(f'Try to download wheel from URL: {wheel_url}')
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
with urllib.request.urlopen(wheel_url, timeout=1) as response:
|
||||
with open(wheel_filename, 'wb') as out_file:
|
||||
|
||||
Reference in New Issue
Block a user