apex
apex copied to clipboard
A PyTorch Extension: Tools for easy mixed precision and distributed training in Pytorch
command "pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./" error log: "DEPRECATION: --build-option and --global-option are deprecated. pip 24.0 will enforce this behaviour change. A possible replacement is to use...
**Describe the Bug** Apex installation fails. (rei) ecust@ecust:~ EVA/EVA-CLIP/apex$ pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation--config-settings"--build-option=--cpp ext"--config-settings" --build-option=--cuda_ext" ./ Using pip 23.3.2 from /home/ecust/1TSSD/anaconda3/envs/rei/lib/python3.8/site-packages/pip (python 3.8)rocessing /home/ecust/EVA/EVA-CLIP/apexRunning command Preparing metadata (pyproject.toml)...
**Describe the Bug** **Minimal Steps/Code to Reproduce the Bug** **Expected Behavior** **Environment**
**Describe the Bug** after I install apex, "import apex.contrib.multihead_attn"produce this bug **Minimal Steps/Code to Reproduce the Bug** 1. just install apex by using this command:`pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation...
ERROR: Could not build wheels for apex, which is required to install pyproject.toml-based projects
Building wheel for apex (setup.py) ... error ERROR: Failed building wheel for apex Running setup.py clean for apex Running command python setup.py clean torch.__version__ = 1.8.1+cu101 Compiling cuda extensions with...
**Describe the Bug** Currently I want to build the latest apex from source for the nightly pytorch (2.1.0, commit id 3817de5d840bdff3f11ee23782494b5a13ae2001) . I run the following command ``` python3 -m...
When I execute the following python code, I don’t know why a kernel like CUDAFunctor_add appears. `import torch from apex.normalization import MixedFusedRMSNorm datatype = torch.bfloat16 input = torch.randn([1024, 8192], dtype=datatype).cuda()...
Python 3.8.5 torch 2.0.0+cu118 CUDA 11.8 CUDNN 8.8 install by follow python setup.py install --cuda_ext --cpp_ext report: > D:/Users/1/AppData/Local/Programs/Python/Python38/lib/site-packages/torch/include\c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero detected during:...
If you don't have `ninja` installed (`pip install ninja`), the build will give a warning saying the build is faster with it. But this is easily lost in the output....
Traceback (most recent call last): File "/root/anaconda3/envs/distbert/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/root/anaconda3/envs/distbert/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/root/anaconda3/envs/distbert/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File...