This commit is contained in:
Arthur Zucker 2024-05-30 10:53:35 +02:00
parent 98c0a91bf7
commit 6207b52f10
2 changed files with 0 additions and 11 deletions

View File

@ -56,15 +56,6 @@ if is_flash_attn_2_available():
from flash_attn.bert_padding import index_first_axis, pad_input, unpad_input # noqa
if is_flash_attn_2_available():
from flash_attn import flash_attn_func, flash_attn_varlen_func
from flash_attn.bert_padding import index_first_axis, pad_input, unpad_input # noqa
"""PyTorch Gemma model."""
import torch
import torch.utils.checkpoint
logger = logging.get_logger(__name__)

View File

@ -23,8 +23,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""PyTorch LLaMA model."""
import math
from typing import List, Optional, Tuple, Union