Skip to content

Conversation

@WeiweiZhang1
Copy link
Contributor

add trust_remote_code for eval_042,
example bugfix,
enable amp quant_layer of cpu device

Signed-off-by: Zhang, Weiwei1 <weiwei1.zhang@intel.com>
@WeiweiZhang1 WeiweiZhang1 requested a review from wenhuach21 June 19, 2024 02:48
block, current_input_ids, current_input_others, self.amp, self.amp_dtype, device
)
if self.amp and not check_is_cpu(device):
if self.amp:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amp should be false if cpu does not support bf16

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amp should be false if cpu does not support bf16

this is done in the set_amp_dtype()

@wenhuach21
Copy link
Contributor

change the title

@wenhuach21 wenhuach21 self-requested a review June 19, 2024 04:06
@WeiweiZhang1 WeiweiZhang1 changed the title bugfix example_bugfix Jun 19, 2024
@WeiweiZhang1 WeiweiZhang1 merged commit 31c566c into main Jun 20, 2024
@WeiweiZhang1 WeiweiZhang1 deleted the example_bugfix branch June 20, 2024 01:24
attafosu pushed a commit to attafosu/auto-round that referenced this pull request Jul 23, 2024
Signed-off-by: Zhang, Weiwei1 <weiwei1.zhang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants