Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Kernel Library for LLM Serving ❤️ PaddlePadddle
>
> ```python
> import paddle
> paddle.compat.enable_torch_proxy(scope={"flashinfer"}) # Enable torch proxy before importing flashinfer
> paddle.enable_compat(scope={"flashinfer"}) # Enable torch proxy before importing flashinfer
> import flashinfer
> # use flashinfer
> ```
Expand Down
2 changes: 1 addition & 1 deletion tests/attention/test_attention_sink_blackwell.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import paddle

paddle.compat.enable_torch_proxy()
paddle.enable_compat()
import einops
import pytest
import torch
Expand Down
2 changes: 1 addition & 1 deletion tests/comm/test_trtllm_allreduce_fusion_paddle.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def kernel(workspace_tensor, rank, world_size):

def _run_simple_worker(world_size, rank, distributed_init_port):
# Create workspace
# paddle.compat.enable_torch_proxy()
# paddle.enable_compat()
# Set all required environment variables
os.environ["FLAGS_SELECTED_GPUS"] = str(rank) # Key: set GPU ID
os.environ["PADDLE_TRAINER_ID"] = str(rank)
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import paddle

paddle.compat.enable_torch_proxy()
paddle.enable_compat()
import pytest
import torch
# from torch.torch_version import TorchVersion
Expand Down
2 changes: 1 addition & 1 deletion tests/moe/test_trtllm_gen_fused_moe.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import paddle

paddle.compat.enable_torch_proxy()
paddle.enable_compat()
import functools
from typing import Tuple
from abc import ABC, abstractmethod
Expand Down
Loading